Gentoo Archives: gentoo-hardened

From: Derrick Hendricks <derrickdb1@×××××××.net>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Upgrading GCC in hardened
Date: Sun, 12 Nov 2006 18:35:16
Message-Id: 1163356403.6257.4.camel@db1
In Reply to: [gentoo-hardened] Upgrading GCC in hardened by Derrick Hendricks
1 On emerging sys-libs/glibc-2.4-r4, the error I get is:
2
3 configure: error:
4 *** These critical programs are missing or too old: gcc
5 *** Check the INSTALL file for required versions.
6
7 !!! ERROR: sys-libs/glibc-2.4-r4 failed.
8 Call stack:
9 ebuild.sh, line 1539: Called dyn_compile
10 ebuild.sh, line 939: Called src_compile
11 glibc-2.4-r4.ebuild, line 1174: Called toolchain-glibc_src_compile
12 glibc-2.4-r4.ebuild, line 257: Called glibc_do_configure 'nptl'
13 glibc-2.4-r4.ebuild, line 925: Called die
14
15 !!! failed to configure glibc
16 !!! If you need support, post the topmost build error, and the call
17 stack if relevant.
18
19
20 it is a 3.3.6 gcc, so on the other machines that I've hit this problem
21 with, I was able to fix it by changing gcc and recompiling the system.
22 All set to do that. Just needed advice on which one to use since (as
23 the firewall for the work network) the machine can't be down for very
24 long. So, I had 1 shot at this. That's why I asked such a newbie
25 question instead of just going ahead and doing the emerges.
26
27
28 On Thu, 2006-11-09 at 17:32 -0500, Derrick Hendricks wrote:
29 > I'm running a firewall for our work network using hardened gentoo.
30 > Emerges have been working fine until now. I'm getting errors in the
31 > builds saying that my gcc is out of date. I've upgraded other machines
32 > that had this problem, and had no real problems in the upgrade.
33 >
34 > However, in looking at a gcc-config -l, I noticed that I'm using the
35 > 3.3.6 compiler, and not the hardened version. I have choices of other
36 > compilers that I could upgrade to. Some of them being the hardened
37 > varieties. So, I'm wondering which kernel I should upgrade to.
38 >
39 > I seem to remember reading from before that you should not use a
40 > hardened compiler unless you are a developer. I don't remember where,
41 > but I think that's why I'm not using the hardened version of the current
42 > compiler.
43 >
44 > Here are my kernel choices:
45 > [1] i686-pc-linux-gnu-3.3.6 *
46 > [2] i686-pc-linux-gnu-3.3.6-hardened
47 > [3] i686-pc-linux-gnu-3.3.6-hardenednopie
48 > [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
49 > [5] i686-pc-linux-gnu-3.3.6-hardenednossp
50 > [6] i686-pc-linux-gnu-3.4.6
51 > [7] i686-pc-linux-gnu-3.4.6-hardened
52 > [8] i686-pc-linux-gnu-3.4.6-hardenednopie
53 > [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
54 > [10] i686-pc-linux-gnu-3.4.6-hardenednossp
55 > [11] i686-pc-linux-gnu-4.1.1
56 >
57 >
58 > Which one should I upgrade to?
59 >
60 --
61
62 --
63 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] Upgrading GCC in hardened Alexander Gabert <gaberta@××××××××.de>