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: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Richard Earnshaw <rearnsha at arm dot com>, "GNU C. Library" <libc-alpha at sourceware dot org>, dhowells at redhat dot com
- Date: Wed, 16 Jul 2014 12:39:14 +0100
- 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> <53B6A1E2 dot 4060401 at arm dot com> <CAJA7tRbpbHki6Ew1OMnMTDvKDmNjnE=QiEstMNx25oHukGniZQ at mail dot gmail dot com> <20140704192026 dot 7666E2C39B8 at topped-with-meat dot com>
- Reply-to: ramrad01 at arm dot com
On Fri, Jul 4, 2014 at 8:20 PM, Roland McGrath <roland@hack.frob.com> wrote:
> I think what you are both missing is that glibc already doesn't support the
> old ABI. The only difference here is whether it insists that the tuple
> contain "gnueabi" or whether it simply insists that the compiler set
> __ARM_EABI__.
It's taken me a while to get back to this but better late than never.
The check for __ARM_EABI__ is going to be more robust and looks reasonable
After a chat with David Howells who maintains the cross gcc and cross
binutils packages in Fedora I've realized that the reason for my
confusion seems to be that the program prefix on Fedora is
arm-linux-gnu but the target is actually arm-linux-gnueabi :(. I don't
have a cross toolchain to hand to verify this myself but from the
output I've seen[1], this is probably the case.
I'm not sure if this is what you meant from your original post by :
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.
regards
Ramana
1.
$>arm-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/arm-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/arm-linux-gnueabi/4.9.0/lto-wrapper
Target: arm-linux-gnueabi