🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #5988

Problem compiling gcc source distribution on Solaris 2.5

#5988
From: Clinton Evans
Date: Tue, 21 Jan 1997 00:00
586 lines
23561 bytes
Problem installing gcc 2.7.2.1 source distribution on Solaris 2.5

OS:		Solaris 2.5
Machine:	Aries Hypersparc
cc:		gcc 2.7.2 Solaris binary package on ftp.opcom.com
sed:		gnu sed version 3
bison:		gnu bison 1.24

1)	configure 					seems to work.

2)	make LANGUAGES=c CC=/opt/FSFgcc/bin/gcc 	forms xgcc ok

							fixinc.svr4 gives
							some segmentation
							faults.
							
							enquire.c fails
							to compile.
The following is a log of the install.

clinton:~>cd build/gcc-2.7.2.1/
clinton:~/build/gcc-2.7.2.1>sh configure
This appears to be a sparc-sun-solaris2.5 system.
Using `./config/sparc/sparc.c' to output insns.
Using `./config/sparc/sparc.md' as machine description file.
Using `./config/sparc/sol2.h' as target machine macro file.
Using `./config/sparc/xm-sol2.h' as host machine macro file.
Merged sparc/x-sysv4.
Merged sparc/t-sol2.
Merged c++ fragment(s).
Created `./Makefile'.
Merged sparc/x-sysv4.
Merged sparc/t-sol2.
Created `cp/Makefile'.
Links are now set up to build a native compiler for
sparc-sun-solaris2.5.
clinton:~/build/gcc-2.7.2.1>make LANGUAGES=c CC=/opt/FSFgcc/bin/gcc
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
 
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include\"
\
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
 
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/sys-include\"
\
  -DTOOL_INCLUDE_DIR=\"/usr/local/sparc-sun-solaris2.5/include\" \
  -c `echo ./cccp.c | sed 's,^\./,,'`
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
./cexp.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
version.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
obstack.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config  \
  -c `echo ./alloca.c | sed 's,^\./,,'`
true
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o cccp cccp.o cexp.o \
  version.o obstack.o ` case "/opt/FSFgcc/bin/gcc" in "cc") echo
"alloca.o" ;; esac `  
rm -f cpp
ln cccp cpp > /dev/null 2>&1 \
 || cp cccp cpp
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
./c-parse.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-lang.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-lex.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-pragma.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-decl.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-typeck.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-convert.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-aux-info.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-common.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
c-iterate.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genattr.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config rtl.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genattr \
 genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genattr ./config/sparc/sparc.md > tmp-attr.h
./move-if-change tmp-attr.h insn-attr.h
touch stamp-attr
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
    \
  -c `echo ./toplev.c | sed 's,^\./,,'`
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
tree.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
print-tree.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
stor-layout.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
fold-const.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genflags.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genflags \
 genflags.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genflags ./config/sparc/sparc.md > tmp-flags.h
./move-if-change tmp-flags.h insn-flags.h
touch stamp-flags
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./gencodes.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o gencodes \
 gencodes.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./gencodes ./config/sparc/sparc.md > tmp-codes.h
./move-if-change tmp-codes.h insn-codes.h
touch stamp-codes
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genconfig.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genconfig \
  genconfig.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genconfig ./config/sparc/sparc.md > tmp-config.h
./move-if-change tmp-config.h insn-config.h
touch stamp-config
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
function.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
   ./bi-opcode.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
   ./bi-parser.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
   ./bi-lexer.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
   ./bi-reverse.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o bi-opcode \
 bi-opcode.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in
?*) echo obstack.o ;; esac ` ` case "/opt/FSFgcc/bin/gcc"@"alloca.o" in
"cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac ` 
./bi-opcode < ./bytecode.def >tmp-bcopcd.h
(Number of opcodes is 232)
./move-if-change tmp-bcopcd.h bc-opcode.h
touch stamp-bcopcode
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
stmt.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
expr.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
calls.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
expmed.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
explow.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
optabs.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
varasm.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
print-rtl.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
rtlanal.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
   ./bi-opname.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o bi-opname \
 bi-opname.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in
