On Thursday 19 January 2006 18:33, solar wrote:
> On Thu, 2006-01-19 at 17:56 -0500, Mike Frysinger wrote:
> DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g"
>
> Mike,
> how about
> DEBUG_CFLAGS=DEBUG_CXXFLAGS="-O -g -fno-stack-protector -fno-pie"
>
> All Gentoo properly supported toolchains support the last two flags and
> it ensures that debugging almost works for hardened users too.
> I'd say I could just run with the extra
> flags in the hardened/* profiles but it seems a good portion of the
> users these days seem to be vanilla users using 'gcc-config > 1'

to please the whiners, we can use:
-O -g -fno-pie

and keep the -fno-ssp in hardened profiles
-mike
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to