From patchwork Mon Feb 11 15:55:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Disable libsanitizer before darwin10 Date: Mon, 11 Feb 2013 05:55:01 -0000 From: Jack Howarth X-Patchwork-Id: 219630 Message-Id: <20130211155501.GA31314@bromo.med.uc.edu> To: gcc-patches@gcc.gnu.org Cc: jakub@redhat.com, dodji@redhat.com, kcc@google.com, dvyukov@google.com, mikestump@comcast.net, iain@codesourcery.com Iain Sandoe discovered that on intel darwin9, the asan testsuite suffers hundreds of failures due to the absence of dispatch calls (Grand Central Dispatch) prior to darwin10. The attached patch disables building libsanitizer on darwin8 and darwin9 until upstream decides to support the earlier darwin releases. Bootstrap and regression tested on x86_64-apple-darwin12. Okay for gcc trunk? Jack 2013-02-11 Jack Howarth * configure.tgt: Disable build on darwin9 and earlier. /libsanitizer Index: libsanitizer/configure.tgt =================================================================== --- libsanitizer/configure.tgt (revision 195940) +++ libsanitizer/configure.tgt (working copy) @@ -29,7 +29,7 @@ case "${target}" in ;; sparc*-*-linux*) ;; - x86_64-*-darwin* | i?86-*-darwin*) + x86_64-*-darwin[1]* | i?86-*-darwin[1]*) TSAN_SUPPORTED=no ;; *)