?*) echo obstack.o ;; esac ` ` case "/opt/FSFgcc/bin/gcc"@"alloca.o" in
"cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac ` 
./bi-opname < ./bytecode.def >tmp-bcopnm.h
./move-if-change tmp-bcopnm.h bc-opname.h
touch stamp-bcopname
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
emit-rtl.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
real.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
dbxout.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
sdbout.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
dwarfout.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
xcoffout.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
integrate.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
jump.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config cse.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
loop.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
unroll.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
flow.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
stupid.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
combine.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
regclass.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
local-alloc.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
global.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
reload.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
reload1.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
caller-save.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genpeep.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genpeep \
 genpeep.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genpeep ./config/sparc/sparc.md > tmp-peep.c
./move-if-change tmp-peep.c insn-peep.c
touch stamp-peep
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
insn-peep.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
reorg.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
sched.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
final.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
recog.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
reg-stack.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genopinit.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genopinit \
 genopinit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genopinit ./config/sparc/sparc.md > tmp-opinit.c
./move-if-change tmp-opinit.c insn-opinit.c
touch stamp-opinit
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
insn-opinit.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genrecog.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genrecog \
 genrecog.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genrecog ./config/sparc/sparc.md > tmp-recog.c
./move-if-change tmp-recog.c insn-recog.c
touch stamp-recog
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
insn-recog.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genextract.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genextract \
 genextract.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genextract ./config/sparc/sparc.md > tmp-extract.c
./move-if-change tmp-extract.c insn-extract.c
touch stamp-extract
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
insn-extract.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genoutput.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genoutput \
 genoutput.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genoutput ./config/sparc/sparc.md > tmp-output.c
./move-if-change tmp-output.c insn-output.c
touch stamp-output
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
insn-output.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genemit.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genemit \
 genemit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac
` ` case "" in ?*) echo  ;; esac ` 
./genemit ./config/sparc/sparc.md > tmp-emit.c
./move-if-change tmp-emit.c insn-emit.c
touch stamp-emit
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
insn-emit.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./genattrtab.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o genattrtab \
 genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo
obstack.o ;; esac ` ` case "/opt/FSFgcc/bin/gcc"@"alloca.o" in "cc"@?*)
echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac ` 
if cmp -s Makefile   ./config/sparc/sparc.md;	\
then					\
  echo Using ;	\
  cp  tmp-attrtab.c;	\
else					\
  ./genattrtab ./config/sparc/sparc.md > tmp-attrtab.c;	\
fi
./move-if-change tmp-attrtab.c insn-attrtab.c
touch stamp-attrtab
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c
insn-attrtab.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
./config/sparc/sparc.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
getpwd.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
convert.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
   ./bi-arity.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o bi-arity \
 bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in
