This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fsanitize=thread support on ppc64
- From: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- To: Maxim Ostapenko <m dot ostapenko at samsung dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 23 Jan 2017 08:22:30 -0600
- Subject: Re: -fsanitize=thread support on ppc64
- Authentication-results: sourceware.org; auth=none
- References: <CGME20170123113432epcas1p2951bfbb1968a143a14b9c54475ff3527@epcas1p2.samsung.com> <20170123113356.GK1867@tucnak> <5885FCE5.5050504@samsung.com>
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 in the
release? I can run a quick test with TSan turned on to see where we're at.
-- Bill
Bill Schmidt, Ph.D.
GCC for Linux on Power
Linux on Power Toolchain
IBM Linux Technology Center
wschmidt@linux.vnet.ibm.com
> On Jan 23, 2017, at 6:53 AM, Maxim Ostapenko <m.ostapenko@samsung.com> wrote:
>
> 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 ppc64be-linux, see:
> http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux
> http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux
>
> Thus TSan is supposed to work on ppc64, I guess.
>
> -Maxim
>
>> If yes, then libsanitizer/configure.tgt should be changed to reflect that
>> change.
>>
>> Jakub
>>
>>
>