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 (all darwin) and libitm.c/stackundo.c (darwin 11) execution tests fail with -fpie
- 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: Tue, 31 Jan 2012 17:54:09 +0000
- Subject: [Bug libitm/52042] libitm.c/clone-1.c (all darwin) and libitm.c/stackundo.c (darwin 11) execution tests fail with -fpie
- Auto-submitted: auto-generated
- References: <bug-52042-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52042
--- Comment #5 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-01-31 17:54:09 UTC ---
(In reply to comment #3)
> on i686-darwin9:
> make check-target-libitm RUNTESTFLAGS="--target_board=unix/-fpie\{-m32,-m64\}"
>
> clone-1 fails (m32, m64), but stackundo passes on both.
>
Same results on x86_64 darwin10. Note however that the alsr in Lion is supposed
to be
more exhaustive than that in previous releases. It seems from the discussion
at...
http://www.0xcafebabe.it/2011/10/15/on-macos-10-7-dyld-randomization/
http://gdtr.wordpress.com/tag/aslr/
that prior to Lion, the dyld image base wasn't randomized for -pie.