?*) echo obstack.o ;; esac ` ` case "/opt/FSFgcc/bin/gcc"@"alloca.o" in
"cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac ` 
./bi-arity < ./bytecode.def >tmp-bc-arity.h
./move-if-change tmp-bc-arity.h bc-arity.h
touch stamp-bcarity
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
bc-emit.c
/opt/FSFgcc/bin/gcc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config
bc-optab.c
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o cc1 c-parse.o c-lang.o
c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o
c-common.o c-iterate.o toplev.o version.o tree.o print-tree.o
stor-layout.o fold-const.o function.o stmt.o expr.o calls.o expmed.o
explow.o optabs.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o real.o
dbxout.o sdbout.o dwarfout.o xcoffout.o integrate.o jump.o cse.o loop.o
unroll.o flow.o stupid.o combine.o regclass.o local-alloc.o global.o
reload.o reload1.o caller-save.o insn-peep.o reorg.o sched.o final.o
recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o
insn-output.o insn-emit.o insn-attrtab.o sparc.o getpwd.o convert.o 
bc-emit.o bc-optab.o obstack.o ` case "/opt/FSFgcc/bin/gcc" in "cc")
echo "alloca.o" ;; esac `  
/bin/sh ./genmultilib "" \
  "" "" > multilib.h
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
  -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
  -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" \
  -DDEFAULT_TARGET_VERSION=\"2.7.2.1\" \
  -DDEFAULT_TARGET_MACHINE=\"sparc-sun-solaris2.5\" \
  -DTOOLDIR_BASE_PREFIX=\"/usr/local/\" \
   \
  -c `echo ./gcc.c | sed 's,^\./,,'`
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g   -o xgcc gcc.o version.o 
obstack.o ` case "/opt/FSFgcc/bin/gcc" in "cc") echo "alloca.o" ;; esac
`  
./xgcc -B./ -dumpspecs > tmp-specs
mv tmp-specs specs
if [ -f /usr/include/limits.h ] ; then \
  cat ./limitx.h ./glimits.h ./limity.h > tmp-xlimits.h; \
else \
  cat ./glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
/opt/FSFgcc/bin/gcc  -DIN_GCC -DSVR4  -g  -I. -I. -I./config  -o g++
./cp/g++.c obstack.o ` case "/opt/FSFgcc/bin/gcc" in "cc") echo
"alloca.o" ;; esac `  
rm -rf include
mkdir include
if [ xfixinc.svr4 != xMakefile.in ]; \
then \
  for dir in /usr/include ; do \
    if [ -d $dir ]; \
    then \
      /bin/sh ./fixinc.svr4 include $dir; \
    else true; fi; \
  done; \
