Gentoo Archives: gentoo-hardened

From: Vieri <rentorbuy@×××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] First time hardened install: GCC version
Date: Mon, 26 Mar 2007 17:39:13
Message-Id: 655566.43554.qm@web32604.mail.mud.yahoo.com
1 Hi,
2
3 You must be tired of reading the same question over
4 and over but I just have to ask.
5
6 I'm trying to install a hardened Gentoo according to
7 http://www.gentoo.org/proj/en/hardened/grsecurity.xml
8 All went fine with the hardened profile and
9 hardened-sources.
10
11 However, I used the 2006.1 CD which came with gcc
12 4.1.1. I read (too late) that one would need to
13 downgrade to gcc 3.4 (which is not possible) and the
14 only way to do that now is by using the 2006.0 CD.
15 *BUT* this information was from a while back and was
16 given only for a user who reported an error in the
17 emerge process.
18 I haven't had one single error.
19
20 However, gcc-config -l shows that the system is using
21 gcc 4.1.1 instead of 3.4.6.
22 Is it really impossible to downgrade to 3.4.6?
23
24 What I'm doing now is:
25 # gcc-config i386-pc-linux-gnu-3.4.6
26 # gcc-config -l
27 [1] i386-pc-linux-gnu-3.4.6 *
28 [2] i386-pc-linux-gnu-3.4.6-hardenednopie
29 [3] i386-pc-linux-gnu-3.4.6-hardenednopiessp
30 [4] i386-pc-linux-gnu-3.4.6-hardenednossp
31 [5] i386-pc-linux-gnu-3.4.6-vanilla
32 [6] i386-pc-linux-gnu-4.1.1
33 # source /etc/profile
34 # emerge --emptytree --update --deep --newuse system
35 # emerge --emptytree --update --deep --newuse world
36
37 It's re-emerging everything right now but I would
38 appreciate it if someone could help me save some
39 compile time and let me know whether I'm on the wrong
40 track or not and whether I should start over with the
41 2006.0 CD?
42
43 Thanks
44
45 Vieri
46
47
48
49
50 ____________________________________________________________________________________
51 Food fight? Enjoy some healthy debate
52 in the Yahoo! Answers Food & Drink Q&A.
53 http://answers.yahoo.com/dir/?link=list&sid=396545367
54 --
55 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] First time hardened install: GCC version Adam James <atj@××××××××××××××.uk>