[Bug driver/70192] New: -fno-pic doesn't work with --enable-default-pie
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 11 16:10:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70192
Bug ID: 70192
Summary: -fno-pic doesn't work with --enable-default-pie
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
When GCC is configured with --enable-default-pie, -fno-pic doesn't
turn off PIC:
[hjl@gnu-6 gcc]$ ./xgcc -B./ -S x.c -fno-pic
x.c:2:3: error: #error foo
# error foo
^~~~~
[hjl@gnu-6 gcc]$
More information about the Gcc-bugs
mailing list