[Clfs-support] Linkage error when making uClibc-0.9.31

Andrew Bradford bradfa at gmail.com
Fri Apr 1 06:00:02 PDT 2011


On Fri, Apr 1, 2011 at 7:43 AM, Andrew Bradford <bradfa at gmail.com> wrote:
> My guess right now is passing an empty --with-fpu= could be the
> culprit.

This is not the culprit.  --with-fpu should simply get ignored if not
using "softfp" or "hard" floating point support.

I found some patches that might help, one from OpenWRT relating to arm
uClibc softfloat on GCC 4.5.1:
https://dev.openwrt.org/browser/trunk/toolchain/gcc/patches/4.5.1/810-arm-softfloat-libgcc.patch?rev=22450

Another that looks basically the same from a developer on BusyBox but
is listed for GCC 4.4.2:
http://busybox.net/~aldot/gcc/4.4.2/810-arm-softfloat-libgcc.patch

Not sure exactly what they do, yet.  But worth looking at to see if it
helps.  If they work and you understand what they change, let me know,
I'm curious to learn.  I'll try them out next week when I have some
time and see if I can determine why they help / don't help.

I've also got an update to GCC 4.6.0 in my git repo for the embedded
book.  I'll take a look at that, too, to see if it fixes this or
produces the same problem.

-Andrew



More information about the Clfs-support mailing list