[uClibc] toolchain SOFT_FLOAT

Bryan Larsen bryan.larsen at lumenera.com
Mon Jul 12 18:30:50 UTC 2004


> The arm soft float case is special.  I haven't looked at it in a while,
> but had planned to this week while doing gcc 3.4.1 related updates.
>

It sounds like you're the proper recipient of this error message then:

/opt/toolchain.nofpu/gcc-3.3.x/toolchain_arm_nofpu/bin/arm-linux-uclibc-ld -EL -s -shared --warn-common --warn-once -z combreloc  -soname=libc.so.0 -o libuClibc-0.9.26.so \
        --whole-archive libc.a \
        ../libc/misc/internals/interp.o --no-whole-archive \
        -init __uClibc_init
/opt/toolchain.nofpu/gcc-3.3.x/toolchain_arm_nofpu/lib/gcc-lib/arm-linux-uclibc/3.3.4/libgcc.a -lfloat
/opt/toolchain.nofpu/gcc-3.3.x/toolchain_arm_nofpu/bin/../lib/libfloat.a(fplib_glue.o)(.text+0x298): In function `__fixunsdfsi':
: multiple definition of `__fixunsdfsi'
/opt/toolchain.nofpu/gcc-3.3.x/toolchain_arm_nofpu/lib/gcc-lib/arm-linux-uclibc/3.3.4/libgcc.a(_fixunsdfsi.o)(.text+0x0): first defined here
/opt/toolchain.nofpu/gcc-3.3.x/toolchain_arm_nofpu/bin/arm-linux-uclibc-ld: Warning: size of symbol `__fixunsdfsi' changed from 100 in /opt/toolchain.nofpu/gcc-3.3.x/toolchain_arm_nofpu/lib/gcc-lib/arm-linux-uclibc/3.3.4/libgcc.a(_fixunsdfsi.o) to 24 in /opt/toolchain.nofpu/gcc-3.3.x/toolchain_arm_nofpu/lib/gcc-lib/arm-linux-uclibc/3.3.4/libgcc.a(_fixunsdfsi.o)
make[2]: *** [shared] Error 1
make[2]: Leaving directory
`/opt/toolchain.nofpu/gcc-3.3.x/toolchain_build_arm_nofpu/uClibc/libc'
make[1]: *** [shared] Error 2
make[1]: Leaving directory
`/opt/toolchain.nofpu/gcc-3.3.x/toolchain_build_arm_nofpu/uClibc'
make: ***
[/opt/toolchain.nofpu/gcc-3.3.x/toolchain_build_arm_nofpu/uClibc/lib/libc.a] Error 2

I was able to successfully build a toolchain using the buildroot scripts
on Friday, so this error is funny.  I have not yet verified that the
toolchain I built on Friday is valid: I got a "could not load init"
message.  Maybe I just didn't fully clean my tree before recompiling
with the SOFT_FLOAT tree: I'm going to keep trying.

Bryan






More information about the uClibc mailing list