Gentoo Archives: gentoo-hardened

From: netpython <phaceton@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] SPP
Date: Wed, 03 Aug 2005 12:24:58
Message-Id: 3655f5d905080305221aa6877e@mail.gmail.com
In Reply to: Re: [gentoo-hardened] SPP by "Kevin F. Quinn"
1 The fnostack-protector-all compiler flags is used with for example
2 mozilla-firefox.i emerge.I have "hardened pic pie" in USE="" though.I
3 have attached the output of both "emerge -info" and "gcc -v".
4
5 centh00
6
7
8 On 8/3/05, Kevin F. Quinn <kevquinn@g.o> wrote:
9 > On 3/8/2005 11:08:10, netpython (phaceton@×××××.com) wrote:
10 >
11 > > I have just installed gentoo-amd64 with hardened-sources and both
12 > > Grsecurity and Pax features enabled to a point that xorg still is
13 > > functional.In some gentoo doc's i read there's the CFLAG
14 > > -fstack-protector-all.
15 >
16 > There is, but you don't want to add it to CFLAGS in /etc/make.conf. You need to use the hardened gcc, which will avoid enabling the stack protector in situations where it should be off.
17 >
18 > > Since i now get -fnostack-protector-all when i
19 > > compile packages
20 >
21 > I don't understand why you're seeing '-fno-stack-protector-all' while compiling.
22 > Can you provide an example (i.e. name of package being emerged, some relevant lines from the compilation output), and include also the output of 'emerge info'?
23 >
24 > > i decided to maunally add the fstack-protector-all
25 > > flag to /etc/make.conf.But the fnostack-protector-all flag comes right
26 > > after.Which setting is now valid?
27 >
28 > The current supported way to use the stack protector is to build stuff with hardened gcc (USE="hardened" emerge gcc).
29 >
30 >
31 >
32 >
33 > --
34 > gentoo-hardened@g.o mailing list
35 >
36 >

Attachments

File name MIME type
gcc.txt text/plain
emerge.txt text/plain