This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug boehm-gc/52179] boehm-gc incompatible with aslr on darwin11
- From: "patrick.marlier at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Feb 2012 15:32:31 +0000
- Subject: [Bug boehm-gc/52179] boehm-gc incompatible with aslr on darwin11
- Auto-submitted: auto-generated
- References: <bug-52179-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52179
--- Comment #14 from Patrick Marlier <patrick.marlier at gmail dot com> 2012-02-23 15:32:31 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
>
> This change bootstraps fine with current gcc trunk on x86_64-apple-darwin11. It
> almost fixes the failures in the boehm-gc test suite. The -m32 results always
> pass as...
>
> === boehm-gc Summary for unix/-m32 ===
>
> # of expected passes 12
> # of unsupported tests 1
>
> but often the -m64 results show the failure...
>
> WARNING: program timed out.
> FAIL: boehm-gc.c/thread_leak_test.c -O2 execution test
> Running
> /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120222/boehm-gc/testsuite/boehm-gc.lib/lib.exp
> ...
>
> === boehm-gc Summary for unix/-m64 ===
>
> # of expected passes 11
> # of unexpected failures 1
> # of unsupported tests 1
>
> Are there any other darwin related changes upstream?
I also notice this failure on x86_64 linux. In my case, it is due to the
redefinition of GC_LINUX_THREADS.
./boehm-gc/include/gc_config.h:44:0: warning: "GC_LINUX_THREADS" redefined
[enabled by default]^M
./boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:1:0: note: this is the
location of the previous definition
What does the log tell you?