Gentoo Archives: gentoo-hardened

From: Jean-Pierre Schwickerath <gentoo@××××××××.net>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Upgrading GCC in hardened
Date: Sun, 12 Nov 2006 21:39:27
Message-Id: 20061112223728.4a0a76fe@ws001.ch.schwicky.lan
In Reply to: Re: [gentoo-hardened] Upgrading GCC in hardened by Alexander Gabert
1 > > !!! ERROR: sys-libs/glibc-2.4-r4 failed.
2 > The question is: when you are using a hardened profile,
3 > how can you emerge glibc-2.4-r4 when it is in package.mask.
4
5 He is not using the hardened profile and that's his problem.
6
7 Someone posted a really nice summary on how to switch to a hardened
8 profile not that long ago on this list. Unfortunately I'm unable to
9 find it...
10
11 Derrick, if you want to save yourself a lot of trouble, forget about
12 glibc-2.4 and gcc 4.1. Remove gcc-4.1 from your system.
13
14 Add "hardened pic" to your USE flags.
15
16 Set your compiler to i686-pc-linux-gnu-3.4.6-hardened
17
18 Set your profile to /usr/portage/profiles/hardened/x86/2.6
19 Run (taken from the Gcc upgrade guide):
20 env-update && source /etc/profile
21 fix_libtool_files.sh 3.3.6
22 emerge --oneshot -av libtool
23 emerge --oneshot sys-libs/libstdc++-v3
24
25 and then have a look and run at
26 emerge -ave system
27 emerge -ave world
28
29
30 This should rebuild your whole system using a decent gcc-version and
31 the hardened profile.
32
33 Regards.
34 Jean-Pierre
35
36 --
37 Powered by Linux From Scratch - http://schwicky.net/
38 PGP Key ID: 0xEE6F49B4 - AIM/Jabber: Schwicky - ICQ: 4690141
39
40 Nothing is impossible... Everything is relative!
41 --
42 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] Upgrading GCC in hardened Yiannis Kontekakis <ykontekakis@×××××.com>