the current gcc-4.6/eglibc is now built multilib'd for -mfloat-abi=softfp|hard, including the GCC runtime libraries. I hope that the gcc cross builds will pick this up soonish, not needing to build the cross compiler twice for softfp and hard float-abi.
Matthias
On Fri, Jul 29, 2011, Matthias Klose wrote:
the current gcc-4.6/eglibc is now built multilib'd for -mfloat-abi=softfp|hard, including the GCC runtime libraries. I hope that the gcc cross builds will pick this up soonish, not needing to build the cross compiler twice for softfp and hard float-abi.
How does that actually work to select the runtime linker? I was looking into setting the --dynamic-linker from -mfloat-abi=* flags, but didn't manage to. Apparently, this is getting resolved for gcc 4.7, but I was curious how you dealt with this for gcc-4.6.
On Fri, Jul 29, 2011, Loïc Minier wrote:
How does that actually work to select the runtime linker? I was looking into setting the --dynamic-linker from -mfloat-abi=* flags, but didn't manage to. Apparently, this is getting resolved for gcc 4.7, but I was curious how you dealt with this for gcc-4.6.
http://lists.linaro.org/pipermail/linaro-toolchain/2011-March/000964.html is where I had brought this up
On 07/29/2011 03:22 PM, Loïc Minier wrote:
On Fri, Jul 29, 2011, Matthias Klose wrote:
the current gcc-4.6/eglibc is now built multilib'd for -mfloat-abi=softfp|hard, including the GCC runtime libraries. I hope that the gcc cross builds will pick this up soonish, not needing to build the cross compiler twice for softfp and hard float-abi.
How does that actually work to select the runtime linker? I was looking into setting the --dynamic-linker from -mfloat-abi=* flags, but didn't manage to. Apparently, this is getting resolved for gcc 4.7, but I was curious how you dealt with this for gcc-4.6.
It's not handled. So the only way is currently to use a LD_LIBRARY_PATH and non-conflicting command line options (which at least works for the currently built runtime libraries).
On 29.07.2011 15:16, Matthias Klose wrote:
the current gcc-4.6/eglibc is now built multilib'd for -mfloat-abi=softfp|hard, including the GCC runtime libraries. I hope that the gcc cross builds will pick this up soonish, not needing to build the cross compiler twice for softfp and hard float-abi.
Can you take a looks at bug 816852 [1] where I collected some patches which allow to build non-multilib cross compiler? Yesterday I uploaded packages built in old style (no multilib).
So far I was not able to build multilib cross compiler for armel (with armel and armhf cross libc6-dev installed).
1. https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/816852
linaro-toolchain@lists.linaro.org