[Bug libitm/52042] libitm.c/clone-1.c (all darwin) and libitm.c/stackundo.c (darwin 11) execution tests fail with -fpie

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Tue Jan 31 18:42:00 GMT 2012


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.



More information about the Gcc-bugs mailing list