Bootstrap failure on alpha-osf5

Andrew Hobson ahobson@eng.mindspring.net
Wed Jan 26 15:30:00 GMT 2000


On Wed, 26 Jan 2000 14:10:33 -0800, Richard Henderson <rth@cygnus.com> said:

> On Wed, Jan 26, 2000 at 01:56:54PM -0500, Andrew Hobson wrote:
>> The build gets past there and now dies in a new place.  :-(
> [...]
>> ../../gcc/libgcc2.c:907: Insn does not satisfy its constraints:
>> (insn 77 6 15 (set (reg:TF 1 $1)
>> (const_double:TF (cc0) 0 [0x0] 0 [0x0] 0 [0x0])) 285 {movsf-2} (nil)
>> (nil))

> Fixed thus.

Thanks!

Now I have a strange problem: cpp dies with a signal 11.  I realize
this is often indicative of hardware problems, so I tried the
buildworld twice.  Both times the compile died in the same place:
after the stage1 compiler has built cpp.

$ uname -a
OSF1 gamma.eng.mindspring.net V5.0 910 alpha
$ CC=cc ../configure --enable-languages=c++

[ ... ]

$ gmake bootstrap

[ ... ]

rm -f cpp
ln cccp cpp
(cd intl && gmake all)
gmake[3]: Entering directory `/home/ahobson/src/gcc/egcs/build/gcc/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/ahobson/src/gcc/egcs/build/gcc/intl'
stage1/xgcc -Bstage1/ -B/usr/local/alphaev56-dec-osf5.0/bin/ -c  -DIN_GCC    -W -Wall -Wtraditional -O2 -g  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config -I../../gcc/../include \
  ../../gcc/gencheck.c
xgcc: Internal compiler error: program cpp got fatal signal 11



$ cd gcc
$ ./stage1/xgcc -v -Bstage1/ -B/usr/local/alphaev56-dec-osf5.0/bin/ -c  -DIN_GCC    -W -Wall -Wtraditional -O2 -g  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config -I../../gcc/../include ../../gcc/gencheck.c
Reading specs from stage1/specs
gcc version 2.96 20000126 (experimental)
 stage1/cpp -lang-c -v -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -iprefix ./stage1/../lib/gcc-lib/alphaev56-dec-osf5.0/2.96/ -isystem /usr/local/alphaev56-dec-osf5.0/bin/include -isystem include -isystem stage1/include -D__GNUC__=2 -D__GNUC_MINOR__=96 -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4) -D__OPTIMIZE__ -g -W -Wall -Wtraditional -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C -Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__ -D__alpha_ev5__ -Acpu(ev5) -D__alpha_bwx__ -Acpu(bwx) -DIN_GCC -DHAVE_CONFIG_H ../../gcc/gencheck.c /tmp/cc16asYr.i
GNU CPP version 2.96 20000126 (experimental)
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc
 ../../gcc/config
 ../../gcc/../include
 include
 /usr/local/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/alphaev56-dec-osf5.0/2.96/../../../../include/g++-3
 /usr/local/lib/gcc-lib/alphaev56-dec-osf5.0/2.96/../../../../alphaev56-dec-osf5.0/include
 /usr/local/lib/gcc-lib/alphaev56-dec-osf5.0/2.96/include
End of omitted list.
xgcc: Internal compiler error: program cpp got fatal signal 11


Here's another strange thing: dbx is unable to load the binary.

$ dbx stage1/cpp
dbx version 5.0
Type 'help' for help.


DBX Fault: Segmentation fault
(dbx) quit

I compiled gdb-4.18 with DEC cc and used that.

$ ~/src/gdb-4.18/gdb/gdb stage1/cpp
GNU gdb 4.18
Copyright 1998 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 "alphaev56-dec-osf5.0"...
Breakpoint 1 at 0x3ff800d7b20
Breakpoint 2 at 0x120019c70: file ../../gcc/cccp.c, line 10835.
Breakpoint 3 at 0x3ff80189080
(gdb) D
Delete all breakpoints? (y or n) y
(gdb) r -lang-c -v -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -iprefix ./stage1/../lib/gcc-lib/alphaev56-dec-osf5.0/2.96/ -isystem /usr/local/alphaev56-dec-osf5.0/bin/include -isystem include -isystem stage1/include -D__GNUC__=2 -D__GNUC_MINOR__=96 -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD '-Asystem(unix)' '-Asystem(xpg4)' -D__OPTIMIZE__ -g -W -Wall -Wtraditional -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C '-Acpu(alpha)' '-Amachine(alpha)' -D__alpha -D__alpha__ -D__alpha_ev5__ '-Acpu(ev5)' -D__alpha_bwx__ '-Acpu(bwx)' -DIN_GCC -DHAVE_CONFIG_H ../../gcc/gencheck.c /tmp/cc16asYr.i
Starting program: /home/ahobson/src/gcc/egcs/build/gcc/stage1/cpp -lang-c -v -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -iprefix ./stage1/../lib/gcc-lib/alphaev56-dec-osf5.0/2.96/ -isystem /usr/local/alphaev56-dec-osf5.0/bin/include -isystem include -isystem stage1/include -D__GNUC__=2 -D__GNUC_MINOR__=96 -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD '-Asystem(unix)' '-Asystem(xpg4)' -D__OPTIMIZE__ -g -W -Wall -Wtraditional -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C '-Acpu(alpha)' '-Amachine(alpha)' -D__alpha -D__alpha__ -D__alpha_ev5__ '-Acpu(ev5)' -D__alpha_bwx__ '-Acpu(bwx)' -DIN_GCC -DHAVE_CONFIG_H ../../gcc/gencheck.c /tmp/cc16asYr.i
GNU CPP version 2.96 20000126 (experimental)
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc
 ../../gcc/config
 ../../gcc/../include
 include
 /usr/local/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/alphaev56-dec-osf5.0/2.96/../../../../include/g++-3
 /usr/local/lib/gcc-lib/alphaev56-dec-osf5.0/2.96/../../../../alphaev56-dec-osf5.0/include
 /usr/local/lib/gcc-lib/alphaev56-dec-osf5.0/2.96/include
End of omitted list.

Program received signal SIGSEGV, Segmentation fault.
change_newlines (arg=0x6f72662065730020) at ../../gcc/cccp.c:9441
9441      arg->expand_length = obp - arg->expanded;
(gdb) where
#0  change_newlines (arg=0x6f72662065730020) at ../../gcc/cccp.c:9441
#1  0x1200151cc in macroexpand (hp=0x14003ed40, op=0x0)
    at ../../gcc/cccp.c:8861
#2  0x120008c2c in rescan (op=0x140005620, output_marks=0)
    at ../../gcc/cccp.c:3573
#3  0x12000cdc0 in finclude (f=8, inc=0x140000044, op=0x140005620, 
    system_header_p=1073763704, dirptr=0x140015b00) at ../../gcc/cccp.c:5398
#4  0x12000bb84 in do_include (buf=0x11fffaf80 "", 
    limit=0x14002ae80 "/usr/include/sys/select.h", op=0x140005620, 
    keyword=0x140000280) at ../../gcc/cccp.c:4834
#5  0x12000a384 in handle_directive (ip=0x1400057a0, op=0x140005620)
    at ../../gcc/cccp.c:4154
#6  0x120007334 in rescan (op=0x140005620, output_marks=0)
    at ../../gcc/cccp.c:2779
#7  0x12000cdc0 in finclude (f=8, inc=0x140000044, op=0x140005620, 
    system_header_p=1073763704, dirptr=0x140015500) at ../../gcc/cccp.c:5398
#8  0x12000bb84 in do_include (buf=0x11fffb320 "\030", 
    limit=0x140029f20 "include/sys/types.h", op=0x140005620, 
    keyword=0x140000280) at ../../gcc/cccp.c:4834
#9  0x12000a384 in handle_directive (ip=0x140005740, op=0x140005620)
    at ../../gcc/cccp.c:4154
#10 0x120007334 in rescan (op=0x140005620, output_marks=0)
    at ../../gcc/cccp.c:2779
---Type <return> to continue, or q <return> to quit---
#11 0x12000cdc0 in finclude (f=8, inc=0x140000044, op=0x140005620, 
    system_header_p=1073763704, dirptr=0x140015500) at ../../gcc/cccp.c:5398
#12 0x12000bb84 in do_include (buf=0x11fffb6b0 "\030", 
    limit=0x14002e7e0 "include/stdio.h", op=0x140005620, keyword=0x140000280)
    at ../../gcc/cccp.c:4834
#13 0x12000a384 in handle_directive (ip=0x1400056e0, op=0x140005620)
    at ../../gcc/cccp.c:4154
#14 0x120007334 in rescan (op=0x140005620, output_marks=0)
    at ../../gcc/cccp.c:2779
#15 0x12000cdc0 in finclude (f=8, inc=0x140000044, op=0x140005620, 
    system_header_p=1073763704, dirptr=0x11fffba70) at ../../gcc/cccp.c:5398
#16 0x12000bb84 in do_include (buf=0x11fffba30 "l7", 
    limit=0x14002e540 "../../gcc/system.h", op=0x140005620, 
    keyword=0x140000280) at ../../gcc/cccp.c:4834
#17 0x12000a384 in handle_directive (ip=0x140005680, op=0x140005620)
    at ../../gcc/cccp.c:4154
#18 0x120007334 in rescan (op=0x140005620, output_marks=0)
    at ../../gcc/cccp.c:2779
#19 0x12000610c in main (argc=51, argv=0x140000120) at ../../gcc/cccp.c:2175
(gdb) q


I'm not including gencheck.c since that's in CVS.  Please let me know
how I can help debug this problem.

Thank you,

Drew


More information about the Gcc-bugs mailing list