This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/41395] [4.5 regression] Revision 151800 failed bootstrap



------- Comment #6 from ubizjak at gmail dot com  2009-09-18 15:29 -------
This revision also fails to bootstrap on alphaev68-unknown-linux-gnu (revision
151799 is OK). stage2 compiler segfaults trying to build libgcc:

configure:3232: /home/uros/gcc-build/./gcc/xgcc -B/home/uros/gcc-build/./gcc/
-B
/usr/local/alphaev68-unknown-linux-gnu/bin/
-B/usr/local/alphaev68-unknown-linux
-gnu/lib/ -isystem /usr/local/alphaev68-unknown-linux-gnu/include -isystem
/usr/
local/alphaev68-unknown-linux-gnu/sys-include    -c -g -O2 -mieee  conftest.c
>&
5
conftest.c:1:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

In fact, stage2 cc1 segfaults on everything:

gdb ~/gcc-build/gcc/cc1
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "alpha-unknown-linux-gnu"...
(no debugging symbols found)
(gdb) set args hello.c
(gdb) run
Starting program: /space/uros/gcc-build/gcc/cc1 hello.c
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x00000001205e2520 in tree_class_check_failed ()
(gdb) bt
#0  0x00000001205e2520 in tree_class_check_failed ()
#1  0x00000001205e33f4 in type_hash_list ()
#2  0x00000001205e88f0 in build_function_type ()
#3  0x00000001205e8d24 in build_function_type_list ()
#4  0x0000000120639e74 in alpha_init_builtins ()
#5  0x00000001200e06ac in c_common_nodes_and_builtins ()
#6  0x0000000120084dc8 in c_init_decl_processing ()
#7  0x00000001200f6178 in c_objc_common_init ()
#8  0x0000000120442594 in toplev_main ()
#9  0x000000012011af78 in main ()

As mentioned in comment #1, debug info is missing/meaningless.

gcc was built with default configure flags:

~/gcc-build/gcc/xgcc -v    
Using built-in specs.
Target: alphaev68-unknown-linux-gnu
Configured with: ../gcc-svn/trunk/configure --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.5.0 20090917 (experimental) [trunk revision 151835] (GCC) 

(don't bother with revision number, it was patch-reversed to 151800).


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41395


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]