http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45952
Summary: [4.6 regression] Revision 165178 breaks bootstrap on Linux/ia32 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com CC: froy...@codesourcery.com Depends on: 45951 Revision 165178: http://gcc.gnu.org/ml/gcc-cvs/2010-10/msg00360.html caused: # CC="gcc -m32" CXX="g++ -m32" BOOT_CFLAGS="-g" CFLAGS="-g" RUNTESTFLAGS="--target_board 'unix'" /export/gnu/import/git/gcc/configure --enable-languages=c --disable-bootstrap i686-linux --prefix=/usr/gcc-4.6.0-32bit --with-local-prefix=/usr/local --with-fpmath=sse --with-fpmath=sse .. # make -j8 ... *** glibc detected *** /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1: double free or corruption (!prev): 0x08f2daa8 *** ======= Backtrace: ========= /lib/libc.so.6(+0x5aec41)[0x6cbc41] /lib/libc.so.6(obstack_free+0x4a)[0x6d3ada] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x873121e] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(free_scc_vn+0x172)[0x87316c2] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x871531d] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x8715350] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(execute_one_pass+0x1b3)[0x84ca00b] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(execute_pass_list+0x40)[0x84ca1df] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(execute_pass_list+0x5c)[0x84ca1fb] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(tree_rest_of_compilation+0xf9)[0x862c7d0] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x888103b] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x88811ea] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(cgraph_optimize+0x1d8)[0x88817dc] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(cgraph_finalize_compilation_unit+0x6b)[0x887f545] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(c_write_global_declarations+0x28c)[0x80ddd57] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x85a4b1e] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x85a6d31] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(toplev_main+0xa6)[0x85a6df7] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(main+0x1b)[0x81a8043] /lib/libc.so.6(__libc_start_main+0xe6)[0x672cc6] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x80b3891] ======= Memory map: ======== 00110000-00111000 r-xp 00000000 00:00 0 [vdso] 00111000-00131000 r-xp 00000000 08:02 24539 /usr/lib/libcloog.so.0.0.0 00131000-00132000 rw-p 0001f000 08:02 24539 /usr/lib/libcloog.so.0.0.0 00132000-00134000 rw-p 00000000 00:00 0 00134000-004a2000 r-xp 00000000 08:02 24525 /usr/lib/libppl_c.so.2.1.0 004a2000-004a5000 rw-p 0036d000 08:02 24525 /usr/lib/libppl_c.so.2.1.0 004a5000-004a8000 r-xp 00000000 08:02 396533 /usr/lib/sse2/libgmpxx.so.4.1.2 004a8000-004a9000 rw-p 00002000 08:02 396533 /usr/lib/sse2/libgmpxx.so.4.1.2 004a9000-004bb000 r-xp 00000000 08:02 24535 /usr/lib/libmpc.so.2.0.0 004bb000-004bc000 rw-p 00012000 08:02 24535 /usr/lib/libmpc.so.2.0.0 004bc000-00509000 r-xp 00000000 08:02 21260 /usr/lib/libmpfr.so.1.2.2 00509000-0050a000 rw-p 0004d000 08:02 21260 /usr/lib/libmpfr.so.1.2.2 0051d000-0053b000 r-xp 00000000 08:02 19707 /lib/ld-2.12.1.so 0053b000-0053c000 r--p 0001d000 08:02 19707 /lib/ld-2.12.1.so 0053c000-0053d000 rw-p 0001e000 08:02 19707 /lib/ld-2.12.1.so 0053d000-005f5000 r-xp 00000000 08:02 24523 /usr/lib/libppl.so.7.1.0 005f5000-005f7000 rw-p 000b8000 08:02 24523 /usr/lib/libppl.so.7.1.0 005f7000-00643000 r-xp 00000000 08:02 396531 /usr/lib/sse2/libgmp.so.3.5.2 00643000-00644000 rw-p 0004c000 08:02 396531 /usr/lib/sse2/libgmp.so.3.5.2 00644000-0065a000 r-xp 00000000 08:02 43254 /usr/lib/libelf-0.148.so 0065a000-0065b000 r--p 00015000 08:02 43254 /usr/lib/libelf-0.148.so 0065b000-0065c000 rw-p 00016000 08:02 43254 /usr/lib/libelf-0.148.so 0065c000-007e1000 r-xp 00000000 08:02 22291 /lib/libc-2.12.1.so 007e1000-007e2000 ---p 00185000 08:02 22291 /lib/libc-2.12.1.so 007e2000-007e4000 r--p 00185000 08:02 22291 /lib/libc-2.12.1.so 007e4000-007e5000 rw-p 00187000 08:02 22291 /lib/libc-2.12.1.so 007e5000-007e8000 rw-p 00000000 00:00 0 007e8000-00810000 r-xp 00000000 08:02 19810 /lib/libm-2.12.1.so 00810000-00811000 r--p 00027000 08:02 19810 /lib/libm-2.12.1.so 00811000-00812000 rw-p 00028000 08:02 19810 /lib/libm-2.12.1.so 00816000-00819000 r-xp 00000000 08:02 14811 /lib/libdl-2.12.1.so 00819000-0081a000 r--p 00002000 08:02 14811 /lib/libdl-2.12.1.so 0081a000-0081b000 rw-p 00003000 08:02 14811 /lib/libdl-2.12.1.so 0081b000-008fa000 r-xp 00000000 08:02 35242 /usr/lib/libstdc++.so.6.0.13 008fa000-008fe000 r--p 000de000 08:02 35242 /usr/lib/libstdc++.so.6.0.13 008fe000-008ff000 rw-p 000e2000 08:02 35242 /usr/lib/libstdc++.so.6.0.13 008ff000-00906000 rw-p 00000000 00:00 0 00906000-00923000 r-xp 00000000 08:02 23191 /lib/libgcc_s-4.4.4-20100630.so.1 00923000-00924000 rw-p 0001d000 08:02 23191 /lib/libgcc_s-4.4.4-20100630.so.1 08048000-08d9b000 r-xp 00000000 08:11 24119224 /export/build/gnu/gcc-32bit/build-i686-linux/gcc/cc1 08d9b000-08da3000 rw-p 00d52000 08:11 24119224 /export/build/gnu/gcc-32bit/build-i686-linux/gcc/cc1 08da3000-0903e000 rw-p 00000000 00:00 0 [heap] f775c000-f7ca4000 rw-p 00000000 00:00 0 f7cc9000-f7ddc000 rw-p 00000000 00:00 0 f7ddc000-f7fdc000 r--p 00000000 08:02 65280 /usr/lib/locale/locale-archive f7fdc000-f7fe1000 rw-p 00000000 00:00 0 f7ffc000-f7ffe000 rw-p 00000000 00:00 0 fffda000-ffffe000 rw-p 00000000 00:00 0 [stack] *** glibc detected *** /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1: corrupted double-linked list: 0x08f30dd8 *** *** glibc detected *** /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1: double free or corruption (!prev): 0x09193c50 *** ======= Backtrace: ========= /lib/libc.so.6(+0x5aec41)[0x6cbc41] /lib/libc.so.6(obstack_free+0x4a)[0x6d3ada] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x873121e] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(free_scc_vn+0x172)[0x87316c2] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x871531d] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x8715350] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(execute_one_pass+0x1b3)[0x84ca00b] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(execute_pass_list+0x40)[0x84ca1df] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(execute_pass_list+0x5c)[0x84ca1fb] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(tree_rest_of_compilation+0xf9)[0x862c7d0] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x888103b] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x88811ea] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(cgraph_optimize+0x1d8)[0x88817dc] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(cgraph_finalize_compilation_unit+0x6b)[0x887f545] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(c_write_global_declarations+0x28c)[0x80ddd57] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x85a4b1e] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x85a6d31] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(toplev_main+0xa6)[0x85a6df7] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1(main+0x1b)[0x81a8043] /lib/libc.so.6(__libc_start_main+0xe6)[0x672cc6] /export/build/gnu/gcc-32bit/build-i686-linux/./gcc/cc1[0x80b3891] ======= Memory map: ======== 00110000-00111000 r-xp 00000000 00:00 0 [vdso] 00111000-00131000 r-xp 00000000 08:02 24539 /usr/lib/libcloog.so.0.0.0 00131000-00132000 rw-p 0001f000 08:02 24539 /usr/lib/libcloog.so.0.0.0 00132000-00134000 rw-p 00000000 00:00 0 00134000-004a2000 r-xp 00000000 08:02 24525 /usr/lib/libppl_c.so.2.1.0 004a2000-004a5000 rw-p 0036d000 08:02 24525 /usr/lib/libppl_c.so.2.1.0 004a5000-004a8000 r-xp 00000000 08:02 396533 /usr/lib/sse2/libgmpxx.so.4.1.2 004a8000-004a9000 rw-p 00002000 08:02 396533 /usr/lib/sse2/libgmpxx.so.4.1.2 004a9000-004bb000 r-xp 00000000 08:02 24535 /usr/lib/libmpc.so.2.0.0 004bb000-004bc000 rw-p 00012000 08:02 24535 /usr/lib/libmpc.so.2.0.0 004bc000-00509000 r-xp 00000000 08:02 21260 /usr/lib/libmpfr.so.1.2.2 00509000-0050a000 rw-p 0004d000 08:02 21260 /usr/lib/libmpfr.so.1.2.2 0051d000-0053b000 r-xp 00000000 08:02 19707 /lib/ld-2.12.1.so 0053b000-0053c000 r--p 0001d000 08:02 19707 /lib/ld-2.12.1.so 0053c000-0053d000 rw-p 0001e000 08:02 19707 /lib/ld-2.12.1.so 0053d000-005f5000 r-xp 00000000 08:02 24523 /usr/lib/libppl.so.7.1.0 005f5000-005f7000 rw-p 000b8000 08:02 24523 /usr/lib/libppl.so.7.1.0 005f7000-00643000 r-xp 00000000 08:02 396531 /usr/lib/sse2/libgmp.so.3.5.2 00643000-00644000 rw-p 0004c000 08:02 396531 /usr/lib/sse2/libgmp.so.3.5.2 00644000-0065a000 r-xp 00000000 08:02 43254 /usr/lib/libelf-0.148.so 0065a000-0065b000 r--p 00015000 08:02 43254 /usr/lib/libelf-0.148.so 0065b000-0065c000 rw-p 00016000 08:02 43254 /usr/lib/libelf-0.148.so 0065c000-007e1000 r-xp 00000000 08:02 22291 /lib/libc-2.12.1.so 007e1000-007e2000 ---p 00185000 08:02 22291 /lib/libc-2.12.1.so 007e2000-007e4000 r--p 00185000 08:02 22291 /lib/libc-2.12.1.so 007e4000-007e5000 rw-p 00187000 08:02 22291 /lib/libc-2.12.1.so 007e5000-007e8000 rw-p 00000000 00:00 0 007e8000-00810000 r-xp 00000000 08:02 19810 /lib/libm-2.12.1.so 00810000-00811000 r--p 00027000 08:02 19810 /lib/libm-2.12.1.so 00811000-00812000 rw-p 00028000 08:02 19810 /lib/libm-2.12.1.so 00816000-00819000 r-xp 00000000 08:02 14811 /lib/libdl-2.12.1.so 00819000-0081a000 r--p 00002000 08:02 14811 /lib/libdl-2.12.1.so 0081a000-0081b000 rw-p 00003000 08:02 14811 /lib/libdl-2.12.1.so 0081b000-008fa000 r-xp 00000000 08:02 35242 /usr/lib/libstdc++.so.6.0.13 008fa000-008fe000 r--p 000de000 08:02 35242 /usr/lib/libstdc++.so.6.0.13 008fe000-008ff000 rw-p 000e2000 08:02 35242 /usr/lib/libstdc++.so.6.0.13 008ff000-00906000 rw-p 00000000 00:00 0 00906000-00923000 r-xp 00000000 08:02 23191 /lib/libgcc_s-4.4.4-20100630.so.1 00923000-00924000 rw-p 0001d000 08:02 23191 /lib/libgcc_s-4.4.4-20100630.so.1 08048000-08d9b000 r-xp 00000000 08:11 24119224 /export/build/gnu/gcc-32bit/build-i686-linux/gcc/cc1 08d9b000-08da3000 rw-p 00d52000 08:11 24119224 /export/build/gnu/gcc-32bit/build-i686-linux/gcc/cc1 08da3000-0921f000 rw-p 00000000 00:00 0 [heap] f784c000-f7970000 rw-p 00000000 00:00 0 f7980000-f7ca4000 rw-p 00000000 00:00 0 f7cc9000-f7ddc000 rw-p 00000000 00:00 0 f7ddc000-f7fdc000 r--p 00000000 08:02 65280 /usr/lib/locale/locale-archive f7fdc000-f7fe1000 rw-p 00000000 00:00 0 f7ffc000-f7ffe000 rw-p 00000000 00:00 0 /export/gnu/import/git/gcc/libgcc/config/libbid/bid_round.c: In function \u2018__bid_round192_39_57\u2019: /export/gnu/import/git/gcc/libgcc/config/libbid/bid_round.c:395:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [bid_round.o] Error 1 make[3]: *** Waiting for unfinished jobs.... 362