This thread is the same as what you're asking about:
http://grsecurity.net/pipermail/grsecurity/2005-October/000581.html
It says to run 'paxctl -spm' on the program and libraries, but it sounds like 
you tried that.

CFLAGS="-nopie -fno-pic -norelro -nonow -fno-stack-protector 
-D_FORTIFY_SOURCE=0" 
should disable the compiler flags. There's a chance -fstack-protector-all is 
the cause of the crashes (like with Python and -O3), so you might want to 
leave that in. Even with these flags, you will probably still need to 
use 'paxctl -spm'. Adding '-g3 -ggdb' might also help.

If that doesn't work, rebuild gdb itself with the above flags.

robert

Attachment: pgpuF4RcbFjd9.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to