iWMMXt Linux EABI cross toolchain (an update)
Steven Newbury
s_j_newbury@yahoo.co.uk
Sun Mar 19 00:22:00 GMT 2006
After taking a little break to work on other things I've made a lot of progress
getting this to work, although I'm not there yet.
My stage1 gcc build is/was ok both for trunk (4.2.0) and 4.1.0. However to get
glibc to build with NPTL I had to overide a couple of configure tests since
they were attempting to link against crti.o which hadn't yet been built:
libc_cv_c_cleanup=yes libc_cv_forced_unwind=yes
So I now have glibc 2.4 built with NPTL/TLS support for
arm-iwmmxt-linux-gnueabi, time to rebuild the compiler:
After doing well it fails linking libgcc:
bpabi_s.o libgcc/./unaligned-funcs_s.o libgcc/./unwind-arm_s.o
libgcc/./libunwind_s.o libgcc/./pr-support_s.o libgcc/./unwind-c_s.o -lc && rm
-f ./libgcc_s.so && if [ -f ./libgcc_s.so.1 ]; then mv -f ./libgcc_s.so.1
./libgcc_s.so.1.backup; else true; fi && mv ./libgcc_s.so.1.tmp ./libgcc_s.so.1
&& ln -s libgcc_s.so.1 ./libgcc_s.so
libgcc/./_addsub_sf_s.o: In function
`__subsf3':/var/tmp/portage/gcc-4.2.0_alpha20060317/work/build/gcc/fp-bit.c:766:
multiple definition of `__subsf3'
libgcc/./_addsubsf3_s.o:/var/tmp/portage/gcc-4.2.0_alpha20060317/work/gcc-4.2-20060317/gcc/config/arm/ieee754-sf.S:64:
first defined here
/usr/arm-iwmmxt-linux-gnueabi/bin/ld: Warning: size of symbol `__subsf3'
changed from 404 in libgcc/./_addsubsf3_s.o to 88 in libgcc/./_addsub_sf_s.o
libgcc/./_addsub_sf_s.o: In function
`__addsf3':/var/tmp/portage/gcc-4.2.0_alpha20060317/work/build/gcc/fp-bit.c:746:
multiple definition of `__addsf3'
libgcc/./_addsubsf3_s.o:/var/tmp/portage/gcc-4.2.0_alpha20060317/work/gcc-4.2-20060317/gcc/config/arm/ieee754-sf.S:73:
first defined here
/usr/arm-iwmmxt-linux-gnueabi/bin/ld: Warning: size of symbol `__addsf3'
changed from 400 in libgcc/./_addsubsf3_s.o to 76 in libgcc/./_addsub_sf_s.o
libgcc/./_mul_sf_s.o: In function `__mulsf3':/var/tmp/portage/
...etc
I've been staring at this for too long; obviously something is getting wrongly
included somewhere or isn't properly defined for the ieee754... it could be
something I've done.. I have had to "fix" a few things as I've gone along...
...anybody??
Steve
___________________________________________________________
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list