This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

extremely disappointing bootstrap problems building gcc on linux :(


Hi everybody,

I have tried unsuccessfully to build gcc 3.2.2 and now 3.3, on 
Mandrake 8.2 (with lots of updates).

I have tried building with gcc 2.95.3 , Mandrake (ie Redhat's) 2.96, and 
with 3.04. 

I would just installl a newer gcc from an rpm but newer rpms seem to 
have dependencies on newer glibc etc etc And i would prefer to build 
it myself anyway, because I have heard elsewhere that Mandrake tends 
to do weird things with the configuration of  gcc in their rpms.

I am following the build procedure correctly, but it just doesnt work.

I have built gigabytes of software on my system so I am prety sure there 
is nothing so unusual about it that building gcc should fail so miserably. 

I dont want this email to sound too hypercritical... but, i just dont get it.
How can it possibly be this hard to build gcc, using gcc, on an otherwise
nicely working linux?

Even building GHC was a piece of cake compared to this.

There are no configure errors, telling me i have outdated utilities, or 
missing libs, or anything, the configure goes fine... (well, except for a
warning about an out of date makeinfo, but that is not the problem).

The md5sum on my gcc-3.2.2.tar.bz2 is fine.
The md5sum on my gcc-3.2.2-3.2.3.diff.bz2 is fine.
The md5sum on my gcc-3.3.tar.bz2 is fine.

I am building with:
automake (GNU automake) 1.5
autoconf (GNU Autoconf) 2.57
glibc-2.2.4-25mdk
kernel-2.4.18.6mdk-1-1mdk (but recompiled with alsa 0.9.0rc2 support)

The gcc3.2.2 builds fail in stage 1 at underscore.c 
and the gcc 3.3 builds fail at gcc-3.3/gcc/cp/g++spec.c as it does not exist

Help! Anyone! Please tell me what is going on here !!

thanks very much for any help,

John



ps here is a long list of Build Failures, with various compilers and flags:

---------------------------------------------------------------3.2.2

gcc 3.2.2 compiled with 2.95.3:
configured with --enable-shared --enable-threads 
make bootstrap
...
gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
  -I. -I. -I/mnt/scsi/src/gcc-3.2.2/gcc -I/mnt/scsi/src/gcc-3.2.2/gcc/. 
-I/mnt/scsi/src/gcc-3.2.2/gcc/config -I/mnt/scsi/src/gcc-3.2.2/gcc/../include 
underscore.c -o underscore.o
underscore.c:0: malformed option `-A system=posix'
underscore.c:0: malformed option `-A cpu=i386'
underscore.c:0: malformed option `-A machine=i386'
make[2]: *** [underscore.o] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make: *** [bootstrap] Error 2



-----------------------------------
gcc 3.2.2 compiled with 2.96:
configured with --enable-shared --enable-threads 
make bootstrap

gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
  -I. -I. -I/mnt/scsi/src/gcc-3.2.2/gcc -I/mnt/scsi/src/gcc-3.2.2/gcc/. 
-I/mnt/scsi/src/gcc-3.2.2/gcc/config -I/mnt/scsi/src/gcc-3.2.2/gcc/../include 
/mnt/scsi/src/gcc-3.2.2/gcc/cppmain.c -o cppmain.o
gcc -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
-o cpp0 cppmain.o \
intl.o libcpp.a   ../libiberty/libiberty.a
./xgcc -B./ -B/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/bin/ 
-isystem /usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/sys-include -dumpspecs > 
tmp-specs
mv tmp-specs specs
echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -B/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/bin/ 
-isystem /usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/sys-include -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
/bin/sh /mnt/scsi/src/gcc-3.2.2/gcc/move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
echo timestamp > s-under
gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
  -I. -I. -I/mnt/scsi/src/gcc-3.2.2/gcc -I/mnt/scsi/src/gcc-3.2.2/gcc/. 
-I/mnt/scsi/src/gcc-3.2.2/gcc/config -I/mnt/scsi/src/gcc-3.2.2/gcc/../include 
underscore.c -o underscore.o
gcc -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
-o Tcollect2 \
        collect2.o tlink.o hash.o intl.o underscore.o version.o   
../libiberty/libiberty.a 
/usr/bin/ld: cannot find -lgcc_eh
collect2: ld returned 1 exit status
make[2]: *** [collect2] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make: *** [bootstrap] Error 2
: jss: 08:22:38 /mnt/scsi/src ; 


-----------------------------------
gcc 3.2.2 compiled with 3.0.4:
configured with --enable-shared --enable-threads 
make bootstrap

./xgcc -B./ -B/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/bin/ 
-isystem /usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/sys-include -dumpspecs > 
tmp-specs
mv tmp-specs specs
echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -B/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/bin/ 
-isystem /usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/sys-include -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
/bin/sh /mnt/scsi/src/gcc-3.2.2/gcc/move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
echo timestamp > s-under
gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
  -I. -I. -I/mnt/scsi/src/gcc-3.2.2/gcc -I/mnt/scsi/src/gcc-3.2.2/gcc/. 
-I/mnt/scsi/src/gcc-3.2.2/gcc/config -I/mnt/scsi/src/gcc-3.2.2/gcc/../include 
underscore.c -o underscore.o
gcc -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
-o Tcollect2 \
        collect2.o tlink.o hash.o intl.o underscore.o version.o   
../libiberty/libiberty.a 
/usr/bin/ld: cannot find -lgcc_eh
collect2: ld returned 1 exit status
make[2]: *** [collect2] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make: *** [bootstrap] Error 2

------------------------------------
gcc 3.2.2 compiled with 2.95.3:
configured with --enable-shared --enable-threads 
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' BOOT_CFLAGS="-O2 -pipe -fomit-frame-pointer 
-funroll-loops -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse 
-msse2" bootstrap

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
/bin/sh /mnt/scsi/src/gcc-3.2.2/gcc/move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
echo timestamp > s-under
gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
  -I. -I. -I/mnt/scsi/src/gcc-3.2.2/gcc -I/mnt/scsi/src/gcc-3.2.2/gcc/. 
-I/mnt/scsi/src/gcc-3.2.2/gcc/config -I/mnt/scsi/src/gcc-3.2.2/gcc/../include 
underscore.c -o underscore.o
underscore.c:0: malformed option `-A system=posix'
underscore.c:0: malformed option `-A cpu=i386'
underscore.c:0: malformed option `-A machine=i386'
make[2]: *** [underscore.o] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make: *** [bootstrap] Error 2


------------------------------------
gcc 3.2.2 compiled with 2.96:
configured with --enable-shared --enable-threads 
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' BOOT_CFLAGS="-O2 -pipe -fomit-frame-pointer 
-funroll-loops -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse 
-msse2" bootstrap

echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -B/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/bin/ 
-isystem /usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.2.2-20030517/i686-pc-linux-gnu/sys-include -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
/bin/sh /mnt/scsi/src/gcc-3.2.2/gcc/move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
echo timestamp > s-under
gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
  -I. -I. -I/mnt/scsi/src/gcc-3.2.2/gcc -I/mnt/scsi/src/gcc-3.2.2/gcc/. 
-I/mnt/scsi/src/gcc-3.2.2/gcc/config -I/mnt/scsi/src/gcc-3.2.2/gcc/../include 
underscore.c -o underscore.o
gcc -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  
-o Tcollect2 \
        collect2.o tlink.o hash.o intl.o underscore.o version.o   
../libiberty/libiberty.a 
/usr/bin/ld: cannot find -lgcc_eh
collect2: ld returned 1 exit status
make[2]: *** [collect2] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.2.2/gcc'
make: *** [bootstrap] Error 2





---------------------------------------------------------------------------------3.2.3

I downloaded the diff from 3.2.2 to 3.2.3, and patched the 3.2.2 tarfile 
with:

patch -E -p0 gcc-3.2.2.tar gcc-3.2.2-3.2.3.diff

This seemed to work, but the patched tarfile would not untar correctly...
tar complained of obsolescent base64 headers and many directories ended 
up missing. This was extremely disappointing...



---------------------------------------------------------------------------------3.3

gcc 3.3 compiled with 2.96:
configured with --enable-shared --enable-threads 
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' BOOT_CFLAGS="-O2 -pipe -fomit-frame-pointer 
-funroll-loops -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse 
-msse2" bootstrap

./xgcc -B./ -B/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/bin/ -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/sys-include -dumpspecs > 
tmp-specs
mv tmp-specs specs
if [ -f /usr/include/limits.h ] ; then \
  cat /mnt/scsi/src/gcc-3.3/gcc/limitx.h /mnt/scsi/src/gcc-3.3/gcc/glimits.h 
/mnt/scsi/src/gcc-3.3/gcc/limity.h > tmp-xlimits.h; \
else \
  cat /mnt/scsi/src/gcc-3.3/gcc/glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
(SHLIB_LINK=' ./xgcc -B./ 
-B/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/bin/ -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC   
 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
 -shared -nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1 
-Wl,--version-script=@shlib_map_file@ -o @shlib_dir@@shlib_so_name@.so.1 
@multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so && ln -s 
@shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
SHLIB_MULTILIB=''; \
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H 
   -DSTANDARD_STARTFILE_PREFIX=\"../../../\" 
-DSTANDARD_EXEC_PREFIX=\"/usr/local/gcc/gcc-3.3-20030517/lib/gcc-lib/\" 
-DDEFAULT_TARGET_VERSION=\"3.3\" 
-DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnu\" 
-DSTANDARD_BINDIR_PREFIX=\"/usr/local/gcc/gcc-3.3-20030517/bin/\" 
-DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test 
"yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = 
"X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
        -I. -I. -I/mnt/scsi/src/gcc-3.3/gcc -I/mnt/scsi/src/gcc-3.3/gcc/. 
-I/mnt/scsi/src/gcc-3.3/gcc/config -I/mnt/scsi/src/gcc-3.3/gcc/../include 
/mnt/scsi/src/gcc-3.3/gcc/cp/g++spec.c)
cc1: Unrecognized option `-E'
cc1: Unrecognized option `-lang-c'
cc1: Unrecognized option `-D__GNUC__=3'
cc1: Unrecognized option `-D__GNUC_MINOR__=3'
cc1: Unrecognized option `-D__GNUC_PATCHLEVEL__=0'
cc1: Unrecognized option `-DIN_GCC'
cc1: Unrecognized option `-DHAVE_CONFIG_H'
cc1: Unrecognized option `-DSTANDARD_STARTFILE_PREFIX="../../../"'
cc1: Unrecognized option 
`-DSTANDARD_EXEC_PREFIX="/usr/local/gcc/gcc-3.3-20030517/lib/gcc-lib/"'
cc1: Unrecognized option `-DDEFAULT_TARGET_VERSION="3.3"'
cc1: Unrecognized option `-DDEFAULT_TARGET_MACHINE="i686-pc-linux-gnu"'
cc1: Unrecognized option 
`-DSTANDARD_BINDIR_PREFIX="/usr/local/gcc/gcc-3.3-20030517/bin/"'
cc1: Unrecognized option `-DTOOLDIR_BASE_PREFIX="../../../../"'
cc1: Unrecognized option `-DENABLE_SHARED_LIBGCC'
/home/jss/tmp/cc6VCL2I.i:1: warning: ISO C forbids an empty source file
make[2]: *** [g++spec.o] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.3/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.3/gcc'
make: *** [bootstrap] Error 2


----------------------------------
gcc 3.3 compiled with 3.0.4:
configured with --enable-shared --enable-threads 
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' BOOT_CFLAGS="-O2 -pipe -fomit-frame-pointer 
-funroll-loops -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse 
-msse2" bootstrap

./xgcc -B./ -B/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/bin/ -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/sys-include -dumpspecs > 
tmp-specs
mv tmp-specs specs
if [ -f /usr/include/limits.h ] ; then \
  cat /mnt/scsi/src/gcc-3.3/gcc/limitx.h /mnt/scsi/src/gcc-3.3/gcc/glimits.h 
/mnt/scsi/src/gcc-3.3/gcc/limity.h > tmp-xlimits.h; \
else \
  cat /mnt/scsi/src/gcc-3.3/gcc/glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
(SHLIB_LINK=' ./xgcc -B./ 
-B/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/bin/ -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC   
 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
 -shared -nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1 
-Wl,--version-script=@shlib_map_file@ -o @shlib_dir@@shlib_so_name@.so.1 
@multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so && ln -s 
@shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
SHLIB_MULTILIB=''; \
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H 
   -DSTANDARD_STARTFILE_PREFIX=\"../../../\" 
-DSTANDARD_EXEC_PREFIX=\"/usr/local/gcc/gcc-3.3-20030517/lib/gcc-lib/\" 
-DDEFAULT_TARGET_VERSION=\"3.3\" 
-DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnu\" 
-DSTANDARD_BINDIR_PREFIX=\"/usr/local/gcc/gcc-3.3-20030517/bin/\" 
-DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test 
"yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = 
"X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
	-I. -I. -I/mnt/scsi/src/gcc-3.3/gcc -I/mnt/scsi/src/gcc-3.3/gcc/. 
-I/mnt/scsi/src/gcc-3.3/gcc/config -I/mnt/scsi/src/gcc-3.3/gcc/../include 
/mnt/scsi/src/gcc-3.3/gcc/cp/g++spec.c)
cc1: Unrecognized option `-auxbase'
cc1: Output filename specified twice
cc1: g++spec: No such file or directory
make[2]: *** [g++spec.o] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.3/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.3/gcc'
make: *** [bootstrap] Error 2


----------------------------------
gcc 3.3 compiled with 3.0.4:
configured with --enable-shared --enable-threads 
make bootstrap

./xgcc -B./ -B/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/bin/ -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/sys-include -dumpspecs > 
tmp-specs
mv tmp-specs specs
if [ -f /usr/include/limits.h ] ; then \
  cat /mnt/scsi/src/gcc-3.3/gcc/limitx.h /mnt/scsi/src/gcc-3.3/gcc/glimits.h 
/mnt/scsi/src/gcc-3.3/gcc/limity.h > tmp-xlimits.h; \
else \
  cat /mnt/scsi/src/gcc-3.3/gcc/glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
(SHLIB_LINK=' ./xgcc -B./ 
-B/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/bin/ -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/include -isystem 
/usr/local/gcc/gcc-3.3-20030517/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC   
 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
 -shared -nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1 
-Wl,--version-script=@shlib_map_file@ -o @shlib_dir@@shlib_so_name@.so.1 
@multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so && ln -s 
@shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
SHLIB_MULTILIB=''; \
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H 
   -DSTANDARD_STARTFILE_PREFIX=\"../../../\" 
-DSTANDARD_EXEC_PREFIX=\"/usr/local/gcc/gcc-3.3-20030517/lib/gcc-lib/\" 
-DDEFAULT_TARGET_VERSION=\"3.3\" 
-DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnu\" 
-DSTANDARD_BINDIR_PREFIX=\"/usr/local/gcc/gcc-3.3-20030517/bin/\" 
-DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test 
"yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = 
"X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
	-I. -I. -I/mnt/scsi/src/gcc-3.3/gcc -I/mnt/scsi/src/gcc-3.3/gcc/. 
-I/mnt/scsi/src/gcc-3.3/gcc/config -I/mnt/scsi/src/gcc-3.3/gcc/../include 
/mnt/scsi/src/gcc-3.3/gcc/cp/g++spec.c)
cc1: Unrecognized option `-auxbase'
cc1: Output filename specified twice
cc1: g++spec: No such file or directory
make[2]: *** [g++spec.o] Error 1
make[2]: Leaving directory `/mnt/scsi/src/configured/gcc-3.3/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi/src/configured/gcc-3.3/gcc'
make: *** [bootstrap] Error 2



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]