Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] fix binary debug support, part elevenity billion 1/2
Date: Fri, 20 Jan 2006 00:33:00
Message-Id: 200601191930.45786.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] fix binary debug support, part elevenity billion 1/2 by solar
1 On Thursday 19 January 2006 18:33, solar wrote:
2 > On Thu, 2006-01-19 at 17:56 -0500, Mike Frysinger wrote:
3 > DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g"
4 >
5 > Mike,
6 > how about
7 > DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g -fno-stack-protector -fno-pie"
8 >
9 > All Gentoo properly supported toolchains support the last two flags and
10 > it ensures that debugging almost works for hardened users too.
11 > I'd say I could just run with the extra
12 > flags in the hardened/* profiles but it seems a good portion of the
13 > users these days seem to be vanilla users using 'gcc-config > 1'
14
15 to please the whiners, we can use:
16 -O -g -fno-pie
17
18 and keep the -fno-ssp in hardened profiles
19 -mike
20 --
21 gentoo-dev@g.o mailing list