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"
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
Same problem occurs with 2004.0 hardened CD The fix outlined for 1.4 LiveCD works for me.