
kakou at kakou
Oct 24, 2009, 4:02 AM
Post #7 of 11
(1998 views)
Permalink
|
|
Re: NOTICE: GCC 4.3.4 going stable on Hardened
[In reply to]
|
|
Hello all, I have updated my gcc 3.4 profile (with SELinux) to gcc 4.3 profile (with a modified profile to support SELinux v2 policy). After recompiling gcc+glibc, I obtain this : gcc-config -l [1] i686-pc-linux-gnu-4.3.4 * [2] i686-pc-linux-gnu-4.3.4-hardenednopie [3] i686-pc-linux-gnu-4.3.4-vanilla [2] does not support support pie and I don't have a -hardened config. So my question is : "[1] is the gcc hardened profile ?" (when I test with paxtest, all is randomized) Thanks, Kakou Le 14 oct. 2009 à 01:02, Gordon Malm a écrit : > Hello Hardened users, this is just a quick heads up. GCC 4.3.4 will > be going > stable on hardened profiles shortly. Unlike Hardened GCC 3.4.6, > this version > lacks default SSP building. However, FORTIFY_SOURCE=2 > and -fno-strict-overflow are now enabled by default. Other Hardened > compiler > features (ex. default relro, bind now & pic/pie building) remain > enabled - no > change from 3.4.6. > > It is regretable this must be done before GCC4 is SSP-by-default > enabled. > However, more and more packages require the newer GCC. The stable > GCC on > Hardened has been GCC 3.4.6 for a long time, but this has become an > untenable > situation. GCC4 SSP-by-default works and will be added in a later > revision - > some GCC4+SSP bugs in grub and glibc also remain to be fixed. > > Please follow '2. General Upgrade Instructions' in the 'Gentoo GCC > Upgrade > Guide' [1] when upgrading from GCC 3.4.x to GCC 4.3.x. The upgrade > should be > relatively smooth, but if you run into upgrade troubles seek help > via this > mailing list, bugs.gentoo.org, or irc.freenode.net, #gentoo-hardened. > > [1] http://www.gentoo.org/doc/en/gcc-upgrading.xml > > Sincerely, > Gordon Malm (gengor) >
|