This is the mail archive of the gcc@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]

gcc-3.4-20031029 bootstrap FAILURE (MinGW)


Working in /c/temp/gcc/build with an empty directory /c/temp/gcc/dest and
source extracted to /c/temp/gcc/src, I executed:

../src/configure --prefix=/c/temp/gcc/dest --enable-languages=c,c++
--enable-sjlj-exceptions --enable-threads=win32 --disable-win32-registry
--disable-shared --without-newlib --disable-nls --disable-debug

Then:

make "CFLAGS=-O3 -fomit-frame-pointer -ffast-math" "LDFLAGS=-s
-Wl,--stack=0x00800000" bootstrap

This eventually fails with:

make[3]: Entering directory `/c/temp/gcc/build/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh ../../src/gcc/mkinstalldirs $d; fi;
\
done
mkdir -p -- libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/c/temp/gcc/dest/i686-pc-mingw32/bin/ -isystem
/c/temp/gcc/dest/i686-pc-mingw32/include -isystem
/c/temp/gcc/dest/i686-pc-mingw32/sys-include -L/c/temp/gcc/build/gcc/../ld
-O2 -I../../src/gcc/../winsup/w32api/include -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I
-I../../src/gcc -I../../src/gcc/ -I../../src/gcc/../include  -DL_chkstk
-xassembler-with-cpp -c ../../src/gcc/config/i386/cygwin.asm -o
libgcc/./_chkstk.o
./xgcc -B./ -B/c/temp/gcc/dest/i686-pc-mingw32/bin/ -isystem
/c/temp/gcc/dest/i686-pc-mingw32/include -isystem
/c/temp/gcc/dest/i686-pc-mingw32/sys-include -L/c/temp/gcc/build/gcc/../ld
-O2 -I../../src/gcc/../winsup/w32api/include -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I
-I../../src/gcc -I../../src/gcc/ -I../../src/gcc/../include   -DL_muldi3 -c
../../src/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ../../src/gcc/libgcc2.c:40:
./tconfig.h:5:37: config/i386/xm-mingw32.h: No such file or directory
In file included from ../../src/gcc/libgcc2.c:43:
./tm.h:4:31: config/i386/i386.h: No such file or directory
./tm.h:5:31: config/i386/unix.h: No such file or directory
./tm.h:6:30: config/i386/bsd.h: No such file or directory
./tm.h:7:30: config/i386/gas.h: No such file or directory
./tm.h:8:29: config/dbxcoff.h: No such file or directory
./tm.h:9:34: config/i386/cygming.h: No such file or directory
./tm.h:10:34: config/i386/mingw32.h: No such file or directory
./tm.h:11:23: defaults.h: No such file or directory
../../src/gcc/libgcc2.c: In function `__mulhi3':

../../src/gcc/libgcc2.c:501: error: `BITS_PER_UNIT' undeclared (first use in
this function)
../../src/gcc/libgcc2.c:501: error: (Each undeclared identifier is reported
only once
../../src/gcc/libgcc2.c:501: error: for each function it appears in.)
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/c/temp/gcc/build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/c/temp/gcc/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/c/temp/gcc/build/gcc'
make: *** [bootstrap] Error 2

I can bootstrap 3.3.2 and I have flex and bison.

Any ideas on what's causing this problem?  At first, 3.4 complained about a
missing /usr/include, which 3.3.2 does not complain about.  Creating an
empty directory to appease 3.4 fixed that, but left this problem.

Stephan T. Lavavej
http://nuwen.net




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