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 all, after I do the build-binutils kernel-headers and the first glibc-headers, I compile the bootstrap-gcc,but after the configure: ../glibc-2.3.5/configure --target=$TARGET --prefix=$PREFIX --enable-languages=c and do make all-gcc there are errors,I have put the messages followed: arm-linux-ar rc ./libgcc.a libgcc/./_udivsi3.oS libgcc/./_divsi3.oS libgcc/./_umodsi3.oS libgcc/./_modsi3.oS libgcc/./_dvmd_lnx.oS libgcc/./_muldi3.oS libgcc/./_negdi2.oS libgcc/./_lshrdi3.oS libgcc/./_ashldi3.oS libgcc/./_ashrdi3.oS libgcc/./_cmpdi2.oS libgcc/./_ucmpdi2.oS libgcc/./_floatdidf.oS libgcc/./_floatdisf.oS libgcc/./_fixunsdfsi.oS libgcc/./_fixunssfsi.oS libgcc/./_fixunsdfdi.oS libgcc/./_fixdfdi.oS libgcc/./_fixunssfdi.oS libgcc/./_fixsfdi.oS libgcc/./_fixxfdi.oS libgcc/./_fixunsxfdi.oS libgcc/./_floatdixf.oS libgcc/./_fixunsxfsi.oS libgcc/./_fixtfdi.oS libgcc/./_fixunstfdi.oS libgcc/./_floatditf.oS libgcc/./_clear_cache.oS libgcc/./_enable_execute_stack.oS libgcc/./_trampoline.oS libgcc/./__main.oS libgcc/./_absvsi2.oS libgcc/./_absvdi2.oS libgcc/./_addvsi3.oS libgcc/./_addvdi3.oS libgcc/./_subvsi3.oS libgcc/./_subvdi3.oS libgcc/./_mulvsi3.oS libgcc/./_mulvdi3.oS libgcc/./_negvsi2.oS libgcc/./_negvdi2.oS libgcc/./_ctors.oS libgcc/./_ffssi2.oS libgcc/./_ffsdi2.oS libgcc/./_clz.oS libgcc/./_clzsi2.oS libgcc/./_clzdi2.oS libgcc/./_ctzsi2.oS libgcc/./_ctzdi2.oS libgcc/./_popcount_tab.oS libgcc/./_popcountsi2.oS libgcc/./_popcountdi2.oS libgcc/./_paritysi2.oS libgcc/./_paritydi2.oS libgcc/./_divdi3.oS libgcc/./_moddi3.oS libgcc/./_udivdi3.oS libgcc/./_umoddi3.oS libgcc/./_udiv_w_sdiv.oS libgcc/./_udivmoddi4.oS libgcc/./_eprintf.oS libgcc/./__gcc_bcmp.oS *** buffer overflow detected ***: arm-linux-ar terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x401266d8] /lib/tls/i686/cmov/libc.so.6[0x40124800] /lib/tls/i686/cmov/libc.so.6[0x40123ef8] /lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x40099a78] /lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008ce6d] /lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27b7)[0x4006e177] /lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0x40123fa4] /lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x40123eed] arm-linux-ar[0x8050f52] arm-linux-ar[0x804f10b] arm-linux-ar[0x8051c40] arm-linux-ar[0x8058fc8] arm-linux-ar[0x804ba65] arm-linux-ar[0x804c7a0] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40042685] arm-linux-ar[0x8049a61] ======= Memory map: ======== 08048000-080a3000 r-xp 00000000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a3000-080a4000 r--p 0005a000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a4000-080a5000 rw-p 0005b000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a5000-080a9000 rw-p 080a5000 00:00 0 08c89000-08e28000 rw-p 08c89000 00:00 0 [heap] 40000000-4001a000 r-xp 00000000 08:01 677342 /lib/ld-2.8.90.so 4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso] 4001b000-4001c000 r--p 0001a000 08:01 677342 /lib/ld-2.8.90.so 4001c000-4001d000 rw-p 0001b000 08:01 677342 /lib/ld-2.8.90.so 4001d000-4001f000 rw-p 4001d000 00:00 0 4001f000-40020000 r--p 00000000 08:01 539429 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 40020000-40027000 r--s 00000000 08:01 515105 /usr/lib/gconv/gconv-modules.cache 40027000-4002c000 rw-p 40027000 00:00 0 4002c000-40184000 r-xp 00000000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40184000-40186000 r--p 00158000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40186000-40187000 rw-p 0015a000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40187000-4018b000 rw-p 40187000 00:00 0 4018b000-401ca000 r--p 00000000 08:01 539420 /usr/lib/locale/en_US.utf8/LC_CTYPE 401ca000-401cf000 rw-p 401ca000 00:00 0 401dc000-401e9000 r-xp 00000000 08:01 677292 /lib/libgcc_s.so.1 401e9000-401ea000 r--p 0000c000 08:01 677292 /lib/libgcc_s.so.1 401ea000-401eb000 rw-p 0000d000 08:01 677292 /lib/libgcc_s.so.1 bfa8c000-bfaa3000 rw-p bffe9000 00:00 0 [stack] make[2]: *** [libgcc.a] Aborted make[2]: *** Deleting file `libgcc.a' make[2]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make: *** [all-gcc] Error 2 fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ make make[1]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty' make[2]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty/testsuite' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty/testsuite' make[1]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty' make[1]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/intl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/intl' make[1]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make \ CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \ CONFIG_H="config.h auto-host.h ../../gcc-3.4.4/gcc/../include/ansidecl.h" \ MAKEOVERRIDES= \ -f libgcc.mk all make[2]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' for d in libgcc; do \ if [ -d $d ]; then true; else /bin/sh ../../gcc-3.4.4/gcc/mkinstalldirs $d; fi; \ done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi rm -rf ./libgcc.a arm-linux-ar rc ./libgcc.a libgcc/./_udivsi3.oS libgcc/./_divsi3.oS libgcc/./_umodsi3.oS libgcc/./_modsi3.oS libgcc/./_dvmd_lnx.oS libgcc/./_muldi3.oS libgcc/./_negdi2.oS libgcc/./_lshrdi3.oS libgcc/./_ashldi3.oS libgcc/./_ashrdi3.oS libgcc/./_cmpdi2.oS libgcc/./_ucmpdi2.oS libgcc/./_floatdidf.oS libgcc/./_floatdisf.oS libgcc/./_fixunsdfsi.oS libgcc/./_fixunssfsi.oS libgcc/./_fixunsdfdi.oS libgcc/./_fixdfdi.oS libgcc/./_fixunssfdi.oS libgcc/./_fixsfdi.oS libgcc/./_fixxfdi.oS libgcc/./_fixunsxfdi.oS libgcc/./_floatdixf.oS libgcc/./_fixunsxfsi.oS libgcc/./_fixtfdi.oS libgcc/./_fixunstfdi.oS libgcc/./_floatditf.oS libgcc/./_clear_cache.oS libgcc/./_enable_execute_stack.oS libgcc/./_trampoline.oS libgcc/./__main.oS libgcc/./_absvsi2.oS libgcc/./_absvdi2.oS libgcc/./_addvsi3.oS libgcc/./_addvdi3.oS libgcc/./_subvsi3.oS libgcc/./_subvdi3.oS libgcc/./_mulvsi3.oS libgcc/./_mulvdi3.oS libgcc/./_negvsi2.oS libgcc/./_negvdi2.oS libgcc/./_ctors.oS libgcc/./_ffssi2.oS libgcc/./_ffsdi2.oS libgcc/./_clz.oS libgcc/./_clzsi2.oS libgcc/./_clzdi2.oS libgcc/./_ctzsi2.oS libgcc/./_ctzdi2.oS libgcc/./_popcount_tab.oS libgcc/./_popcountsi2.oS libgcc/./_popcountdi2.oS libgcc/./_paritysi2.oS libgcc/./_paritydi2.oS libgcc/./_divdi3.oS libgcc/./_moddi3.oS libgcc/./_udivdi3.oS libgcc/./_umoddi3.oS libgcc/./_udiv_w_sdiv.oS libgcc/./_udivmoddi4.oS libgcc/./_eprintf.oS libgcc/./__gcc_bcmp.oS *** buffer overflow detected ***: arm-linux-ar terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x401266d8] /lib/tls/i686/cmov/libc.so.6[0x40124800] /lib/tls/i686/cmov/libc.so.6[0x40123ef8] /lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x40099a78] /lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008ce6d] /lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27b7)[0x4006e177] /lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0x40123fa4] /lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x40123eed] arm-linux-ar[0x8050f52] arm-linux-ar[0x804f10b] arm-linux-ar[0x8051c40] arm-linux-ar[0x8058fc8] arm-linux-ar[0x804ba65] arm-linux-ar[0x804c7a0] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40042685] arm-linux-ar[0x8049a61] ======= Memory map: ======== 08048000-080a3000 r-xp 00000000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a3000-080a4000 r--p 0005a000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a4000-080a5000 rw-p 0005b000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a5000-080a9000 rw-p 080a5000 00:00 0 084fd000-0869c000 rw-p 084fd000 00:00 0 [heap] 40000000-4001a000 r-xp 00000000 08:01 677342 /lib/ld-2.8.90.so 4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso] 4001b000-4001c000 r--p 0001a000 08:01 677342 /lib/ld-2.8.90.so 4001c000-4001d000 rw-p 0001b000 08:01 677342 /lib/ld-2.8.90.so 4001d000-4001f000 rw-p 4001d000 00:00 0 4001f000-40020000 r--p 00000000 08:01 539429 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 40020000-40027000 r--s 00000000 08:01 515105 /usr/lib/gconv/gconv-modules.cache 40027000-4002c000 rw-p 40027000 00:00 0 4002c000-40184000 r-xp 00000000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40184000-40186000 r--p 00158000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40186000-40187000 rw-p 0015a000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40187000-4018b000 rw-p 40187000 00:00 0 4018b000-401ca000 r--p 00000000 08:01 539420 /usr/lib/locale/en_US.utf8/LC_CTYPE 401ca000-401cf000 rw-p 401ca000 00:00 0 401dc000-401e9000 r-xp 00000000 08:01 677292 /lib/libgcc_s.so.1 401e9000-401ea000 r--p 0000c000 08:01 677292 /lib/libgcc_s.so.1 401ea000-401eb000 rw-p 0000d000 08:01 677292 /lib/libgcc_s.so.1 bfb7d000-bfb94000 rw-p bffe9000 00:00 0 [stack] make[2]: *** [libgcc.a] Aborted make[2]: *** Deleting file `libgcc.a' make[2]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make: *** [all-gcc] Error 2 fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ vim /lib/t terminfo/ tls/ fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ vim /lib/tls/i686/cmov/ fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ vim /lib/tls/i686/cmov/libc.so.6 fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ vim /lib/tls/i686/cmov/libc.so fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ ls config.cache config.log config.status gcc intl libiberty Makefile maybedep.tmp serdep.tmp fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ find -name libc.so fang@ubuntu:~/embedded-2.6/build-tools/build-bootstrap-gcc$ make all-gcc make[1]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty' make[2]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty/testsuite' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty/testsuite' make[1]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/libiberty' make[1]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/intl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/intl' make[1]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make \ CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \ CONFIG_H="config.h auto-host.h ../../gcc-3.4.4/gcc/../include/ansidecl.h" \ MAKEOVERRIDES= \ -f libgcc.mk all make[2]: Entering directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' for d in libgcc; do \ if [ -d $d ]; then true; else /bin/sh ../../gcc-3.4.4/gcc/mkinstalldirs $d; fi; \ done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi rm -rf ./libgcc.a arm-linux-ar rc ./libgcc.a libgcc/./_udivsi3.oS libgcc/./_divsi3.oS libgcc/./_umodsi3.oS libgcc/./_modsi3.oS libgcc/./_dvmd_lnx.oS libgcc/./_muldi3.oS libgcc/./_negdi2.oS libgcc/./_lshrdi3.oS libgcc/./_ashldi3.oS libgcc/./_ashrdi3.oS libgcc/./_cmpdi2.oS libgcc/./_ucmpdi2.oS libgcc/./_floatdidf.oS libgcc/./_floatdisf.oS libgcc/./_fixunsdfsi.oS libgcc/./_fixunssfsi.oS libgcc/./_fixunsdfdi.oS libgcc/./_fixdfdi.oS libgcc/./_fixunssfdi.oS libgcc/./_fixsfdi.oS libgcc/./_fixxfdi.oS libgcc/./_fixunsxfdi.oS libgcc/./_floatdixf.oS libgcc/./_fixunsxfsi.oS libgcc/./_fixtfdi.oS libgcc/./_fixunstfdi.oS libgcc/./_floatditf.oS libgcc/./_clear_cache.oS libgcc/./_enable_execute_stack.oS libgcc/./_trampoline.oS libgcc/./__main.oS libgcc/./_absvsi2.oS libgcc/./_absvdi2.oS libgcc/./_addvsi3.oS libgcc/./_addvdi3.oS libgcc/./_subvsi3.oS libgcc/./_subvdi3.oS libgcc/./_mulvsi3.oS libgcc/./_mulvdi3.oS libgcc/./_negvsi2.oS libgcc/./_negvdi2.oS libgcc/./_ctors.oS libgcc/./_ffssi2.oS libgcc/./_ffsdi2.oS libgcc/./_clz.oS libgcc/./_clzsi2.oS libgcc/./_clzdi2.oS libgcc/./_ctzsi2.oS libgcc/./_ctzdi2.oS libgcc/./_popcount_tab.oS libgcc/./_popcountsi2.oS libgcc/./_popcountdi2.oS libgcc/./_paritysi2.oS libgcc/./_paritydi2.oS libgcc/./_divdi3.oS libgcc/./_moddi3.oS libgcc/./_udivdi3.oS libgcc/./_umoddi3.oS libgcc/./_udiv_w_sdiv.oS libgcc/./_udivmoddi4.oS libgcc/./_eprintf.oS libgcc/./__gcc_bcmp.oS *** buffer overflow detected ***: arm-linux-ar terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x401266d8] /lib/tls/i686/cmov/libc.so.6[0x40124800] /lib/tls/i686/cmov/libc.so.6[0x40123ef8] /lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x40099a78] /lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008ce6d] /lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27b7)[0x4006e177] /lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0x40123fa4] /lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x40123eed] arm-linux-ar[0x8050f52] arm-linux-ar[0x804f10b] arm-linux-ar[0x8051c40] arm-linux-ar[0x8058fc8] arm-linux-ar[0x804ba65] arm-linux-ar[0x804c7a0] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40042685] arm-linux-ar[0x8049a61] ======= Memory map: ======== 08048000-080a3000 r-xp 00000000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a3000-080a4000 r--p 0005a000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a4000-080a5000 rw-p 0005b000 08:01 205424 /home/fang/embedded-2.6/tools/bin/arm-linux-ar 080a5000-080a9000 rw-p 080a5000 00:00 0 091b9000-09358000 rw-p 091b9000 00:00 0 [heap] 40000000-4001a000 r-xp 00000000 08:01 677342 /lib/ld-2.8.90.so 4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso] 4001b000-4001c000 r--p 0001a000 08:01 677342 /lib/ld-2.8.90.so 4001c000-4001d000 rw-p 0001b000 08:01 677342 /lib/ld-2.8.90.so 4001d000-4001f000 rw-p 4001d000 00:00 0 4001f000-40020000 r--p 00000000 08:01 539429 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 40020000-40027000 r--s 00000000 08:01 515105 /usr/lib/gconv/gconv-modules.cache 40027000-4002c000 rw-p 40027000 00:00 0 4002c000-40184000 r-xp 00000000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40184000-40186000 r--p 00158000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40186000-40187000 rw-p 0015a000 08:01 694270 /lib/tls/i686/cmov/libc-2.8.90.so 40187000-4018b000 rw-p 40187000 00:00 0 4018b000-401ca000 r--p 00000000 08:01 539420 /usr/lib/locale/en_US.utf8/LC_CTYPE 401ca000-401cf000 rw-p 401ca000 00:00 0 401dc000-401e9000 r-xp 00000000 08:01 677292 /lib/libgcc_s.so.1 401e9000-401ea000 r--p 0000c000 08:01 677292 /lib/libgcc_s.so.1 401ea000-401eb000 rw-p 0000d000 08:01 677292 /lib/libgcc_s.so.1 bfece000-bfee5000 rw-p bffe9000 00:00 0 [stack] make[2]: *** [libgcc.a] Aborted make[2]: *** Deleting file `libgcc.a' make[2]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/fang/embedded-2.6/build-tools/build-bootstrap-gcc/gcc' make: *** [all-gcc] Error 2 cloud someone give some idea? thank you . -- fang, -- 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] |