This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Yann, Hi All, Thank you very much for Yann's hint. I found that the verson of libtool using by gentool linux "emerge libtool" is too old for use. Aftered installed the latest version of libtool. I solved the "Extracting and patching toolchain components" problem . When building the crosstool-ng, I found a new error of "Installing final compiler". According to the "build.log". It seem that the file "unwind-dw2.c" can't be compile. How to slove this problem ? /****** build.log begin ******/ [ALL ] /usr/local/crosstool-ng/current/bin/targets/arm-unknown-linux-gnu/build/build-cc/./gcc/xgcc -B/usr/local/crosstool-ng/current/bin/targets/arm-unknown-linux-gnu/build/build-cc/./gcc/ -B/usr/local/crosstool-ng/build/arm-unknown-linux-gnu/bin/ -B/usr/local/crosstool-ng/build/arm-unknown-linux-gnu/lib/ -isystem /usr/local/crosstool-ng/build/arm-unknown-linux-gnu/include -isystem /usr/local/crosstool-ng/build/arm-unknown-linux-gnu/sys-include -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fomit-frame-pointer -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I/usr/local/crosstool-ng/current/bin/targets/src/gcc-4.3.1/libgcc -I/usr/local/crosstool-ng/current/bin/targets/src/gcc-4.3.1/libgcc/. -I/usr/local/crosstool-ng/current/bin/targets/src/gcc-4.3.1/libgcc/../gcc -I/usr/local/crosstool-ng/current/bin/targets/src/gcc-4.3.1/libgcc/../include -DHAVE_CC_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c /usr/local/crosstool-ng/current/bin/targets/src/gcc-4.3.1/libgcc/../gcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS [ALL ] /usr/local/crosstool-ng/current/bin/targets/src/gcc-4.3.1/libgcc/../gcc/unwind-dw2.c: In function 'init_dwarf_reg_size_table': [ERROR] /usr/local/crosstool-ng/current/bin/targets/src/gcc-4.3.1/libgcc/../gcc/unwind-dw2.c:1413: internal compiler error: in arm_dbx_register_number, at config/arm/arm.c:18199 [ALL ] Please submit a full bug report, [ALL ] with preprocessed source if appropriate. [ALL ] See <http://gcc.gnu.org/bugs.html> for instructions. [ALL ] make[3]: *** [unwind-dw2.o] Error 1 [ALL ] make[3]: Leaving directory `/usr/local/crosstool-ng/current/bin/targets/arm-unknown-linux-gnu/build/build-cc/arm-unknown-linux-gnu/libgcc' [ALL ] make[2]: *** [all-target-libgcc] Error 2 [ALL ] make[2]: Leaving directory `/usr/local/crosstool-ng/current/bin/targets/arm-unknown-linux-gnu/build/build-cc' [ALL ] make[1]: *** [all] Error 2 [ALL ] make[1]: Leaving directory `/usr/local/crosstool-ng/current/bin/targets/arm-unknown-linux-gnu/build/build-cc' [ERROR] Build failed in step 'Installing final compiler' [ERROR] Error happened in '/usr/local/crosstool-ng/current//lib/ct-ng-1.2.0+svn_trunk@951/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry) [ERROR] called from '/usr/local/crosstool-ng/current//lib/ct-ng-1.2.0+svn_trunk@951/scripts/build/cc_gcc.sh' at line # 265 in function 'do_cc' [ERROR] called from '/usr/local/crosstool-ng/current//lib/ct-ng-1.2.0+svn_trunk@951/scripts/crosstool.sh' at line # 413 in function 'main' [ERROR] Look at '/usr/local/crosstool-ng/build/build.log' for more info on this error. [ERROR] (elapsed: 47:03.36) /****** build.log end ******/ My host : Gentoo 2.6.24-gentoo-r8 My build env : crosstool-ng@951 binutils-2.18.50.0.8 dmalloc-5.5.2 duma-2_5_14 gcc-4.3.1 gdb-6.8 glibc-2.7 gmp-4.2.2 linux-2.6.26.2 ncurses-5.6 sstrip.c strace-4.5.16 Regards, tao. 19 AUG 2008 -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |