Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Jakub Jelinek
On Mon, Jan 23, 2017 at 04:10:01PM +0100, Ulrich Weigand wrote: > Bill Schmidt wrote: > > On Jan 23, 2017, at 8:32 AM, Jakub Jelinek wrote: > > > > > > Another question is, it seems upstream has s390{,x}-*-linux* support for > > > asan/ubsan, does that work? In that case we should add it to > >

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Ulrich Weigand
Bill Schmidt wrote: > On Jan 23, 2017, at 8:32 AM, Jakub Jelinek wrote: > > > > Another question is, it seems upstream has s390{,x}-*-linux* support for > > asan/ubsan, does that work? In that case we should add it to configure.tgt > > too (similarly to the sparc*-*-linux* entry). > > CCing Uli

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Bill Schmidt
> On Jan 23, 2017, at 8:47 AM, Jakub Jelinek wrote: > > On Mon, Jan 23, 2017 at 08:45:16AM -0600, Bill Schmidt wrote: >>> 2017-01-23 Jakub Jelinek >>> >>> * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*. >>> >>> --- libsanitizer/configure.tgt.jj 2016-11-09 15:22:50.00

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Jakub Jelinek
On Mon, Jan 23, 2017 at 08:45:16AM -0600, Bill Schmidt wrote: > > 2017-01-23 Jakub Jelinek > > > > * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*. > > > > --- libsanitizer/configure.tgt.jj 2016-11-09 15:22:50.0 +0100 > > +++ libsanitizer/configure.tgt 2017-

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Bill Schmidt
> On Jan 23, 2017, at 8:32 AM, Jakub Jelinek wrote: > > On Mon, Jan 23, 2017 at 08:22:30AM -0600, Bill Schmidt wrote: >> TSan support was contributed to LLVM by a student working at one of the US >> National Labs a while back. I helped him with some of the PPC assembly >> programming. To my k

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Bill Schmidt
> On Jan 23, 2017, at 8:32 AM, Jakub Jelinek wrote: > > On Mon, Jan 23, 2017 at 08:22:30AM -0600, Bill Schmidt wrote: >> TSan support was contributed to LLVM by a student working at one of the US >> National Labs a while back. I helped him with some of the PPC assembly >> programming. To my k

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Jakub Jelinek
On Mon, Jan 23, 2017 at 08:22:30AM -0600, Bill Schmidt wrote: > TSan support was contributed to LLVM by a student working at one of the US > National Labs a while back. I helped him with some of the PPC assembly > programming. To my knowledge this is working, but I haven't tested this with > GCC

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Bill Schmidt
TSan support was contributed to LLVM by a student working at one of the US National Labs a while back. I helped him with some of the PPC assembly programming. To my knowledge this is working, but I haven't tested this with GCC. Do you think we want to change the configuration for GCC this late

Re: -fsanitize=thread support on ppc64

2017-01-23 Thread Maxim Ostapenko
Hi, On 23/01/17 14:33, Jakub Jelinek wrote: Hi! I've noticed today there is tsan_rtl_ppc64.S file since the latest merge from upstream. Does that mean tsan is supposed to work on ppc64? Just powerpc64le-*-linux*, or powerpc64-*-linux* too? FWIW LLVM has build bots for both ppc64le-linux and

-fsanitize=thread support on ppc64

2017-01-23 Thread Jakub Jelinek
Hi! I've noticed today there is tsan_rtl_ppc64.S file since the latest merge from upstream. Does that mean tsan is supposed to work on ppc64? Just powerpc64le-*-linux*, or powerpc64-*-linux* too? If yes, then libsanitizer/configure.tgt should be changed to reflect that change. Jakub