build problems with egcs-1.0 on linux-i486
Albert Cranford
AlbertC@millennium.net
Wed Dec 17 17:17:00 GMT 1997
Hello Jeffery,
Sorry for the previous bounced message. I'll try this again.
I am using gcc 2.7.2.3, binutils 2.8.1.0.15 and libc 5.4.38 and
linux-2.1.72
and trying to compile egcs-1.0. I start with straight configuration.
./configure --verbose --prefix='/usr/local/egcs'
execute config.guess results with config.guess results
in:i486-pc-linux-gnulibc1
Then start building compiler with make bootstrap and it fails in gcc
directory.
I read your answer to Lars Schmidt-Thieme
<lschmidt@ix.urz.uni-heidelberg.de>
'You might be able to diagnose this problem by going into the gcc object
directory and adding "-v" to the above line -- doing so might give us
some
hints about what going wrong.'
Do you mean set -e in the gcc/Makefile
# set -e;
for name in $(LIB1FUNCS); \
do \
echo $${name}; \
rm -f $${name}$(objext); \
$(OLDCC) -DIN_LIBGCC1 $(CCLIBFLAGS) $(INCLUDES) -c -DL$${name}
$(srcdir)/libgcc1.c; \
if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
mv libgcc1$(objext) $${name}$(objext); \
$(OLDAR) $(OLDAR_FLAGS) tmplibgcc1.a $${name}$(objext); \
rm -f $${name}$(objext); \
done
# Some shells crash when a loop has no items.
I read your answer to Sergey Zhumatiy <serg@vvv.srcc.msu.su> but do not
understand what you mean by this statement:
'Hmmm, the only thing that comes immediately to mind is the old specs
problem.
What variables are set in your environment?'
Here are my environment vars from the set command:
BASH=/bin/bash
BASH_VERSION=1.14.7(1)
CBSPATH=/usr/src/cbs/data
CHECKEROPTS=-v -o=/tmp/checker.out
COLUMNS=75
CPLUS_INCLUDE_PATH=/usr/local/qt/include:/usr/local/qt/include:
CXX=gcc
DISPLAY=:0.0
EUID=0
GPM_IS_DEAD=
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTDISPLAY=home:0.0
HOSTNAME=home.cranford
HOSTTYPE=i386
IFS=
KDEDIR=/usr/local/kde
LD_LIBRARY_PATH=/usr/local/qt/lib:/usr/local/qt/lib:
LESS=-MM
LESSOPEN=|lesspipe.sh %s
LIBRARY_PATH=/usr/local/qt/lib:/usr/local/qt/lib:
LINES=23
LOGNAME=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:\
cd=40;33;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:\
*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:\
*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:\
*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:
LS_OPTIONS=--8bit --color=tty -F -b -T 0
MAIL=/var/spool/mail/root
MAILCHECK=60
MANPATH=/usr/local/qt/man:/usr/local/man:/usr/man/preformat:\
/usr/man:/usr/X11/man:/usr/openwin/man
MINICOM=-c on
MM=/dosd/progra~1/Netscape/Navigator/Mail
MOUSE_TYPE=ttyS1
OLDPWD=/usr/src/egcs-1.0/object
OPENWINHOME=/usr/openwin
OPTERR=1
OPTIND=1
OSTYPE=Linux
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:\
/sbin:/usr/X11/bin:/usr/andrew/bin:/usr/openwin/bin:/usr/games:\
.:/usr/local/netscape:/usr/local/kde/bin:/usr/local/qt/bin:\
/usr/X11/bin:/usr/andrew/bin:/usr/openwin/bin:/usr/games:.:\
/usr/local/netscape:/usr/local/kde/bin:/usr/local/qt/bin
PPID=294
PS1=\h:\w\$
PS2=>
PS4=+
PWD=/usr/src/egcs-1.0/object/gcc
QTDIR=/usr/local/qt
SHELL=/bin/bash
SHLVL=4
UID=0
WINDOWID=46137359
_=set
ignoreeof=10
#########################
make[1]: Entering directory `/usr/src/egcs-1.0/libiberty'
if [ -n "" ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
SNIP .................SNIP
make[1]: Entering directory `/usr/src/egcs-1.0/gcc'
make CC="gcc" libdir=/usr/local/egcs/lib LANGUAGES="c "
make[2]: Entering directory `/usr/src/egcs-1.0/gcc'
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
-DGCC_INCLUDE_DIR=\"/usr/local/egcs/lib/gcc-lib/i486-pc-linux-gnulibc1/egcs-2.90.21/include\"
\
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/egcs/include/g++\" \
-DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/local/egcs/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/egcs/lib/gcc-lib/i486-pc-linux-gnulibc1/egcs-2.90.21/sys-include\"
\
-DTOOL_INCLUDE_DIR=\"/usr/local/egcs/i486-pc-linux-gnulibc1/include\"
\
-c `echo ./cccp.c | sed 's,^\./,,'`
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c ./cexp.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config version.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config obstack.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o cccp cccp.o
cexp.o \
version.o obstack.o
rm -f cpp
ln cccp cpp
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c ./c-parse.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-lang.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-lex.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-pragma.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-decl.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-typeck.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-convert.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-aux-info.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-common.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config c-iterate.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genattr.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config rtl.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genattr \
genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genattr ./config/i386/i386.md > tmp-attr.h
./move-if-change tmp-attr.h insn-attr.h
touch stamp-attr
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
-DTARGET_NAME=\"i486-pc-linux-gnulibc1\" \
-c `echo ./toplev.c | sed 's,^\./,,'`
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config tree.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config print-tree.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config stor-layout.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config fold-const.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genflags.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genflags \
genflags.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genflags ./config/i386/i386.md > tmp-flags.h
./move-if-change tmp-flags.h insn-flags.h
touch stamp-flags
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./gencodes.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o gencodes \
gencodes.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./gencodes ./config/i386/i386.md > tmp-codes.h
./move-if-change tmp-codes.h insn-codes.h
touch stamp-codes
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genconfig.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genconfig \
genconfig.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genconfig ./config/i386/i386.md > tmp-config.h
./move-if-change tmp-config.h insn-config.h
touch stamp-config
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config function.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
./bi-opcode.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
./bi-parser.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
./bi-lexer.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
./bi-reverse.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o bi-opcode \
bi-opcode.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in
?*) echo obstack.o ;; esac ` ` case "" in ?*) echo ;; 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 -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config stmt.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config except.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config expr.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config calls.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config expmed.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config explow.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config optabs.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config varasm.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config print-rtl.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config rtlanal.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
./bi-opname.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o bi-opname \
bi-opname.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in
?*) echo obstack.o ;; esac ` ` case "" in ?*) echo ;; 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 -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config emit-rtl.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config real.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config regmove.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config dbxout.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config sdbout.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config dwarfout.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config dwarf2out.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config xcoffout.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config bitmap.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config alias.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config integrate.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config jump.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config cse.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config loop.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config unroll.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config flow.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config stupid.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config combine.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config regclass.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config local-alloc.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config global.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config reload.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config reload1.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config caller-save.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genpeep.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genpeep \
genpeep.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genpeep ./config/i386/i386.md > tmp-peep.c
./move-if-change tmp-peep.c insn-peep.c
touch stamp-peep
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c insn-peep.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config reorg.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config sched.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config final.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config recog.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config reg-stack.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genopinit.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genopinit \
genopinit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genopinit ./config/i386/i386.md > tmp-opinit.c
./move-if-change tmp-opinit.c insn-opinit.c
touch stamp-opinit
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c insn-opinit.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genrecog.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genrecog \
genrecog.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genrecog ./config/i386/i386.md > tmp-recog.c
./move-if-change tmp-recog.c insn-recog.c
touch stamp-recog
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c insn-recog.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genextract.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genextract \
genextract.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genextract ./config/i386/i386.md > tmp-extract.c
./move-if-change tmp-extract.c insn-extract.c
touch stamp-extract
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c insn-extract.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genoutput.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genoutput \
genoutput.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genoutput ./config/i386/i386.md > tmp-output.c
./move-if-change tmp-output.c insn-output.c
touch stamp-output
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c insn-output.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genemit.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genemit \
genemit.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genemit ./config/i386/i386.md > tmp-emit.c
./move-if-change tmp-emit.c insn-emit.c
touch stamp-emit
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c insn-emit.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config profile.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./genattrtab.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o genattrtab \
genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo
obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*)
echo ;; esac `
if cmp -s Makefile ./config/i386/i386.md; \
then \
echo Using ; \
cp tmp-attrtab.c; \
else \
./genattrtab ./config/i386/i386.md > tmp-attrtab.c; \
fi
./move-if-change tmp-attrtab.c insn-attrtab.c
touch stamp-attrtab
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config -c insn-attrtab.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config ./config/i386/i386.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config getpwd.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config convert.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
./bi-arity.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o bi-arity \
bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o ` case "obstack.o" in
?*) echo obstack.o ;; esac ` ` case "" in ?*) echo ;; 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 -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config bc-emit.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config bc-optab.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -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 except.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 regmove.o dbxout.o sdbout.o dwarfout.o dwarf2out.o
xcoffout.o bitmap.o alias.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 profile.o insn-attrtab.o i386.o getpwd.o convert.o
bc-emit.o bc-optab.o obstack.o
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
-DTARGET_MACHINE=\"i486-pc-linux-gnulibc1\" \
-c `echo ./collect2.c | sed 's,^\./,,'`
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config tlink.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config hash.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config cplus-dem.c
/bin/sh ./genmultilib \
"" \
"" \
"" \
"" \
"" > tmp-mlib.h
./move-if-change tmp-mlib.h multilib.h
touch stamp-mlib
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config \
-DSTANDARD_STARTFILE_PREFIX=\"/usr/local/egcs/lib/\"
-DSTANDARD_EXEC_PREFIX=\"/usr/local/egcs/lib/gcc-lib/\"
-DDEFAULT_TARGET_VERSION=\"egcs-2.90.21\"
-DDEFAULT_TARGET_MACHINE=\"i486-pc-linux-gnulibc1\"
-DTOOLDIR_BASE_PREFIX=\"/usr/local/egcs/\" \
-c `echo ./gcc.c | sed 's,^\./,,'`
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config choose-temp.c
gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config pexecute.c
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o xgcc gcc.o
version.o \
choose-temp.o pexecute.o obstack.o
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 -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I.
-I./config underscore.c
rm -f collect2
gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -o collect2
collect2.o tlink.o hash.o \
cplus-dem.o underscore.o version.o choose-temp.o obstack.o
rm -f ld
ln collect2 ld
./xgcc -B./ -dumpspecs > tmp-specs
mv tmp-specs specs
rm -f tmplibgcc1.a
for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _lshrsi3 _ashrsi3
_ashlsi3 _divdf3 _muldf3 _negdf2 _adddf3 _subdf3 _fixdfsi _fixsfsi
_floatsidf _floatsisf _truncdfsf2 _extendsfdf2 _addsf3 _negsf2 _subsf3
_mulsf3 _divsf3 _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2
_gtsf2 _gesf2 _ltsf2 _lesf2; \
do \
echo ${name}; \
rm -f ${name}.o; \
cc -DIN_LIBGCC1 -O -I. -I. -I./config -c -DL${name} ./libgcc1.c; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
mv libgcc1.o ${name}.o; \
ar qc tmplibgcc1.a ${name}.o; \
rm -f ${name}.o; \
done
_mulsi3
cpp: Usage: /usr/lib/gcc-lib/i586-unknown-linux-gnulibc1/2.7.2.3/cpp
[switches] input output
make[2]: *** [libgcc1.a] Error 1
make[2]: Leaving directory `/usr/src/egcs-1.0/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/src/egcs-1.0/gcc'
make: *** [bootstrap-lean] Error 2
Thanks for responding to all the Linux users, it helps.
I'll retry with set -e -v
Albert
More information about the Gcc-bugs
mailing list