Gentoo Archives: gentoo-hardened

From: "Anthony G. Basile" <blueness@g.o>
To: Markus Oehme <veelai@×××××××××××××××.de>
Cc: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] mprotect question
Date: Fri, 15 Jul 2011 11:08:01
Message-Id: 4E201F74.6080608@gentoo.org
1 On 07/15/2011 06:57 AM, Markus Oehme wrote:
2 > Hi Anthony,
3 >
4 > At Fri, 15 Jul 2011 06:22:24 -0400,
5 > Anthony G. Basile wrote:
6 >> On 07/15/2011 04:52 AM, Markus Oehme wrote:
7 >> Thanks for discovering this, I was not aware. However, when I try to
8 >> compile with -flto, I get an error:
9 >>
10 >> cc1: error: LTO support has not been enabled in this configuration
11 >>
12 >> I'm going to have to investigate.
13 > if you use gcc-4.5.* you have to enable the use flag 'lto' for gcc to get
14 > support for link time optimization. With gcc-4.6.* this seems not to be
15 > necessary.
16 >
17 Yep, time to use mask that on the hardened profiles.
18
19 --
20 Anthony G. Basile, Ph.D.
21 Gentoo Linux Developer [Hardened]
22 E-Mail : blueness@g.o
23 GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535
24 GnuPG ID : D0455535