Hi,

I tried bootstrapping GCC 4.2.3 on x86-unknown-linux-gnu with the
following configure:

 /home/manuel/src/trunk/configure
--prefix=/home/manuel/./131745/install         --enable-languages=all
--enable-decimal-float
--with-mpfr=/home/ghazi/gcc-testing/lib/422-230/

But it failed.

The last lines in the output are:

Adding multilib support to Makefile in /home/manuel/src/trunk/libmudflap
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /home/manuel/131745M/build/x86_64-unknown-linux-gnu/libmudflap
Running configure in multilib subdir 32
pwd: /home/manuel/131745M/build/x86_64-unknown-linux-gnu
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-unknown-linux-gnu-gcc...
/home/manuel/131745M/build/./gcc/xgcc
-B/home/manuel/131745M/build/./gcc/
-B/home/manuel/./131745M/install/x86_64-unknown-l\
inux-gnu/bin/ -B/home/manuel/./131745M/install/x86_64-unknown-linux-gnu/lib/
-isystem /home/manuel/./131745M/install/x86_64-unknown-linux-gnu/include
-isystem /home/man\
uel/./131745M/install/x86_64-unknown-linux-gnu/sys-include  -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run
C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/home/manuel/131745M/build'
make: *** [all] Error 2

And the relevant part in config.log is:

configure:2308: checking for C compiler default output file name
configure:2311: /home/manuel/131745M/build/./gcc/xgcc
-B/home/manuel/131745M/build/./gcc/
-B/home/manuel/./131745M/install/x86_64-unknown-linux-gnu/bin/
-B/home/manuel/\
./131745M/install/x86_64-unknown-linux-gnu/lib/ -isystem
/home/manuel/./131745M/install/x86_64-unknown-linux-gnu/include
-isystem /home/manuel/./131745M/install/x86_64-\
unknown-linux-gnu/sys-include  -m32 -O2 -g -O2    conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when
searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when
searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc
/usr/bin/ld: warning: i386:x86-64 architecture of input file
`/usr/lib/../lib/crt1.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file
`/usr/lib/../lib/crti.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file
`/usr/lib/../lib/crtn.o' is incompatible with i386 output
configure:2314: $? = 0
configure:2360: result: a.out
configure:2365: checking whether the C compiler works
configure:2371: ./a.out
/home/manuel/src/trunk/libmudflap/configure: line 2372:  3837
Segmentation fault      ./$ac_file
configure:2374: $? = 139
configure:2383: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

GCC 4.3 bootstraps just fine with the same configuration.

I am trying "--disable-multilibs" right now. Any other ideas?

Cheers,

Manuel.

Reply via email to