This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0 fails on Mandrake 8.0
Alexandre Oliva wrote:
>On Jun 21, 2001, David Brusowankin <skidancer@earthlink.net> wrote:
>
>>Can y'all help ?
>>
>
>unset LC_ALL LC_COLLATE
>rm -rf i686-pc-linux-gnu/libstdc++-v3
>make bootstrap # so that it picks up from where it failed
>
Alexandre Oliva wrote:
>On Jun 21, 2001, David Brusowankin <skidancer@earthlink.net> <mailto:skidancer@earthlink.net> wrote:
>
>>Can y'all help ?
>>
>
>unset LC_ALL LC_COLLATE
>rm -rf i686-pc-linux-gnu/libstdc++-v3
>make bootstrap # so that it picks up from where it failed
>
Alexandre,
OK, I did all of that, but now .....
*configure: error: source directory already configured; run make
distclean there first**
**make[1]: *** [configure-target-libstdc++-v3] Error 1**
**make[1]: Leaving directory `/opt/gcc-3.0-objdir-thr'**
**make: *** [bootstrap] Error 2*
BTE, the configure statement this time was " */usr/local/src/gcc-3.0/
configure --enable-threads*"
Any ideas ? The complete make bootstrap output follows
Thanks,
David
/********************************************************/
make bootstrap
make[1]: Entering directory `/opt/gcc-3.0-objdir-thr/libiberty'
make[2]: Entering directory `/opt/gcc-3.0-objdir-thr/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/gcc-3.0-objdir-thr/libiberty/testsuite'
make[1]: Leaving directory `/opt/gcc-3.0-objdir-thr/libiberty'
make[1]: Entering directory `/opt/gcc-3.0-objdir-thr/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c" "INSTALL_DATA=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c " "INSTALL_SCRIPT=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2"
"LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"
"RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local"
"infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local"
"tooldir=/usr/local/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all multi-do
make[1]: Leaving directory `/opt/gcc-3.0-objdir-thr/zlib'
Bootstrapping the compiler
make[1]: Entering directory `/opt/gcc-3.0-objdir-thr/gcc'
Bootstrap complete - make "quickstrap" to redo last build,
"restage1" through "restage3" to rebuild specific stages,
or "cleanstrap" to redo the bootstrap from scratch.
make[1]: Leaving directory `/opt/gcc-3.0-objdir-thr/gcc'
Comparing stage2 and stage3 of the compiler
make[1]: Entering directory `/opt/gcc-3.0-objdir-thr/gcc'
rm -f .bad_compare
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for file in *.o; do \
tail +16c ./$file > tmp-foo1; \
tail +16c stage$stage/$file > tmp-foo2 \
&& (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >>
.bad_compare) || true; \
done
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in tmp-foo intl cp f java objc; do \
if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
for file in $dir/*.o; do \
tail +16c ./$file > tmp-foo1; \
tail +16c stage$stage/$file > tmp-foo2 \
&& (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs
>> .bad_compare) || true; \
done; \
else true; fi; \
done
rm -f tmp-foo*
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
echo "Bootstrap comparison failure!"; \
cat .bad_compare; \
exit 1; \
else \
case "compare" in \
*-lean ) rm -rf stage$stage ;; \
*) ;; \
esac; true; \
fi
make[1]: Leaving directory `/opt/gcc-3.0-objdir-thr/gcc'
Building runtime libraries
make[1]: Entering directory `/opt/gcc-3.0-objdir-thr'
make[2]: Entering directory `/opt/gcc-3.0-objdir-thr/libiberty'
make[3]: Entering directory `/opt/gcc-3.0-objdir-thr/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/gcc-3.0-objdir-thr/libiberty/testsuite'
make[2]: Leaving directory `/opt/gcc-3.0-objdir-thr/libiberty'
make[2]: Entering directory `/opt/gcc-3.0-objdir-thr/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c" "INSTALL_DATA=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c " "INSTALL_SCRIPT=/bin/sh
/usr/local/src/gcc-3.0/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2"
"LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"
"RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local"
"infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local"
"tooldir=/usr/local/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all multi-do
make[2]: Leaving directory `/opt/gcc-3.0-objdir-thr/zlib'
make[2]: Entering directory `/opt/gcc-3.0-objdir-thr/fastjar'
make[2]: Leaving directory `/opt/gcc-3.0-objdir-thr/fastjar'
make[2]: Entering directory `/opt/gcc-3.0-objdir-thr/gcc'
(cd intl && make all)
make[3]: Entering directory `/opt/gcc-3.0-objdir-thr/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/gcc-3.0-objdir-thr/gcc/intl'
(cd po && make all)
make[3]: Entering directory `/opt/gcc-3.0-objdir-thr/gcc/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/gcc-3.0-objdir-thr/gcc/po'
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
make GCC_FOR_TARGET="/opt/gcc-3.0-objdir-thr/gcc/xgcc
-B/opt/gcc-3.0-objdir-thr/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/
-B/usr/local/i686-pc-linux-gnu/lib/ -isystem
/usr/local/i686-pc-linux-gnu/include" \
HOST_PREFIX="" HOST_PREFIX_1="loser-" \
AR_FOR_TARGET="ar" \
AR_CREATE_FOR_TARGET="ar rc" \
AR_FLAGS_FOR_TARGET="" \
OLDCC="cc" CCLIBFLAGS="-O" \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
RANLIB_FOR_TARGET="ranlib" \
RANLIB_TEST_FOR_TARGET="[ -f ranlib ] || ( [ "i686-pc-linux-gnu" =
"i686-pc-linux-gnu" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
NM_FOR_TARGET="nm" AWK="mawk" \
LIBGCC2_CFLAGS="-O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
INCLUDES="-I. -I. -I/usr/local/src/gcc-3.0/gcc
-I/usr/local/src/gcc-3.0/gcc/. -I/usr/local/src/gcc-3.0/gcc/config
-I/usr/local/src/gcc-3.0/gcc/../include" MAYBE_USE_COLLECT2="" \
CONFIG_H="tconfig.h insn-codes.h insn-flags.h" MACHMODE_H="machmode.h
machmode.def" \
LIB1ASMSRC='' \
MAKEOVERRIDES= \
-f libgcc.mk all
make[3]: Entering directory `/opt/gcc-3.0-objdir-thr/gcc'
for d in libgcc; do \
if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make[3]: Leaving directory `/opt/gcc-3.0-objdir-thr/gcc'
make[2]: Leaving directory `/opt/gcc-3.0-objdir-thr/gcc'
Configuring in i686-pc-linux-gnu/libstdc++-v3
loading cache ../config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/sh
/usr/local/src/gcc-3.0/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
*configure: error: source directory already configured; run make
distclean there first**
**make[1]: *** [configure-target-libstdc++-v3] Error 1**
**make[1]: Leaving directory `/opt/gcc-3.0-objdir-thr'**
**make: *** [bootstrap] Error 2*
david@localhost <mailto:david@localhost> /opt/gcc-3.0-objdir-thr $