This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Do not build libsanitizer also for powerpc*-*-linux*
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: Arseny Solokha <asolokha at gmx dot com>, jakub at redhat dot com, dodji at redhat dot com, kcc at google dot com, dvyukov at google dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 May 2014 14:07:58 -0500
- Subject: Re: [PATCH] Do not build libsanitizer also for powerpc*-*-linux*
- Authentication-results: sourceware.org; auth=none
- References: <1401100995 dot 27542 dot ezmlm at gcc dot gnu dot org> <53831D22 dot 30108 at gmx dot com> <87egzeqrrt dot fsf at kepler dot schwinge dot homeip dot net>
On Wed, 2014-05-28 at 09:36 +0200, Thomas Schwinge wrote:
> Hi!
>
> On Mon, 26 May 2014 18:53:22 +0800, Arseny Solokha <asolokha@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):
The re-enablement patch was submitted to the llvm mailing list here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140526/219249.html
Once that is committed and merged into gcc, we can re-enable building
libsanitizer for powerpc*-linux.
Peter