Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43891 - configure fails with "C compiler cannot create executables", seems to be problem with hardened-gcc
Summary: configure fails with "C compiler cannot create executables", seems to be prob...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-06 10:00 UTC by Martin Wegner
Modified: 2004-07-23 05:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wegner 2004-03-06 10:00:12 UTC
I've set up a new gentoo from stage1. when I came to 'emerge system', the emerge of groff-1.19 failed with the configure error "C compiler cannot create executables".

I was able to fix this with running
$ hardened-gcc -R

Reproducible: Always
Steps to Reproduce:
1. emerge system
2.
3.

Actual Results:  
emerge failed.

Expected Results:  
emerge should not fail

$emerge info

Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.3,
glibc-2.3.3_pre20040207-r0,2.3.2-r9, 2.4.21-gss)
=================================================================
System uname: 2.4.21-gss i686 
Gentoo Base System version 1.4.3.13p1
Autoconf: 
Automake: 
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow aalib apache2 berkdb crypt dedicated freetype gd imagemagick java mmx
net nls pam pic readline samba sse ssl tcpd usb videos x86 zlib"
Comment 1 Alexander Gabert (RETIRED) gentoo-dev 2004-03-08 00:58:01 UTC
unmerge hardened-gcc
gcc -dumpspecs > $(gcc-config -L)/specs

hardened-gcc is obsolete by now and will be replaced with something more integrated.

thanks,

Alex
Comment 2 voha 2004-07-23 05:24:30 UTC
Same problem occurs with 2004.0 hardened CD
The fix outlined for 1.4 LiveCD works for me.