[Bug libitm/52042] libitm.c/clone-1.c and libitm.c/stackundo.c execution tests are not pie compatible
howarth at nitro dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Mon Jan 30 18:52:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52042
--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-01-30 18:21:09 UTC ---
Note that darwin11 leverages the PIC default on darwin to create pie
executables by defaulting the linker to -pie when targeting 10.7 or later. The
question is whether, like gcc.dg/darwin-segaddr.c, that libitm.c/clone-1.c and
libitm.c/stackundo.c are meaningless for pie executables. If so, we should just
append -Wl,-no_pie to the flags on those tests as has been done for
gcc.dg/darwin-segaddr.c.
More information about the Gcc-bugs
mailing list