This is the mail archive of the
mailing list for the GCC project.
how to turn off PIE on Fedora?
- From: Per Bothner <per at bothner dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 12 Dec 2003 18:22:31 -0800
- Subject: how to turn off PIE on Fedora?
Can any Red Hat engineers shed light on this:
Data seems to move around unpredictably under Fedora Core.
I.e. I run cc1 under gdb to a breakpoint or error, and note
the memory address of some variable. I then re-run cc1 with
no changes, and the variable has jumped to a different address.
This complicates debugging, and specifically setting conditional
This presumably is because of PIE "position independent
executables", which is supoosed to increase security. Fine -
but how can I turn it off for development builds?
PIE also breaks PCH, and hence running the gcc testsuite.