From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24038 invoked by alias); 17 Aug 2009 12:07:43 -0000 Received: (qmail 24001 invoked by uid 48); 17 Aug 2009 12:07:31 -0000 Date: Mon, 17 Aug 2009 12:07:00 -0000 Message-ID: <20090817120731.24000.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dennis dot wassel at googlemail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg01415.txt.bz2 ------- Comment #19 from dennis dot wassel at googlemail dot com 2009-08-17 12:07 ------- Also fails for trunk revision 150835 with what looks to me like exactly the same error: GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run -quiet -v -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -I../../../libgcc/config/libbid -iprefix /localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/ -isystem /localdata/install/gcc/trunk/build/./gcc/include -isystem /localdata/install/gcc/trunk/build/./gcc/include-fixed -MD divtf3.d -MF divtf3.dep -MP -MT divtf3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -DHIDE_EXPORTS -isystem /localdata/i686-pc-linux-gnu/include -isystem /localdata/i686-pc-linux-gnu/sys-include -isystem ./include ../../../libgcc/../gcc/config/soft-fp/divtf3.c -quiet -dumpbase divtf3.c -mtune=generic -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wold-style-definition -Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions -fvisibility=hidden -o /tmp/ccuC5vI8.s Starting program: /localdata/install/gcc/trunk/build/gcc/cc1 -quiet -v -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -I../../../libgcc/config/libbid -iprefix /localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/ -isystem /localdata/install/gcc/trunk/build/./gcc/include -isystem /localdata/install/gcc/trunk/build/./gcc/include-fixed -MD divtf3.d -MF divtf3.dep -MP -MT divtf3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -DHIDE_EXPORTS -isystem /localdata/i686-pc-linux-gnu/include -isystem /localdata/i686-pc-linux-gnu/sys-include -isystem ./include ../../../libgcc/../gcc/config/soft-fp/divtf3.c -quiet -dumpbase divtf3.c -mtune=generic -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wold-style-definition -Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions -fvisibility=hidden -o /tmp/ccuC5vI8.s Failed to read a valid object file image from memory. GNU C (GCC) version 4.5.0 20090817 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.3.4, GMP version 4.3.0, MPFR version 2.4.1-p5 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/include" ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/sys-include" ignoring nonexistent directory "./include" ignoring nonexistent directory "/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/include" ignoring nonexistent directory "/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/include-fixed" ignoring nonexistent directory "/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/../../../../i686-pc-linux-gnu/include" ignoring nonexistent directory "/localdata/lib/gcc/i686-pc-linux-gnu/4.5.0/include" ignoring nonexistent directory "/localdata/lib/gcc/i686-pc-linux-gnu/4.5.0/include-fixed" ignoring nonexistent directory "/localdata/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/include" ignoring duplicate directory "." ignoring duplicate directory "../../../libgcc/." #include "..." search starts here: #include <...> search starts here: . ../.././gcc ../../../libgcc ../../../libgcc/../gcc ../../../libgcc/../include ../../../libgcc/config/libbid /localdata/install/gcc/trunk/build/./gcc/include /localdata/install/gcc/trunk/build/./gcc/include-fixed /usr/local/include /localdata/include /usr/include End of search list. GNU C (GCC) version 4.5.0 20090817 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.3.4, GMP version 4.3.0, MPFR version 2.4.1-p5 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 00b3392e7bc00f6d220c196c9496c5bb Program received signal SIGSEGV, Segmentation fault. 0x081ed171 in c_tree_printer (pp=0xa2452e8, text=0xbfdd9160, spec=0xa22b129 "D", precision=0, wide=0 '\0', set_locus=0 '\0', hash=0 '\0') at ../../gcc/c-objc-common.c:101 101 tree t = va_arg (*text->args_ptr, tree); (gdb) bt #0 0x081ed171 in c_tree_printer (pp=0xa2452e8, text=0xbfdd9160, spec=0xa22b129 "D", precision=0, wide=0 '\0', set_locus=0 '\0', hash=0 '\0') at ../../gcc/c-objc-common.c:101 #1 0x089566a4 in pp_base_format (pp=0xa2452e8, text=0xbfdd9160) at ../../gcc/pretty-print.c:544 #2 0x08476949 in diagnostic_report_diagnostic (context=0xa1c6340, diagnostic=0xbfdd9160) at ../../gcc/diagnostic.c:420 #3 0x08476cb4 in warning_at (location=682268, opt=209, gmsgid=0x9ffa470 "%qD may be used uninitialized in this function") at ../../gcc/diagnostic.c:555 #4 0x092dedb6 in warn_uninit (t=0xb7586bfc, gmsgid=0x9ffa470 "%qD may be used uninitialized in this function", data=0x0) at ../../gcc/tree-ssa.c:1330 #5 0x092df2ad in warn_uninitialized_phi (phi=0xb7580230) at ../../gcc/tree-ssa.c:1451 #6 0x092df4a1 in execute_late_warn_uninitialized () at ../../gcc/tree-ssa.c:1514 #7 0x08910703 in execute_one_pass (pass=0xa1b7f60) at ../../gcc/passes.c:1291 #8 0x089108a3 in execute_pass_list (pass=0xa1b7f60) at ../../gcc/passes.c:1340 #9 0x089108bf in execute_pass_list (pass=0xa1b7080) at ../../gcc/passes.c:1341 #10 0x08dd86af in tree_rest_of_compilation (fndecl=0xb7712200) at ../../gcc/tree-optimize.c:390 #11 0x095beaf8 in cgraph_expand_function (node=0xb7715c00) at ../../gcc/cgraphunit.c:1114 #12 0x095beca9 in cgraph_expand_all_functions () at ../../gcc/cgraphunit.c:1173 #13 0x095bf244 in cgraph_optimize () at ../../gcc/cgraphunit.c:1396 #14 0x095be7d5 in cgraph_finalize_compilation_unit () at ../../gcc/cgraphunit.c:1042 #15 0x0810a89a in c_write_global_declarations () at ../../gcc/c-decl.c:9392 #16 0x08b90209 in compile_file () at ../../gcc/toplev.c:1038 #17 0x08b92127 in do_compile () at ../../gcc/toplev.c:2351 #18 0x08b921ec in toplev_main (argc=65, argv=0xbfdd95a4) at ../../gcc/toplev.c:2393 #19 0x0826d8bf in main (argc=Cannot access memory at address 0x0 ) at ../../gcc/main.c:35 Please, anything I can do to help get this fixed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849