Gentoo Archives: gentoo-hardened

From: Michael Tharp <gxti@××××××××××××××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Another C++ compiler cannot create executables issue
Date: Wed, 27 Jul 2005 04:42:07
Message-Id: 42E710B7.7040501@partiallystapled.com
In Reply to: [gentoo-hardened] Another C++ compiler cannot create executables issue by Nate Seif
1 Nate Seif wrote:
2
3 > Hi there - I am trying to install Hardened Gentoo/SELinux on an x86
4 > server (Pentium 4 CPU) and continually encounter the "C++ compiler
5 > cannot create executables" error during the bootstrap process. I've
6 > waded through the forums (and posted there
7 > http://forums.gentoo.org/viewtopic-t-361737-highlight-.html), checked
8 > my make.conf settings and verified settings with gcc-config but cannot
9 > figure out how to get the bootstrap script to proceed. Regardless of
10 > my CHOST settings in make.conf the bootstrap script errors out while
11 > attempting to emerge python-2.3.5.
12 >
13 > I came across a message posted by z3rosix (on the gentoo-hardened
14 > mailing list) on 23 June 2005 that I believe addresses this exact
15 > issue, but I'm hoping that someone can clarify. It appears that
16 > Alexader Netopier Leonov was/is having the exact same problem as I am
17 > while trying to bootstrap his system. z3rosix suggested looking at his
18 > umask. What umask is he referring to? Is he referring to permissions
19 > on mounted drives (i.e. /dev/hda3 mounted at /mnt/gentoo) or specific
20 > files? How do I check and/or change this umask?
21 >
22 > I've tried using the 20041123 Hardened boot CD as well as the
23 > hardened-x86-2005.0_test9 boot CDs and get the same error regardless
24 > of which boot CD I use.
25 >
26 > Thanks in advance for your time -
27 >
28 > Nate
29
30 Read the config log.
31 It'll be in
32 /var/tmp/portage/<name-of-package>/work/<name-of-package-with-version>/config.log
33 Look for the test that actually errored out, and you'll find the real
34 cause of the infamously common 'cannot create executables' error.
35 Often it's a misplaced CFLAGS option that your compiler does not
36 understand(-mtune?)
37 --
38 gentoo-hardened@g.o mailing list