glibc-2.3.2 xcompile for arm
Dan Kegel
dank@kegel.com
Sat Feb 14 16:49:00 GMT 2004
Kyle Unice wrote:
> Dan,
> Great... Your tool is excellent. It built the toolchain using sh-x
> ./demo-softfloat-arm.sh.
>
> I did get the following error when building uboot:
In future please set your email client to not wrap, or to wrap at 255 columns,
when sending logs. Also, please paste part of the real log, not a screen scrape of
it. It is hard to read doubly wrapped logs.
> arm-linux-ld -Bstatic -T /home/kyle/u-boot-1.0.0/board/lubbock/u-boot.lds -Ttext 0xa3000000 $UNDEF_SYM cpu/pxa/start.o \
> --start-group board/lubbock/liblubbock.a cpu/pxa/libpxa.a
> lib_arm/libarm.a fs/jffs2/libjffs2.a fs/fdos/libfdos.a fs/fat/libfat.a
> net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a
> drivers/sk98lin/libs
> k98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a
> lib_generic/libgeneric.a -L
> /opt/crosstoolsf/arm-softfloat-linux-gnu/gcc-3.3.2-glibc-2.3.2/lib/gcc-lib/arm-softfloat-linux-gnu/3.3.2 -lgcc --end-group \
> -Map u-boot.map -o u-boot
>
> arm-linux-ld: ERROR: .../gcc-lib/arm-softfloat-linux-gnu/3.3.2/libgcc.a(_udivsi3.oS) uses FPA instructions, whereas u-boot does not
> arm-linux-ld: ERROR: .../gcc-lib/arm-softfloat-linux-gnu/3.3.2/libgcc.a(_udivsi3.oS) uses hardware FP, whereas u-boot uses software FP
> File in wrong format: failed to merge target specific data of file .../gcc-lib/arm-softfloat-linux-gnu/3.3.2/libgcc.a(_udivsi3.oS)
Sounds like you have a compile mismatch.
How'd you compile u-boot? When sending
logs like this, please include the configure line
for the app that's failing.
The latest ptxdist can link u-boot for softfp, have a look at that.
Also, be aware that printf("%f", 1.0) will fail on arm softfp at the
moment.
- Dan
--
US citizens: if you're considering voting for Bush, look at these first:
http://www.misleader.org/
http://www.cbc.ca/news/background/arar/
http://www.house.gov/reform/min/politicsandscience/
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list