Hi!

On Mon, 26 May 2014 18:53:22 +0800, Arseny Solokha <asolo...@gmx.com> wrote:
> Recent changes in GetPcSpBp() (libsanitizer/asan/asan_linux.cc) made it
> impossible to build 4.10.0-alpha20140525 snapshot for powerpc targets.

I hit this, too.

> 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.

This is being discussed in the thread at
<http://gcc.gnu.org/ml/gcc-patches/2014-05/msg02031.html>.  Until that
has been resolved, I do agree to check in the following patch (and have
successfully tested it, but cannot formally approve it for commit; thus
copying the libsanitizer maintainers):

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


Grüße,
 Thomas

Attachment: pgpxUdW0EFa9R.pgp
Description: PGP signature

Reply via email to