[Bug bootstrap/14987] build error on Solaris 9

lonnie_smetana at umanitoba dot ca gcc-bugzilla@gcc.gnu.org
Wed Apr 21 21:53:00 GMT 2004


------- Additional Comments From lonnie_smetana at umanitoba dot ca  2004-04-21 21:06 -------
I've gone as far back as gcc 3.1 and I still get a response similar to:

gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -
DGENERATOR_FILE    -I. -I. -I/www/src/gcc-3.1/gcc -I/www/src/gcc-3.1/gcc/.  -
I/www/src/gcc-3.1/gcc/config -I/www/src/gcc-3.1/gcc/../include /www/src/gcc-
3.1/gcc/gen-protos.c -o gen-protos.o
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -
DGENERATOR_FILE    -I. -I. -I/www/src/gcc-3.1/gcc -I/www/src/gcc-3.1/gcc/.  -
I/www/src/gcc-3.1/gcc/config -I/www/src/gcc-3.1/gcc/../include /www/src/gcc-
3.1/gcc/scan.c -o scan.o
gcc -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -
DGENERATOR_FILE  -o gen-protos \
  gen-protos.o scan.o ../libiberty/libiberty.a
sed -e s/TARGET_GETGROUPS_T/gid_t/ \
  deduced.h /www/src/gcc-3.1/gcc/sys-protos.h > tmp-fixtmp.c
mv tmp-fixtmp.c fixtmp.c
/www/src/gcc-3.1/objdir/gcc/xgcc -B/www/src/gcc-3.1/objdir/gcc/ -
B/www/bin/gcc/sparc-sun-solaris2.9/bin/ -B/www/bin/gcc/sparc-sun-
solaris2.9/lib/ -isystem /www/bin/gcc/sparc-sun-solaris2.9/include fixtmp.c -w -
U__SIZE_TYPE__ -U__PTRDIFF_TYPE__ -U__WCHAR_TYPE__ -E \
  | sed -e 's/  / /g' -e 's/ *(/ (/g' -e 's/ [ ]*/ /g' -e 's/( )/()/' \
  | ./gen-protos >xsys-protos.hT
gen-protos: 1346 entries 340 collisions
mv xsys-protos.hT xsys-protos.h
rm -rf fixtmp.c
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -
DGENERATOR_FILE    -I. -I. -I/www/src/gcc-3.1/gcc -I/www/src/gcc-3.1/gcc/.  -
I/www/src/gcc-3.1/gcc/config -I/www/src/gcc-3.1/gcc/../include /www/src/gcc-
3.1/gcc/fix-header.c -o fix-header.o
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -
DGENERATOR_FILE    -I. -I. -I/www/src/gcc-3.1/gcc -I/www/src/gcc-3.1/gcc/.  -
I/www/src/gcc-3.1/gcc/config -I/www/src/gcc-3.1/gcc/../include /www/src/gcc-
3.1/gcc/scan-decls.c -o scan-decls.o
gcc -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -
DGENERATOR_FILE  -o fix-header fix-header.o \
   scan-decls.o scan.o libcpp.a   ../libiberty/libiberty.a
if [ -f fixhdr.ready ] ; then \
        true; \
else \
        echo timestamp > fixhdr.ready; \
fi
if [ -f include/fixed ] ; then true; \
else \
  : This line works around a 'make' bug in BSDI 1.1.; \
  FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; \
  mkinstalldirs="/bin/sh /www/src/gcc-3.1/gcc/mkinstalldirs"; \
    export mkinstalldirs; \
  if [ -d /usr/include ] ; then \
    /bin/sh /www/src/gcc-3.1/gcc/fixproto include include /usr/include; \
    if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
  else true; fi; \
  echo timestamp > include/fixed; \
fi
fixproto: populating `include'
fix-header: fixing curses.h
Segmentation Fault - core dumped
*** Error code 1
make: Fatal error: Command failed for target `stmp-fixproto'
Current working directory /www/src/gcc-3.1/objdir/gcc
*** Error code 1
make: Fatal error: Command failed for target `all-gcc'


-- 


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



More information about the Gcc-bugs mailing list