Trying to build for armeb-unknown-linux-uclibcgnueabi

razor950 razor950@gmail.com
Tue Oct 20 13:02:00 GMT 2009


I am using uClibc 0.9.29 and a specific kernel 2.6.18, both are
customized for the device I am targeting. I get to the final step
where its building the compiler but I am getting these errors and not
sure why.

[ALL  ]    /home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/./gcc/xgcc
-B/home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/./gcc/
-B/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/bin/
-B/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/lib/
-isystem /home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/include
-isystem /home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/sys-include
-O2  -g -Os -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs
-Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/./libgcc.map -o
./libgcc_s.so.1.tmp  libgcc/./_udivsi3_s.o libgcc/./_divsi3_s.o
libgcc/./_umodsi3_s.o libgcc/./_modsi3_s.o libgcc/./_bb_init_func_s.o
libgcc/./_call_via_rX_s.o libgcc/./_interwork_call_via_rX_s.o
libgcc/./_lshrdi3_s.o libgcc/./_ashrdi3_s.o libgcc/./_ashldi3_s.o
libgcc/./_negdf2_s.o libgcc/./_addsubdf3_s.o libgcc/./_muldivdf3_s.o
libgcc/./_cmpdf2_s.o libgcc/./_unorddf2_s.o libgcc/./_fixdfsi_s.o
libgcc/./_fixunsdfsi_s.o libgcc/./_truncdfsf2_s.o libgcc/./_negsf2_s.o
libgcc/./_addsubsf3_s.o libgcc/./_muldivsf3_s.o libgcc/./_cmpsf2_s.o
libgcc/./_unordsf2_s.o libgcc/./_fixsfsi_s.o libgcc/./_fixunssfsi_s.o
libgcc/./_floatdidf_s.o libgcc/./_floatdisf_s.o
libgcc/./_floatundidf_s.o libgcc/./_floatundisf_s.o
libgcc/./_aeabi_lcmp_s.o libgcc/./_aeabi_ulcmp_s.o
libgcc/./_aeabi_ldivmod_s.o libgcc/./_aeabi_uldivmod_s.o
libgcc/./_dvmd_lnx_s.o libgcc/./_muldi3_s.o libgcc/./_negdi2_s.o
libgcc/./_cmpdi2_s.o libgcc/./_ucmpdi2_s.o libgcc/./_clear_cache_s.o
libgcc/./_enable_execute_stack_s.o libgcc/./_trampoline_s.o
libgcc/./__main_s.o libgcc/./_absvsi2_s.o libgcc/./_absvdi2_s.o
libgcc/./_addvsi3_s.o libgcc/./_addvdi3_s.o libgcc/./_subvsi3_s.o
libgcc/./_subvdi3_s.o libgcc/./_mulvsi3_s.o libgcc/./_mulvdi3_s.o
libgcc/./_negvsi2_s.o libgcc/./_negvdi2_s.o libgcc/./_ctors_s.o
libgcc/./_ffssi2_s.o libgcc/./_ffsdi2_s.o libgcc/./_clz_s.o
libgcc/./_clzsi2_s.o libgcc/./_clzdi2_s.o libgcc/./_ctzsi2_s.o
libgcc/./_ctzdi2_s.o libgcc/./_popcount_tab_s.o
libgcc/./_popcountsi2_s.o libgcc/./_popcountdi2_s.o
libgcc/./_paritysi2_s.o libgcc/./_paritydi2_s.o libgcc/./_powisf2_s.o
libgcc/./_powidf2_s.o libgcc/./_powixf2_s.o libgcc/./_powitf2_s.o
libgcc/./_mulsc3_s.o libgcc/./_muldc3_s.o libgcc/./_mulxc3_s.o
libgcc/./_multc3_s.o libgcc/./_divsc3_s.o libgcc/./_divdc3_s.o
libgcc/./_divxc3_s.o libgcc/./_divtc3_s.o libgcc/./_fixunsxfsi_s.o
libgcc/./_fixsfdi_s.o libgcc/./_fixunssfdi_s.o libgcc/./_fixdfdi_s.o
libgcc/./_fixunsdfdi_s.o libgcc/./_fixxfdi_s.o
libgcc/./_fixunsxfdi_s.o libgcc/./_floatdixf_s.o
libgcc/./_floatundixf_s.o libgcc/./_fixtfdi_s.o
libgcc/./_fixunstfdi_s.o libgcc/./_floatditf_s.o
libgcc/./_floatunditf_s.o libgcc/./_divdi3_s.o libgcc/./_moddi3_s.o
libgcc/./_udivdi3_s.o libgcc/./_umoddi3_s.o libgcc/./_udiv_w_sdiv_s.o
libgcc/./_udivmoddi4_s.o 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

[ALL  ]    /home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi//sys-root/lib/libc.so.0:
could not read symbols: File in wrong format
[ALL  ]    collect2: ld returned 1 exit status

[ERROR]    make[5]: *** [libgcc_s.so] Error 1
[ALL  ]    make[5]: *** Waiting for unfinished jobs....
[ALL  ]    make[5]: Leaving directory
`/home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/gcc'

[ERROR]    make[4]: *** [stmp-multilib] Error 2
[ALL  ]    make[4]: Leaving directory
`/home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/gcc'
[ERROR]    make[3]: *** [all-gcc] Error 2

[ALL  ]    make[3]: Leaving directory
`/home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc'
[ERROR]    make[2]: *** [all] Error 2
[ALL  ]    make[2]: Leaving directory
`/home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc'


if I do the file command on libc.so.0 it points to libuClibc.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list