From patchwork Fri Dec 15 16:58:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 24967 Received: (qmail 19205 invoked by alias); 15 Dec 2017 16:58:13 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 19194 invoked by uid 89); 15 Dec 2017 16:58:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 15 Dec 2017 16:58:06 +0000 From: Joseph Myers To: Subject: Correct build-many-glibcs.py arm-linux-gnueabihf configurations [committed] Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) The conventional configure triplet for ARM GNU/Linux with hard-float ABI is arm-*-linux-gnueabihf. However, GCC does not automatically use the hard-float ABI based on that triplet. This patch fixes build-many-glibcs.py to pass --with-float=hard so that the arm-linux-gnueabihf configurations actually build with the intended ABI. Tested building the affected configurations with build-many-glibcs.py. Committed. 2017-12-15 Joseph Myers * scripts/build-many-glibcs.py (Context.add_all_configs): Use --with-float=hard for arm-linux-gnueabihf configurations. diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 599e12e..5453000 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -175,17 +175,19 @@ class Context(object): gcc_cfg=['--with-arch=armv7-a']) self.add_config(arch='arm', os_name='linux-gnueabihf', + gcc_cfg=['--with-float=hard'], extra_glibcs=[{'variant': 'v7a', 'ccopts': '-march=armv7-a'}, {'variant': 'v7a-disable-multi-arch', 'ccopts': '-march=armv7-a', 'cfg': ['--disable-multi-arch']}]) self.add_config(arch='armeb', - os_name='linux-gnueabihf') + os_name='linux-gnueabihf', + gcc_cfg=['--with-float=hard']) self.add_config(arch='armeb', os_name='linux-gnueabihf', variant='be8', - gcc_cfg=['--with-arch=armv7-a']) + gcc_cfg=['--with-float=hard', '--with-arch=armv7-a']) self.add_config(arch='hppa', os_name='linux-gnu') self.add_config(arch='ia64',