Article View: gnu.gcc.bug
Article #5957gcc-2.7.2.1: fixincludes error
From: Guenter Millahn
Date: Tue, 14 Jan 1997 00:00
Date: Tue, 14 Jan 1997 00:00
602 lines
28018 bytes
28018 bytes
Dear GNU People,
today in the evening I wanted to build gcc-2.7.2.1 on a Sun Ultra 2.
During build I detected an error in fixincludes section:
It seems that gcc 2.7.2.1 has problems with Solaris 2.5(.1) because
I don't have this problems on Solaris 2.4.
I am be able to work on this problem together with you to fix it.
Regards, Guenter
===============================================================================
Here are the facts:
Arch: Sun UltraSPARC 2 Creator ( 2x200MHz UltraSPARC processors)
OS: Solaris 2.5.1
Story: I built the gcc 2.7.2.1 on a SPARC Station 20 with Solaris 2.4.
I installed it on the Ultra under /src/{bin,lib,info,...}
I also installed bison, flex, make there, too.
Then I made my PATH variable to point to /src/bin first.
Next step was to untar gcc-2.7.2.1.tar under src.
After this I did a ./configure --prefix /src.
Next step was the make for ste stage1 compiler.
I got the error messages below.
During the make I viewed to /src/gcc-2.7.2.1/include using
another window and I saw the v7/sys directory
Errorlog:
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/src/lib/gcc-lib/sparc-sun-solaris/2.7.2.1/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/src/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/src/lib/gcc-lib/sparc-sun-solaris/2.7.2.1/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/src/sparc-sun-solaris/include\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c ./cexp.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config version.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config obstack.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
-c `echo ./alloca.c | sed 's,^\./,,'`
true
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o cccp cccp.o cexp.o \
version.o obstack.o ` case "gcc -O4 -s" in "cc") echo "alloca.o" ;; esac `
rm -f cpp
ln cccp cpp > /dev/null 2>&1 \
|| cp cccp cpp
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c ./c-parse.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-lang.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-lex.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-pragma.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-decl.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-typeck.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-convert.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-aux-info.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-common.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config c-iterate.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genattr.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config rtl.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genattr \
genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
\
-c `echo ./toplev.c | sed 's,^\./,,'`
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config tree.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config print-tree.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config stor-layout.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config fold-const.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genflags.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genflags \
genflags.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./gencodes.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o gencodes \
gencodes.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genconfig.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genconfig \
genconfig.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config function.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
./bi-opcode.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
./bi-parser.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
./bi-lexer.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
./bi-reverse.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o bi-opcode \
bi-opcode.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config stmt.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config expr.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config calls.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config expmed.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config explow.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config optabs.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config varasm.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config print-rtl.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config rtlanal.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
./bi-opname.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o bi-opname \
bi-opname.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config emit-rtl.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config real.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config dbxout.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config sdbout.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config dwarfout.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config xcoffout.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config integrate.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config jump.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config cse.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config loop.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config unroll.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config flow.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config stupid.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config combine.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config regclass.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config local-alloc.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config global.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config reload.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config reload1.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config caller-save.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genpeep.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genpeep \
genpeep.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c insn-peep.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config reorg.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config sched.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config final.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config recog.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config reg-stack.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genopinit.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genopinit \
genopinit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c insn-opinit.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genrecog.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genrecog \
genrecog.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c insn-recog.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genextract.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genextract \
genextract.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c insn-extract.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genoutput.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genoutput \
genoutput.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c insn-output.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genemit.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genemit \
genemit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c insn-emit.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./genattrtab.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o genattrtab \
genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -c insn-attrtab.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./config/sparc/sparc.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config getpwd.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config convert.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
./bi-arity.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o bi-arity \
bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"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
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config bc-emit.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config bc-optab.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -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 "gcc -O4 -s" in "cc") echo "alloca.o" ;; esac `
/bin/sh ./genmultilib "" \
"" "" > multilib.h
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
-DSTANDARD_STARTFILE_PREFIX=\"/src/lib/\" \
-DSTANDARD_EXEC_PREFIX=\"/src/lib/gcc-lib/\" \
-DDEFAULT_TARGET_VERSION=\"2.7.2.1\" \
-DDEFAULT_TARGET_MACHINE=\"sparc-sun-solaris\" \
-DTOOLDIR_BASE_PREFIX=\"/src/\" \
\
-c `echo ./gcc.c | sed 's,^\./,,'`
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o xgcc gcc.o version.o obstack.o ` case "gcc -O4 -s" 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
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config -s -o g++ ./cp/g++.c obstack.o ` case "gcc -O4 -s" 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 /src/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
Fixed ./sys/fs/hsfs_isospec.h
Fixed ./sys/fs/hsfs_spec.h
Fixed ./sys/fs/pc_label.h
Fixed ./sys/proc/prdata.h
Fixed ./sys/scsi/adapters/plnvar.h
Fixed ./sys/scsi/impl/pkt_wrapper.h
Fixed ./sys/audio_4231.h
Fixed ./sys/cis.h
Fixed ./sys/cis_protos.h
Fixed ./sys/core.h
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/fdvar.h
Fixed ./sys/isa_defs.h
Fixed ./sys/mman.h
Fixed ./sys/msg.h
Fixed ./sys/pcmcia.h
Fixed ./sys/pctypes.h
Fixed ./sys/proc.h
Fixed ./sys/ptrace.h
Fixed ./sys/signal.h
Fixed ./sys/socvar.h
Fixed ./sys/sunddi.h
Fixed ./sys/types.h
Fixed ./sys/user.h
Fixed ./sys/utrap.h
Fixed ./sys/utsname.h
Fixed ./sys/varargs.h
Fixed ./sys/vuid_event.h
Fixed ./sys/hme_mac.h
Fixed ./sys/ieeefp.h
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
Fixed ./float.h
Fixed ./grp.h
Fixed ./ieeefp.h
Fixed ./limits.h
Fixed ./locale.h
Fixed ./prof.h
Fixed ./pwd.h
Fixed ./setjmp.h
Fixed ./signal.h
Fixed ./stdarg.h
Fixed ./stdio.h
Fixed ./stdlib.h
Fixed ./string.h
Fixed ./thread.h
Fixed ./time.h
Fixed ./unistd.h
Fixed ./values.h
Fixed ./varargs.h
Fixed ./widec.h
Fixed ./math.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 memory.h
Fixing size_t, ptrdiff_t and wchar_t in unistd.h
Checking /src/gcc-2.7.2.1/include/stdlib.h
Checking /src/gcc-2.7.2.1/include/unistd.h
Fixed /src/gcc-2.7.2.1/include/unistd.h
Checking /usr/include/sys/param.h
Fixed /usr/include/sys/param.h
Checking /src/gcc-2.7.2.1/include/stdio.h
Fixed /src/gcc-2.7.2.1/include/stdio.h
Checking /src/gcc-2.7.2.1/include/sys/mman.h
Fixed /src/gcc-2.7.2.1/include/sys/mman.h
Checking /usr/include/curses.h
Fixed /usr/include/curses.h
Checking /usr/include/regexp.h
Checking /src/gcc-2.7.2.1/include/string.h
Checking /src/gcc-2.7.2.1/include/ieeefp.h
Checking /src/gcc-2.7.2.1/include/sys/signal.h
Fixed /src/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 /src/gcc-2.7.2.1/include/limits.h
Fixed /src/gcc-2.7.2.1/include/limits.h
Replacing sys/varargs.h
Checking /src/gcc-2.7.2.1/include/math.h
Fixed /src/gcc-2.7.2.1/include/math.h
Checking /src/gcc-2.7.2.1/include/math.h
Fixed /src/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=/src/sparc-sun-solaris AR="ar" AR_FLAGS="rc" \
GCC_FOR_TARGET="${thisdir1}/xgcc -B${thisdir1}/" \
GCC_CFLAGS=" -DIN_GCC -DSVR4 -O4 -I./include" incinstalldir=${thisdir1}/include
make[1]: Entering directory `/src/gcc-2.7.2.1/objc'
rm -fr /src/gcc-2.7.2.1/include/objc
mkdir /src/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=/src/gcc-2.7.2.1/objc/${file}; \
cp ${realfile} /src/gcc-2.7.2.1/include/objc; \
chmod a+r /src/gcc-2.7.2.1/include/objc/${file}; \
done
make[1]: Leaving directory `/src/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 -O4 -I./include -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
if [ -f libgcc2.ready ] ; then \
true; \
else \
touch libgcc2.ready; \
fi
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _pure; \
do \
echo ${name}; \
./xgcc -B./ -O2 -DIN_GCC -DSVR4 -O4 -I./include -g1 -I. -I. -I./config -c -DL${name} \
./libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
_divdi3
_moddi3
_udivdi3
_umoddi3
_negdi2
_lshrdi3
_ashldi3
_ashrdi3
_ffsdi2
_udiv_w_sdiv
_udivmoddi4
_cmpdi2
_ucmpdi2
_floatdidf
_floatdisf
_fixunsdfsi
_fixunssfsi
_fixunsdfdi
_fixdfdi
_fixunssfdi
_fixsfdi
_fixxfdi
_fixunsxfdi
_floatdixf
_fixunsxfsi
_fixtfdi
_fixunstfdi
_floatditf
__gcc_bcmp
_varargs
_eprintf
_op_new
_op_vnew
_new_handler
_op_delete
_op_vdel
_bb
_shtab
_clear_cache
_trampoline
__main
_exit
_ctors
_eh
_pure
for file in .. ; \
do \
if [ x${file} != x.. ]; then \
name=`echo ${file} | sed -e 's/[.][cS]$//' -e 's/[.]asm$//'`; \
oname=` echo ${name} | sed -e 's,.*/,,'`; \
echo ${name}; \
if [ ${name}.asm = ${file} ]; then \
cp ${file} ${name}.s || exit 1; file=${name}.s; \
else true; fi; \
./xgcc -B./ -O2 -DIN_GCC -DSVR4 -O4 -I./include -g1 -I. -I. -I./config -c ${file}; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
ar rc tmplibgcc2.a ${oname}.o; \
rm -f ${name}.s ${oname}.o; \
else true; \
fi; \
done
mv tmplibgcc2.a libgcc2.a
rm -rf tmplibgcc.a libgcc.a tmpcopy
mkdir tmpcopy
if [ x != x ]; \
then (cd tmpcopy; ar x ../); \
else true; \
fi
(cd tmpcopy; chmod +w * > /dev/null 2>&1)
make: [libgcc.a] Error 1 (ignored)
(cd tmpcopy; ar x ../libgcc2.a)
(cd tmpcopy; ar rc ../tmplibgcc.a *.o)
rm -rf tmpcopy
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib tmplibgcc.a; else true; fi
mv tmplibgcc.a libgcc.a
as -o crt1.o ./config/sparc/sol2-c1.asm
as -o crti.o ./config/sparc/sol2-ci.asm
as -o crtn.o ./config/sparc/sol2-cn.asm
./xgcc -B./ -DIN_GCC -DSVR4 -O4 -I./include -I. -I. -I./config \
-c ./config/sparc/gmon-sol2.c -o gmon.o
./xgcc -B./ -DIN_GCC -DSVR4 -O4 -I./include -I. -I. -I./config `if [ -z "" ]; then echo -fPIC -B/usr/ccs/bin/; fi` \
-DCRT_BEGIN -finhibit-size-directive -fno-inline-functions \
-g0 -c ./crtstuff.c
mv crtstuff.o crtbegin.o
./xgcc -B./ -DIN_GCC -DSVR4 -O4 -I./include -I. -I. -I./config `if [ -z "" ]; then echo -fPIC -B/usr/ccs/bin/; fi` \
-DCRT_END -finhibit-size-directive -fno-inline-functions \
-g0 -c ./crtstuff.c
mv crtstuff.o crtend.o
touch stamp-crt
./xgcc -B./ -DIN_GCC -DSVR4 -O4 -I./include -s enquire.o -o enquire
./enquire -f > tmp-float.h
mv tmp-float.h float.h-nat
rm -f gfloat.h
cp float.h-nat gfloat.h
rm -f include/float.h
cp gfloat.h include/float.h
chmod a+r include/float.h
touch stmp-headers
CC="./xgcc -B./ -DIN_GCC -DSVR4 -O4 -I./include -I. -I. -Iinclude -I/usr/include"; \
export CC; \
/bin/sh ./scan-types.sh "." >tmp-deduced.h
mv tmp-deduced.h deduced.h
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./gen-protos.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./scan.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config cppalloc.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o gen-protos \
gen-protos.o scan.o cppalloc.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo ;; esac `
cat deduced.h ./sys-protos.h > tmp-fixtmp.c
mv tmp-fixtmp.c fixtmp.c
./xgcc -B./ 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
mv xsys-protos.hT xsys-protos.h
rm -rf fixtmp.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./fix-header.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./scan-decls.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/src/lib/gcc-lib/sparc-sun-solaris/2.7.2.1/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/src/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/src/lib/gcc-lib/sparc-sun-solaris/2.7.2.1/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/src/sparc-sun-solaris/include\" \
-c `echo ./cpplib.c | sed 's,^\./,,'`
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config cpphash.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config cppexp.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config cpperror.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s -o fix-header fix-header.o \
scan-decls.o scan.o cpplib.o cpphash.o cppalloc.o version.o \
cppexp.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O4 -s"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo ;; esac `
if [ -f fixhdr.ready ] ; then \
true; \
else \
touch fixhdr.ready; \
fi
Various warnings and error messages from fixproto are normal
if [ -d include ] ; then true; else mkdir include; fi
if [ -f include/fixed ] ; then true; \
else \
: This line works around a 'make' bug in BSDI 1.1.; \
FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; \
/bin/sh ./fixproto include include /usr/include; \
touch include/fixed; \
fi
fixproto: populating `include'
(No *.h files in /src/gcc-2.7.2.1/include/sys/scsi)
(No *.h files in /src/gcc-2.7.2.1/include/v9)
mkdir: Failed to make directory "/src/gcc-2.7.2.1/include/v7/sys"; No such file or directory
mkdir: Failed to make directory "/src/gcc-2.7.2.1/include/v7/sys"; No such file or directory
fix-header: fixing errno.h
touch stmp-fixproto
rm -f cxxmain.c
ln -s ./cplus-dem.c cxxmain.c > /dev/null 2>&1 \
|| cp ./cplus-dem.c cxxmain.c
gcc -O4 -s -c -DMAIN -DIN_GCC -DSVR4 -O4 -I. -I. -I./config \
-DVERSION=\"2.7.2.1\" cxxmain.c
rm -f cxxmain.c
echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -S tmp-dum.c
echo '/*WARNING: This file is automatically generated!*/' >tmp-under.c
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
echo "int prepends_underscore = 1;" >>tmp-under.c; \
else \
echo "int prepends_underscore = 0;" >>tmp-under.c; \
fi
./move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
touch stamp-under
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config underscore.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./getopt.c
gcc -O4 -s -c -DIN_GCC -DSVR4 -O4 -I. -I. -I./config ./getopt1.c
gcc -O4 -s -DIN_GCC -DSVR4 -O4 -s obstack.o ` case "gcc -O4 -s" in "cc") echo "alloca.o" ;; esac ` -o c++filt \
cxxmain.o underscore.o getopt.o getopt1.o
--
Guenter Millahn Cottbus University of Technology
Systems and Network Administrator Computer Science Department
Voice: +49 (355) 69-2711 P.O. Box: 10 13 44
Fax: +49 (355) 69-2766 D-03013 Cottbus GERMANY
Technical Details
Message-ID:
<199701142128.WAA00010@pt.Informatik.TU-Cottbus.DE>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,a4371fa60df7d02b,start X-Google-Attributes: gid113d02,public From: gm@Informatik.TU-Cottbus.DE (Guenter Millahn) Subject: gcc-2.7.2.1: fixincludes error Date: 1997/01/14 Message-ID: <199701142128.WAA00010@pt.Informatik.TU-Cottbus.DE> X-Deja-AN: 209849156 sender: bug-gcc-request@prep.ai.mit.edu content-type: text/plain; charset=US-ASCII x-gateway: relay3.UU.NET from bug-gcc to gnu.gcc.bug; Tue, 14 Jan 1997 18:05:43 EST mime-version: 1.0 newsgroups: gnu.gcc.bug x-mailer: ELM [version 2.4ME+ PL11 (25)]