* [PATCH, libsanitizer] Enable for PowerPC little endian
@ 2015-02-26 21:58 Peter Bergner
2015-02-26 22:21 ` Jakub Jelinek
0 siblings, 1 reply; 7+ messages in thread
From: Peter Bergner @ 2015-02-26 21:58 UTC (permalink / raw)
To: GCC Patches; +Cc: David Edelsohn, Bill Schmidt
The upstream libsanitizer code has been modified to support powerpc64le-linux,
but we seemed to have forgot to enable it being built by default on LE.
I applied the patch below and ran the testsuite and the test results look
similar to the BE results, maybe even a little better. I believe they
should look even better the next time we merge in the upstream ASAN code.
Ok for trunk? ...and is this ok now or should it wait for stage1?
Peter
* configure.tgt: Enable build on powerpc*le-*-linux.
Index: libsanitizer/configure.tgt
===================================================================
--- libsanitizer/configure.tgt (revision 221015)
+++ libsanitizer/configure.tgt (working copy)
@@ -28,9 +28,6 @@
TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_amd64.lo
fi
;;
- powerpc*le-*-linux*)
- UNSUPPORTED=1
- ;;
powerpc*-*-linux*)
;;
sparc*-*-linux*)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH, libsanitizer] Enable for PowerPC little endian
2015-02-26 21:58 [PATCH, libsanitizer] Enable for PowerPC little endian Peter Bergner
@ 2015-02-26 22:21 ` Jakub Jelinek
2015-02-26 23:50 ` David Edelsohn
2015-02-27 2:38 ` Peter Bergner
0 siblings, 2 replies; 7+ messages in thread
From: Jakub Jelinek @ 2015-02-26 22:21 UTC (permalink / raw)
To: Peter Bergner; +Cc: GCC Patches, David Edelsohn, Bill Schmidt
On Thu, Feb 26, 2015 at 03:52:24PM -0600, Peter Bergner wrote:
> The upstream libsanitizer code has been modified to support powerpc64le-linux,
> but we seemed to have forgot to enable it being built by default on LE.
> I applied the patch below and ran the testsuite and the test results look
> similar to the BE results, maybe even a little better. I believe they
> should look even better the next time we merge in the upstream ASAN code.
> Ok for trunk? ...and is this ok now or should it wait for stage1?
How do make check results (asan.exp/ubsan.exp) look like on ppc64le?
If it works as good as or better as ppc64be, then I'm fine with adding it
even in stage4.
Jakub
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH, libsanitizer] Enable for PowerPC little endian
2015-02-26 22:21 ` Jakub Jelinek
@ 2015-02-26 23:50 ` David Edelsohn
2015-02-27 2:38 ` Peter Bergner
1 sibling, 0 replies; 7+ messages in thread
From: David Edelsohn @ 2015-02-26 23:50 UTC (permalink / raw)
To: Jakub Jelinek, Peter Bergner; +Cc: GCC Patches, Bill Schmidt
On Thu, Feb 26, 2015 at 4:56 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Thu, Feb 26, 2015 at 03:52:24PM -0600, Peter Bergner wrote:
>> The upstream libsanitizer code has been modified to support powerpc64le-linux,
>> but we seemed to have forgot to enable it being built by default on LE.
>> I applied the patch below and ran the testsuite and the test results look
>> similar to the BE results, maybe even a little better. I believe they
>> should look even better the next time we merge in the upstream ASAN code.
>> Ok for trunk? ...and is this ok now or should it wait for stage1?
>
> How do make check results (asan.exp/ubsan.exp) look like on ppc64le?
> If it works as good as or better as ppc64be, then I'm fine with adding it
> even in stage4.
Okay with me if Jakub is satisfied.
Thanks, David
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH, libsanitizer] Enable for PowerPC little endian
2015-02-26 22:21 ` Jakub Jelinek
2015-02-26 23:50 ` David Edelsohn
@ 2015-02-27 2:38 ` Peter Bergner
2015-02-27 14:15 ` Peter Bergner
1 sibling, 1 reply; 7+ messages in thread
From: Peter Bergner @ 2015-02-27 2:38 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: GCC Patches, David Edelsohn, Bill Schmidt
On Thu, 2015-02-26 at 22:56 +0100, Jakub Jelinek wrote:
> How do make check results (asan.exp/ubsan.exp) look like on ppc64le?
> If it works as good as or better as ppc64be, then I'm fine with adding it
> even in stage4.
They have the same exact failures in ubsan and ppc64le has fewer asan
failures than ppc64be and all of the ppc64le failures are also failures
in ppc64be, so ppc64le is actually in better shape than ppc64be.
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH, libsanitizer] Enable for PowerPC little endian
2015-02-27 2:38 ` Peter Bergner
@ 2015-02-27 14:15 ` Peter Bergner
2015-02-27 15:38 ` Markus Trippelsdorf
0 siblings, 1 reply; 7+ messages in thread
From: Peter Bergner @ 2015-02-27 14:15 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: GCC Patches, David Edelsohn, Bill Schmidt
On Thu, 2015-02-26 at 20:04 -0600, Peter Bergner wrote:
> On Thu, 2015-02-26 at 22:56 +0100, Jakub Jelinek wrote:
> > How do make check results (asan.exp/ubsan.exp) look like on ppc64le?
> > If it works as good as or better as ppc64be, then I'm fine with adding it
> > even in stage4.
>
> They have the same exact failures in ubsan and ppc64le has fewer asan
> failures than ppc64be and all of the ppc64le failures are also failures
> in ppc64be, so ppc64le is actually in better shape than ppc64be.
Ok, since the results met your criteria for inclusion, I committed the
change as revision 221060. Thanks.
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH, libsanitizer] Enable for PowerPC little endian
2015-02-27 14:15 ` Peter Bergner
@ 2015-02-27 15:38 ` Markus Trippelsdorf
2015-02-27 16:37 ` Peter Bergner
0 siblings, 1 reply; 7+ messages in thread
From: Markus Trippelsdorf @ 2015-02-27 15:38 UTC (permalink / raw)
To: Peter Bergner; +Cc: Jakub Jelinek, GCC Patches, David Edelsohn, Bill Schmidt
On 2015.02.27 at 07:47 -0600, Peter Bergner wrote:
>
> Ok, since the results met your criteria for inclusion, I committed the
> change as revision 221060. Thanks.
Are there any plans to fix:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63927 ?
--
Markus
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH, libsanitizer] Enable for PowerPC little endian
2015-02-27 15:38 ` Markus Trippelsdorf
@ 2015-02-27 16:37 ` Peter Bergner
0 siblings, 0 replies; 7+ messages in thread
From: Peter Bergner @ 2015-02-27 16:37 UTC (permalink / raw)
To: Markus Trippelsdorf
Cc: Jakub Jelinek, GCC Patches, David Edelsohn, Bill Schmidt
On Fri, 2015-02-27 at 15:30 +0100, Markus Trippelsdorf wrote:
> On 2015.02.27 at 07:47 -0600, Peter Bergner wrote:
> >
> > Ok, since the results met your criteria for inclusion, I committed the
> > change as revision 221060. Thanks.
>
> Are there any plans to fix:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63927 ?
This is the first time I've seen this. I haven't heard of this being
an issue before either. That said, we'll have a look into this, but
probably not in time for GCC 5.0, since we have other real bugs we're
working on that have to get fixed first.
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-02-27 15:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 21:58 [PATCH, libsanitizer] Enable for PowerPC little endian Peter Bergner
2015-02-26 22:21 ` Jakub Jelinek
2015-02-26 23:50 ` David Edelsohn
2015-02-27 2:38 ` Peter Bergner
2015-02-27 14:15 ` Peter Bergner
2015-02-27 15:38 ` Markus Trippelsdorf
2015-02-27 16:37 ` Peter Bergner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).