Recent changes in GetPcSpBp() (libsanitizer/asan/asan_linux.cc) made it
impossible to build 4.10.0-alpha20140525 snapshot for powerpc targets. The
proposed patch disables building libsanitizer for powerpc*-*-linux* in addition
to already disabled powerpc*le-*-linux* until the smarter solution will emerge.

The actual issue preventing ASAN from porting to PPC seems to be inability to
retrieve values of PC and BP on this architecture.
--- gcc-4.10-20140525/libsanitizer/configure.tgt~	2014-05-26 17:59:21.224116974 +0800
+++ gcc-4.10-20140525/libsanitizer/configure.tgt	2014-05-26 18:00:03.048478781 +0800
@@ -26,11 +26,9 @@
 		LSAN_SUPPORTED=yes
 	fi
 	;;
-  powerpc*le-*-linux*)
+  powerpc*-*-linux* | powerpc*le-*-linux*)
 	UNSUPPORTED=1
 	;;
-  powerpc*-*-linux*)
-	;;
   sparc*-*-linux*)
 	;;
   arm*-*-linux*)

Reply via email to