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  <howa...@bromo.med.uc.edu>

        * 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
        ;;
   *)

Reply via email to