From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9872 invoked by alias); 23 Feb 2012 18:31:43 -0000 Received: (qmail 9842 invoked by uid 22791); 23 Feb 2012 18:31:41 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Feb 2012 18:31:29 +0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug boehm-gc/52179] boehm-gc incompatible with aslr on darwin11 Date: Thu, 23 Feb 2012 18:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: boehm-gc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-02/txt/msg02358.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52179 --- Comment #18 from Jack Howarth 2012-02-23 18:31:10 UTC --- (In reply to comment #16) The reduced patch properly adds the.. /* Define to 1 if you have the `pthread_get_stackaddr_np_np' function. */ #undef HAVE_PTHREAD_GET_STACKADDR_NP to boehm-gc/include/gc_config.h.in . Since the remaining changes to boehm-gc/include/private/gcconfig.h are "# ifdef DARWIN" and HAVE_PTHREAD_GET_STACKADDR_NP exists no where else, this should be sufficient. The patch elimintes the failures at -m32/-m64 on x86_64-apple-datrwin11 but boehm-gc.c/thread_leak_test.c execution test still hangs on occasion at -m64. This appears as... Leaked composite object at 0x10a908fe0 (/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120223/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:12, sz=4, NORMAL) Leaked composite object at 0x10a908ec0 (/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120223/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:12, sz=4, NORMAL) Leaked composite object at 0x10a908f20 (/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120223/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:12, sz=4, NORMAL) Leaked composite object at start: 0x10a908f00, appr. length: 48