make fails when building GCC

Allan Blair BlairA@franklins.com.au
Wed Feb 16 20:56:00 GMT 2000


I don't know if this is a problem with "make" or with the "gcc" package, but
when I try to build GCC, "make" always aborts on the same file with this
error:
.
.
.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L4949/C35(#39):    1: Array subscript
out of range.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L4981/C25(#39):    1: Array subscript
out of range.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L5206/C6(#39):     1: Array subscript
out of range.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L5208/C23(#39):    1: Array subscript
out of range.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L5332/C31(#39):    1: Array subscript
out of range.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L5390/C9(#39):     1: Array subscript
out of range.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L5391/C19(#39):    1: Array subscript
out of range.
w "/tmp/gcc-2.95.2/gcc/genattrtab.c",L5462/C18(#39):    1: Array subscript
out of range.
1 user error   192 warnings   
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x080a0828 PID 11079 
make[2]: *** [genattrtab.o] Error 1
Removing child 0x080a0828 PID 11079  from chain.
make[2]: Leaving directory `/tmp/ggg/gcc'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08071348 PID 11061 
make[1]: *** [bootstrap] Error 2
Removing child 0x08071348 PID 11061  from chain.
make[1]: Leaving directory `/tmp/ggg/gcc'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08071a78 PID 11022 
make: *** [bootstrap] Error 2
Removing child 0x08071a78 PID 11022  from chain.
[NSWS210:/tmp/ggg] echo $?
2

This is the ouput, using the "-d" option on make.

The "configure" works fine, it is the "make bootstrap" that aborts.

With most of the the other source files before gennattrab.c, hundreds of
"array subscript out of range" error messages also appear. This may or may
not be connected.

I have tried both gcc-2.95.2.tar.gz in it's entirety, as well as
gcc-core-2.95.2.tar.gz plus gcc-g++-2.95.2.tar.gz from ftp.gnu.org.

I have used GNU make version 3.78.1 as well as 3.75. The system is able to
make both versions of GNU make with no problems.

I have tried it also with the native make that comes with the system, it
produces a very similar erro message at exactly the same spot.

I have tried it on 2 different systems, both of them are "NCR S26XLPII 3426
or NCR S26 Rack Node 3480", both running SVR4 release 3.02.00

I have tried it with the sourcedir and objectdir being the same as well as
different.

I have also tried it just after a clean reboot.

I have tried also with the "--prefix=/tmp/install" option on configure as
well.

I have tried it as both user root and a normal user. There are hundreds of
megs of available disk space, and the system has 64 Mb RAM.

The compiler on both systems is the:
"NCR High Performance C/C++ Compiler R3.0c 
(c) Copyright 1994-98, NCR Corporation
(c) Copyright 1987-98, MetaWare Incorporated"

Can you give me any pointers, what else can i try ?

Thank you for your attention.




More information about the Gcc-bugs mailing list