This is the mail archive of the
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.email@example.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 Schmidt, Ph.D.
GCC for Linux on Power
Linux on Power Toolchain
IBM Linux Technology Center
> On Jan 23, 2017, at 6:53 AM, Maxim Ostapenko <firstname.lastname@example.org> wrote:
> On 23/01/17 14:33, Jakub Jelinek wrote:
>> 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:
> Thus TSan is supposed to work on ppc64, I guess.
>> If yes, then libsanitizer/configure.tgt should be changed to reflect that