Problems updating gcc to 4.7.3

Bernd Eggink monoped at sudrala.de
Fri Aug 9 15:01:11 UTC 2013


Hi,

I'm presently doing a fresh install of Crux-3.0. Everything works fine, 
except the gcc update to 4.7.3. Output ends with these lines:

-----------------------------------------------------------------------
checking whether i18n number rewriting support for quadmath_snprintf 
should be added... yes
configure: updating cache ./config.cache
checking generated-files-in-srcdir... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc-4.7.3/libquadmath
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /usr/ports/core/gcc/work/src/build/x86_64-unknown-linux-gnu/libquadmath
Running configure in multilib subdir 32
pwd: /usr/ports/core/gcc/work/src/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 a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for --enable-version-specific-runtime-libs... no
checking for style of include used by make... GNU
checking for x86_64-unknown-linux-gnu-gcc... 
/usr/ports/core/gcc/work/src/build/./gcc/xgcc 
-B/usr/ports/core/gcc/work/src/build/./gcc/ 
-B/usr/x86_64-unknown-linux-gnu/bin/ 
-B/usr/x86_64-unknown-linux-gnu/lib/ -isystem 
/usr/x86_64-unknown-linux-gnu/include -isystem 
/usr/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: in 
`/usr/ports/core/gcc/work/src/build/x86_64-unknown-linux-gnu/32/libquadmath':
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-libquadmath] Error 1
make[1]: Leaving directory `/usr/ports/core/gcc/work/src/build'
make: *** [bootstrap] Error 2
-----------------------------------------------------------------------

Any ideas? It sounds somewhat weird that gcc "can't run C compiled 
programs"...

Regards,
Bernd

-- 
http://sudrala.de



More information about the CRUX mailing list