This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libitm/52042] libitm.c/clone-1.c and libitm.c/stackundo.c execution tests are not pie compatible
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 18:21:09 +0000
- Subject: [Bug libitm/52042] libitm.c/clone-1.c and libitm.c/stackundo.c execution tests are not pie compatible
- Auto-submitted: auto-generated
- References: <bug-52042-4@http.gcc.gnu.org/bugzilla/>
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.