Lixin Song
2008-Oct-20 02:35 UTC
[klibc] problems when compiling klibc: EABI version error
Dear all, I am using initramfs and from the kernel document, I know klibc. So i decide to use it. We are working on marvell pxa310 (bought from Intel), and with the tools chain from marvell, I comple klibc as follows: klibc-1.5> ln -s /home/zjujoe/svn/mhlv_2.6/working/songlixin/20081007_kernel_tflashupdate/ linux klibc-1.5>cat 1.sh export KLIBCARCH=arm export CROSS_COMPILE=arm-iwmmxt-linux-gnueabi- klibc-1.5>. ./1.sh klibc-1.5>make KLIBCCC usr/klibc/__static_init.o KLIBCCC usr/klibc/vsnprintf.o ? LIST usr/klibc/syscalls/klib.list LIST usr/klibc/klib.list KLIBCAR usr/klibc/libc.a KLIBCLD usr/klibc/libc.so arm-iwmmxt-linux-gnueabi-ld: ERROR: Source object /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_udivsi3.o) has EABI version 4, but target usr/klibc/libc.so has EABI version 0 arm-iwmmxt-linux-gnueabi-ld: failed to merge target specific data of file /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_udivsi3.o) arm-iwmmxt-linux-gnueabi-ld: ERROR: Source object /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_divsi3.o) has EABI version 4, but target usr/klibc/libc.so has EABI version 0 arm-iwmmxt-linux-gnueabi-ld: failed to merge target specific data of file /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_divsi3.o) arm-iwmmxt-linux-gnueabi-ld: ERROR: Source object /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_umodsi3.o) has EABI version 4, but target usr/klibc/libc.so has EABI version 0 arm-iwmmxt-linux-gnueabi-ld: failed to merge target specific data of file /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_umodsi3.o) arm-iwmmxt-linux-gnueabi-ld: ERROR: Source object /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_dvmd_lnx.o) has EABI version 4, but target usr/klibc/libc.so has EABI version 0 arm-iwmmxt-linux-gnueabi-ld: failed to merge target specific data of file /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_dvmd_lnx.o) make[2]: *** [usr/klibc/libc.so] Error 1 make[1]: *** [all] Error 2 make: *** [klibc] Error 2 I tried the comple in scratchbox with gcc: sbox-arm-linux-gcc (GCC) 3.4.4 (release) (CodeSourcery ARM 2005q3-2), but got similiar errors. Best Regards, Lixin Song -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.zytor.com/pipermail/klibc/attachments/20081020/ea027732/attachment.html