else true; \
fi
Building fixincludes in  /home/clinton/build/gcc-2.7.2.1/include
Making directories:
Making internal symbolic directory links
Finding header files in /usr/include:
Checking header files:
Fixed ./sys/cg8reg.h
Fixed ./sys/cg8var.h
Fixed ./sys/gp1cmds.h
Segmentation Fault
Fixed ./sys/fs/hsfs_isospec.h
Segmentation Fault
Fixed ./sys/fs/hsfs_spec.h
Segmentation Fault
Fixed ./sys/proc/prdata.h
Fixed ./sys/scsi/adapters/plnvar.h
Segmentation Fault
Fixed ./sys/scsi/impl/pkt_wrapper.h
Fixed ./sys/cis.h
Fixed ./sys/cis_protos.h
Fixed ./sys/core.h
Segmentation Fault
Fixed ./sys/cpuvar.h
Fixed ./sys/ddi_impldefs.h
Fixed ./sys/ddidmareq.h
Fixed ./sys/debug.h
Fixed ./sys/ethernet.h
Fixed ./sys/exec.h
Fixed ./sys/exechdr.h
Fixed ./sys/fdreg.h
Fixed ./sys/fdvar.h
Segmentation Fault
Fixed ./sys/isa_defs.h
Fixed ./sys/msg.h
Fixed ./sys/pctypes.h
Segmentation Fault
Fixed ./sys/proc.h
Segmentation Fault
Fixed ./sys/ptrace.h
Fixed ./sys/signal.h
Fixed ./sys/socvar.h
Segmentation Fault
Fixed ./sys/sunddi.h
Fixed ./sys/types.h
Segmentation Fault
Fixed ./sys/user.h
Segmentation Fault
Fixed ./sys/utsname.h
Fixed ./sys/varargs.h
Segmentation Fault
Fixed ./sys/vuid_event.h
Fixed ./sys/hme_mac.h
Fixed ./sys/bdio.h
Segmentation Fault
Fixed ./sys/ieeefp.h
Segmentation Fault
Fixed ./arpa/nameser.h
Segmentation Fault
Fixed ./inet/led.h
Fixed ./kerberos/osconf.h
Fixed ./netinet/if_ether.h
Fixed ./v9/sys/atomic_prim.h
Fixed ./vm/pvn.h
Fixed ./alloca.h
Fixed ./ctype.h
Fixed ./dirent.h
Segmentation Fault
Fixed ./float.h
Fixed ./grp.h
Fixed ./ieeefp.h
Fixed ./limits.h
Fixed ./locale.h
Segmentation Fault
Fixed ./prof.h
Fixed ./pwd.h
Segmentation Fault
Fixed ./setjmp.h
Fixed ./signal.h
Fixed ./stdarg.h
Segmentation Fault
Fixed ./stdio.h
Fixed ./stdlib.h
Fixed ./string.h
Fixed ./thread.h
Fixed ./time.h
Fixed ./unistd.h
Segmentation Fault
Fixed ./values.h
Fixed ./varargs.h
Fixed ./widec.h
Fixed ./math.h
Finding header files in /opt/FSFlibg++/lib/g++-include/std:
Checking header files:
Fixed ./cstring.h
Fixing size_t, ptrdiff_t and wchar_t in sys/types.h
Fixing size_t, ptrdiff_t and wchar_t in stdlib.h
Fixing size_t, ptrdiff_t and wchar_t in stddef.h
Fixing size_t, ptrdiff_t and wchar_t in unistd.h
Checking /home/clinton/build/gcc-2.7.2.1/include/stdlib.h
Checking /home/clinton/build/gcc-2.7.2.1/include/unistd.h
Fixed /home/clinton/build/gcc-2.7.2.1/include/unistd.h
Checking /usr/include/sys/param.h
Fixed /usr/include/sys/param.h
Checking /home/clinton/build/gcc-2.7.2.1/include/stdio.h
Checking /usr/include/sys/mman.h
Fixed /usr/include/sys/mman.h
Checking /usr/include/curses.h
Fixed /usr/include/curses.h
Checking /usr/include/regexp.h
Checking /home/clinton/build/gcc-2.7.2.1/include/string.h
Checking /home/clinton/build/gcc-2.7.2.1/include/ieeefp.h
Checking /home/clinton/build/gcc-2.7.2.1/include/sys/signal.h
Fixed /home/clinton/build/gcc-2.7.2.1/include/sys/signal.h
Checking /usr/include/sys/mkdev.h
Fixed /usr/include/sys/mkdev.h
Checking /usr/include/sys/err.h
Fixed /usr/include/sys/err.h
Checking /usr/include/sys/map.h
Checking /usr/include/sys/cmn_err.h
Checking /usr/include/sys/stream.h
Checking /usr/include/sys/strsubr.h
Checking /usr/include/rpc/types.h
Checking /usr/include/sys/stat.h
Fixed /usr/include/sys/stat.h
Checking /home/clinton/build/gcc-2.7.2.1/include/limits.h
Fixed /home/clinton/build/gcc-2.7.2.1/include/limits.h
Replacing sys/varargs.h
Checking /home/clinton/build/gcc-2.7.2.1/include/math.h
Fixed /home/clinton/build/gcc-2.7.2.1/include/math.h
Checking /home/clinton/build/gcc-2.7.2.1/include/math.h
Fixed /home/clinton/build/gcc-2.7.2.1/include/math.h
Checking /usr/include/floatingpoint.h
Fixed /usr/include/floatingpoint.h
Removing unneeded directories:
Making internal symbolic non-directory links
Replacing <sys/byteorder.h>
rm -f include/syslimits.h
if [ -f include/limits.h ]; then \
  mv include/limits.h include/syslimits.h; \
else \
  cp ./gsyslimits.h include/syslimits.h; \
