Armhf dynamic linker path
mans.rullgard at linaro.org
Wed May 2 13:06:54 UTC 2012
On 2 May 2012 13:42, Richard Earnshaw <rearnsha at arm.com> wrote:
> On 02/05/12 13:25, Mans Rullgard wrote:
>> On 2 May 2012 05:15, Michael Hope <michael.hope at linaro.org> wrote:
>>> On 27 April 2012 11:59, Michael Hope <michael.hope at linaro.org> wrote:
>>>> On 23 April 2012 14:23, Jon Masters <jcm at redhat.com> wrote:
>>>>> On 04/22/2012 06:06 PM, Michael Hope wrote:
>>>>>> On 21 April 2012 09:10, Jon Masters <jcm at redhat.com> wrote:
>>>>>>> Hey everyone,
>>>>>>> Following up here. Where do we stand? We need to have upstream patches
>>>>>>> before we can pull them into the distro - is that piece done?
>>>>>> Hi Jon. I've been away, sorry. I've just sent the GCC patch and
>>>>>> Carlos is on the hook for the GLIBC side.
>>>>> I saw the email. Could folks do me a favor and let me know the moment
>>>>> this lands in upstream and I'll arrange for us to pull it immediately.
>>>>> (I'm on all the libc lists, but then I'm on almost every list,
>>>>> everywhere, so it takes a bit of time to get to it)
>>>> Hi Jon. There's a fault with the GCC patch so it's still in progress.
>>>> Carlos sent the GLIBC patch out for review today.
>>> Hi Jon. The GCC patch is now upstream as r186859 and r187012.
>> I noticed that it now sets the dynamic loader to /lib/ld-linux-armhf.so.3
>> even when configured for soft-float ABI and linking against a soft-float
>> rootfs. The resulting binaries then fail to run. Passing -mfloat-abi=softfp
>> to the link command fixes it. Is this change in behaviour intentional?
> Eh? Exactly what command line did you invoke the compiler with, and
> what was the configuration? Are you sure you don't have a compiler
> configured to hard-float by default?
It happens even with the simplest possible "arm-linux-gnueabi-gcc
The compiler is definitely using the soft-float ABI.
Output of -v:
Using built-in specs.
--build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point
--without-ppl --without-cloog --enable-lto --disable-nls
--with-system-zlib --disable-werror --enable-secureplt
--enable-multilib --disable-libmudflap --disable-libssp
--enable-checking=release --disable-libgcj --disable-libquadmath
--disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.8.0 20120429 (experimental) (Gentoo 4.8.0_alpha20120429)
Mans Rullgard / mru
More information about the linaro-toolchain