problem building toolchain with uclibc
Amir Tsvitov
amir.tsvitov@percello.com
Thu Feb 12 04:42:00 GMT 2009
Hello,
After successfully building a mips cross toolchain with glibc I tried to build with uclibc (binutils 2.19, gcc 4.2.0, uclibc 0.9.30). The build fails in the final step with the error attached below. I tried several configuration options but always get the same result.
Can anyone give me a clue to what I'm doing wrong?
Thanks,
Amir
…
…
./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 ] /opt/percello/toolchain/mipsel-uclibc/mipsel-percello-linux-uclibc/bin/ld: non-dynamic relocations refer to dynamic symbol pthread_mutex_unlock
[ALL ] /opt/percello/toolchain/mipsel-uclibc/mipsel-percello-linux-uclibc/bin/ld: failed to set dynamic section sizes: Bad value
[ALL ] collect2: ld returned 1 exit status
[ERROR] make[4]: *** [libgcc_s.so] Error 1
[ALL ] make[4]: Leaving directory `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-uclibc/build/build-cc/gcc'
[ERROR] make[3]: *** [libgcc.a] Error 2
[ALL ] make[3]: Leaving directory `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-uclibc/build/build-cc/gcc'
[ERROR] make[2]: *** [all-gcc] Error 2
[ALL ] make[2]: Leaving directory `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-uclibc/build/build-cc'
[ERROR] make[1]: *** [all] Error 2
[ALL ] make[1]: Leaving directory `/opt/percello/crosstool/bin/targets/mipsel-percello-linux-uclibc/build/build-cc'
[ERROR] Build failed in step 'Installing final compiler'
[ERROR] Error happened in '/opt/percello/crosstool//lib/ct-ng-1.3.2/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/opt/percello/crosstool//lib/ct-ng-1.3.2/scripts/build/cc/gcc.sh' at line # 293 in function 'do_cc'
[ERROR] called from '/opt/percello/crosstool//lib/ct-ng-1.3.2/scripts/crosstool.sh' at line # 464 in function 'main'
[ERROR] Look at '/opt/percello/toolchain/mipsel-uclibc/build.log' for more info on this error.
[ERROR] (elapsed: 21:26.84)
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list