fi
chmod a+r include/syslimits.h
touch stmp-fixinc
if [ -d include ]; then true; else mkdir include; fi
if [ -d objc ]; then true; else mkdir objc; fi
thisdir1=`pwd`; \
srcdir1=`cd .; pwd`; \
cd objc; \
make -f ${srcdir1}/objc/Makefile copy-headers \
srcdir=${srcdir1} tooldir=/usr/local/sparc-sun-solaris2.5 AR="ar"
AR_FLAGS="rc" \
GCC_FOR_TARGET="${thisdir1}/xgcc -B${thisdir1}/" \
GCC_CFLAGS=" -DIN_GCC -DSVR4  -g -I./include"
incinstalldir=${thisdir1}/include
make[1]: Entering directory `/home/clinton/build/gcc-2.7.2.1/objc'
rm -fr /home/clinton/build/gcc-2.7.2.1/include/objc
mkdir /home/clinton/build/gcc-2.7.2.1/include/objc
for file in hash.h list.h sarray.h objc.h objc-api.h NXConstStr.h
Object.h Protocol.h encoding.h typedstream.h; do \
  realfile=/home/clinton/build/gcc-2.7.2.1/objc/${file}; \
  cp ${realfile} /home/clinton/build/gcc-2.7.2.1/include/objc; \
  chmod a+r /home/clinton/build/gcc-2.7.2.1/include/objc/${file}; \
done
make[1]: Leaving directory `/home/clinton/build/gcc-2.7.2.1/objc'
touch objc-headers
objdir=`pwd`; \
cd .; \
for file in .. ./ginclude/stdarg.h ./ginclude/stddef.h
./ginclude/varargs.h ./ginclude/va-alpha.h ./ginclude/va-h8300.h
./ginclude/va-i860.h ./ginclude/va-i960.h ./ginclude/va-mips.h
./ginclude/va-m88k.h ./ginclude/va-pa.h ./ginclude/va-pyr.h
./ginclude/va-sparc.h ./ginclude/va-clipper.h ./ginclude/va-spur.h
./ginclude/iso646.h ./ginclude/va-ppc.h ./ginclude/proto.h ; do \
  if [ X$file != X.. ]; then \
    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    rm -f $objdir/include/$realfile; \
    cp ginclude/$realfile $objdir/include; \
    chmod a+r $objdir/include/$realfile; \
  fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
./xgcc -B./  -DIN_GCC -DSVR4  -g -I./include    -DNO_MEM
-DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
./enquire.c:492: parse error before `lab'
./enquire.c:492: warning: data definition has no type or storage class
./enquire.c: In function `setmode':
./enquire.c:597: `stderr' undeclared (first use this function)
./enquire.c:597: (Each undeclared identifier is reported only once
./enquire.c:597: for each function it appears in.)
./enquire.c: In function `xmalloc':
./enquire.c:622: `stderr' undeclared (first use this function)
./enquire.c: In function `main':
./enquire.c:682: `stderr' undeclared (first use this function)
./enquire.c: In function `fprop':
./enquire.c:2299: `stderr' undeclared (first use this function)
./enquire.c: In function `dprop':
In file included from ./enquire.c:2834:
./enquire.c:2299: `stderr' undeclared (first use this function)
./enquire.c: In function `ldprop':
In file included from ./enquire.c:2834,
                 from ./enquire.c:2834:
./enquire.c:2299: `stderr' undeclared (first use this function)
make: *** [enquire.o] Error 1
clinton:~/build/gcc-2.7.2.1>
Technical Details
Message-ID: <32E51EB4.47A@bconnex.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,5e15752d783eca31,start
X-Google-Attributes: gid113d02,public
From: clinton@bconnex.net (Clinton Evans)
Subject: Problem compiling gcc source distribution on Solaris 2.5
Date: 1997/01/21
Message-ID: <32E51EB4.47A@bconnex.net>
X-Deja-AN: 211311525
sender: clinton@bconnex.net
content-type: text/plain; charset=us-ascii
organization: Hughes ELCAN Optical Technologies
x-gateway: relay3.UU.NET from bug-gcc to gnu.gcc.bug; Tue, 21 Jan 1997 14:55:42 EST
mime-version: 1.0
newsgroups: gnu.gcc.bug
x-mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5 sun4u)