Make bootstrap no longer works on Solaris 7 x86

Bernard Michaud bmichaud@excom.com
Fri Sep 24 07:14:00 GMT 1999


The egcs-19990920 snapshot fails to build on a dual Pentium Pro machine 
running Solaris 7 x86. This is the third snapshot in a row to fail, the 
19990913 and 19990907 snapshots having also failed to build on seemingly 
the same problem. The last snapshot to build properly was 19990830. All 
builds were processed using gcc version 2.95.1 19990816 (release).

The command used is the following:

$ env CC=gcc BOOT_CFLAGS="-O9 -mcpu=pentiumpro" \
/special/build/egcs-19990920/configure i686-sun-solaris2.7 \
--enable-shared --enable-haifa --enable-threads --prefix=/opt/egcs \
--without-gnu-as --without-gnu-ld --srcdir=/special/build/egcs-19990920

followed by:

$ make bootstrap

Everything appears to work properly until a number of error messages appear 
in the make output, such as the following:

------------------------------------------------------------------------------
...
fixproto: populating `include'
/special/build/egcsobj/gcc/include/curses.h:5: warning: #include_next in 
primary source file
In file included from /usr/include/sys/feature_tests.h:15,
                  from /usr/include/widec.h:24,
                  from /usr/include/curses.h:23,
                  from /special/build/egcsobj/gcc/include/curses.h:5,
                  from /special/build/egcsobj/gcc/include/curses.h:5:
/usr/include/sys/isa_defs.h:315: #error "ISA not supported"
In file included from /usr/include/curses.h:23,
                  from /special/build/egcsobj/gcc/include/curses.h:5,
                  from /special/build/egcsobj/gcc/include/curses.h:5:
/usr/include/widec.h:42: warning: `getwc' redefined
/usr/include/wchar.h:326: warning: this is the location of the previous 
definition
/usr/include/widec.h:43: warning: `putwc' redefined
/usr/include/wchar.h:329: warning: this is the location of the previous 
definition
/usr/include/widec.h:44: warning: `getwchar' redefined
/usr/include/wchar.h:327: warning: this is the location of the previous 
definition
/usr/include/widec.h:45: warning: `putwchar' redefined
/usr/include/wchar.h:330: warning: this is the location of the previous 
definition
In file included from /usr/include/sys/feature_tests.h:15,
                  from /usr/include/limits.h:18,
                  from /special/build/egcsobj/gcc/include/limits.h:117,
                  from /special/build/egcsobj/gcc/include/syslimits.h:7,
                  from /special/build/egcsobj/gcc/include/limits.h:11:
/usr/include/sys/isa_defs.h:315: #error "ISA not supported"
...
------------------------------------------------------------------------------

Processing continues for a short while until the make fails with the 
following error:

------------------------------------------------------------------------------
...
_muldi3
_divdi3
_moddi3
_udivdi3
_umoddi3
_negdi2
_lshrdi3
_ashldi3
_ashrdi3
_ffsdi2
_udiv_w_sdiv
_udivmoddi4
_cmpdi2
_ucmpdi2
_floatdidf
_floatdisf
_fixunsdfsi
_fixunssfsi
_fixunsdfdi
Assembler: libgcc2.c
         aline 79        : syntax error
         aline 85        : syntax error
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/special/build/egcsobj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/special/build/egcsobj/gcc'
make: *** [bootstrap] Error 2
------------------------------------------------------------------------------

I am at my wit's end trying to figure out what's happening. I have not 
found anything like this on the bugs mailing list. I would greatly 
appreciate if someone would take to time to help.

Bernard Michaud
Excom Informatics Services



More information about the Gcc-bugs mailing list