This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH roland/arm] ARM: Clean up EABI-related configury
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Wed, 16 Jul 2014 21:01:20 +0000
- Subject: Re: [PATCH roland/arm] ARM: Clean up EABI-related configury
- Authentication-results: sourceware.org; auth=none
- References: <20140704014928 dot 435BC2C3988 at topped-with-meat dot com>
On Thu, 3 Jul 2014, Roland McGrath wrote:
> Now that pre-EABI is no longer supported, new toolchains are starting to be
> built using tuples arm-linux* rather than arm-linux*eabi*. e.g. Fedora's
> cross tools use arm-linux-gnu.
That's clearly a broken way to configure such tools. arm-linux-gnu has
well-defined semantics (old-ABI) which aren't changed by some tools no
longer supporting old-ABI; the semantics of any GNU triplet are meant to
be stable over time.
> Also, there was a lopsided situation where sysdeps/arm/ already assume EABI
> stuff but configure was doing some of the EABI-related magic only for Linux
> configurations. Now sysdeps/arm/{pre,}configure require, check for, and
> cater to, EABI support universally for any ARM configuration.
>
> This makes a cross-build on Fedora for --host=arm-linux-gnu succeed where
> before it did not.
>
> OK?
This is OK (minus the sysdeps/microblaze/nptl/tls.h change, which doesn't
belong in this patch), on the general principle of preferring detection of
how the compiler actually behaves to anything involving matching patterns
on host triplets.
--
Joseph S. Myers
joseph@codesourcery.com