On 19/01/2011 16:21, Ian Lance Taylor wrote:
Olumide<50295@xxxxxx> writes:
On 19/01/2011 15:02, Cedric Roux wrote:
On 01/19/2011 03:48 PM, Olumide wrote:
/usr/include/gnu/stubs.h:7:27:/usr/include/gnu/stubs.h:7:27:
error: error: gnu/stubs-32.h: No such file or directorygnu/stubs-32.h:
No such file or directory
pass --disable-multilib to configure
The build fails with the following error:
...
You did not include enough of the make log. You need to look farther up
to see what the actual error is.
Having scrolled too far, I had to run make -j 2 bootstrap again in order
to get the following message. (I can do a fresh build if I need to.)
user@wg0606:/transfer/gcc412/gcc-4.1.2/build$ make -j 2 bootstrap
x=/opt/gcc412
make[1]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/intl'
make[1]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libiber
ty'
make[1]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/libiberty'
make[2]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libiber
ty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libibert
y/testsuite'
make[1]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libibert
y'
make[2]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/libiberty/testsuite'
make[1]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=-g -O2 " "CFLAGS_FOR_TARGET=-O2 -g -O2 "
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
-c" "LDFLAGS=" "LIBCFLAG S=-g -O2 " "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 "
"MAKE=make" "MAKEINFO=/transfer/gcc412/gcc-4.1.2/miss
ing makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/opt/gcc412" "infodir=/opt/gcc412/info" "libdir=/opt
/gcc412/lib" "prefix=/opt/gcc412"
"tooldir=/opt/gcc412/x86_64-unknown-linux-gnu" "AR=ar" "AS=as" "CC =gcc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2 " "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all mul ti-do # make
make[1]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/zlib'
make[1]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/libiberty'
make[1]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/fixincl
udes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/fixinclu
des'
make[1]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/libcpp'
Bootstrapping the compiler
make[1]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/gcc'
Bootstrap complete - make "quickstrap" to redo last build, "restage1"
through "restage3" to rebuild specific stages, "restrap" to redo the
bootstrap from stage1, or "cleanstrap" to redo the bootstrap from scratch.
make[1]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/gcc'
Comparing stage2 and stage3 of the compiler
make[1]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/gcc'
rm -f .bad_compare
case "gnucompare" in *compare | *compare-lean ) stage=2 ;; * )
stage=`echo gnucompare | sed -e 's,^[
a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in . cp java objc build libgcc; do \
if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
for file in $dir/*.o; do \
case "gnucompare" in \
slowcompare* ) \
tail +16c ./$file > tmp-foo1; \
tail +16c stage$stage/$file > tmp-foo2; \
cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1; \
cmpret=$?; \
;; \
fastcompare* ) \
cmp $file stage$stage/$file 16 16 > /dev/null 2>&1; \
cmpret=$?; \
;; \
gnucompare* ) \
cmp --ignore-initial=16 $file stage$stage/$file >
/dev/null 2>&1; \
cmpret=$?; \
;; \
esac ; \
if test $cmpret -eq 1; then \
case $file in \
./cc*-checksum.o | libgcc/* ) \
echo warning: $file differs;; \
*) \
echo $file differs >> .bad_compare;; \
esac ; \
fi; \
done; \
else true; fi; \
done
rm -f tmp-foo*
case "gnucompare" in *compare | *compare-lean ) stage=2 ;; * )
stage=`echo gnucompare | sed -e 's,^[
a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
echo "Bootstrap comparison failure!"; \
cat .bad_compare; \
exit 1; \
else \
case "gnucompare" in \
*-lean ) rm -rf stage$stage ;; \
*) ;; \
esac; true; \
fi
make[1]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/gcc'
Building runtime libraries
make[1]: Entering directory `/transfer/gcc412/gcc-4.1.2/build'
make[2]: Entering directory `/transfer/gcc412/gcc-4.1.2/build'
make[3]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=-g -O2 " "CFLAGS_FOR_TARGET=-O2 -g -O2 "
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
-c" "LDFLAGS=" "LIBCFLAG S=-g -O2 " "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 "
"MAKE=make" "MAKEINFO=/transfer/gcc412/gcc-4.1.2/miss
ing makeinfo --split-size=5000000 --split-size=5000000
--split-size=5000000 " "PICFLAG=" "PICFLAG_FO R_TARGET=" "SHELL=/bin/sh"
"EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/opt/gcc41 2" "infodir=/opt/gcc412/info"
"libdir=/opt/gcc412/lib" "prefix=/opt/gcc412" "tooldir=/opt/gcc412/x86
_64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld"
"LIBCFLAGS=-g -O2 " "NM=nm" "PICFL AG=" "RANLIB=ranlib" "DESTDIR="
DO=all multi-do # make
make[3]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/zlib'
make[3]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/libiberty'
make[3]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/intl'
make[4]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/libiberty/testsuite'
make[3]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/libiberty'
make[3]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libiber
ty'
make[3]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/fastjar'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=-g -O2 " "CFLAGS_FOR_TARGET=-O2 -g -O2 "
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
-c" "JC1FLAGS=" "LDFLAGS =" "LIBCFLAGS=-g -O2 "
"LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make"
"MAKEINFO=/transfer/gcc412/gc c-4.1.2/missing makeinfo
--split-size=5000000 --split-size=5000000 --split-size=5000000 "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"exec_prefix=/opt/gcc412" "infodir=/opt/gcc412/info" "libdir=
/opt/gcc412/lib" "prefix=/opt/gcc412" "AR=ar" "AS=as" "CC=gcc" "CXX=c++"
"LD=ld" "LIBCFLAGS=-g -O2 " "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" all-am
make[4]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libiber
ty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libibert
y/testsuite'
make[4]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/fastjar'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in fastjar.info fastjar.info-[0-9]
fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0- 9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if /transfer/gcc412/gcc-4.1.2/missing makeinfo
--split-size=5000000 --split-size=5000000 --s plit-size=5000000 -I
../../fastjar/../gcc/doc/include -I ../../fastjar \
-o fastjar.info `test -f 'fastjar.texi' || echo
'../../fastjar/'`fastjar.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./fastjar.info" | sed
's|[^/]*$||'`; \
fi; \
make[3]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/libibert
y'
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[3]: Entering directory `/transfer/gcc412/gcc-4.1.2/build/fixincludes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/fixincludes'
make[4]: *** [fastjar.info] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/fastjar'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build/fastjar'
make[2]: *** [all-fastjar] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Entering directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/transfer/gcc412/gcc-4.1.2/build/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/transfer/gcc412/gcc-4.1.2/build'
make: *** [bootstrap] Error 2