[compiler-rt] r260839 - Fix lib/tsan/go/buildgo.sh for FreeBSD after r243051.

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 12:50:29 PST 2016


On Tue, Feb 16, 2016 at 12:08 PM, Dimitry Andric <dimitry at andric.com> wrote:
> On 14 Feb 2016, at 01:26, Dimitry Andric via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>>
>> Author: dim
>> Date: Sat Feb 13 18:26:32 2016
>> New Revision: 260839
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=260839&view=rev
>> Log:
>> Fix lib/tsan/go/buildgo.sh for FreeBSD after r243051.
>>
>> FreeBSD also needs to have sanitizer_linux_libcdep.cc included,
>> otherwise linking will fail with "undefined reference to
>> `__sanitizer::GetRSS()'".
>>
>> While here, tabify the FreeBSD part, similar to the other parts.
>>
>> Modified:
>>    compiler-rt/trunk/lib/tsan/go/buildgo.sh
>
> Hans,
>
> This is another minor build fix, to get tsan test programs linking on
> FreeBSD (for x86_64).  It is mostly cosmetic, since all tsan testcases
> still crash, due to stack overflow, but having it build at all is at
> least something... :)
>
> (Note that the stack overflow is due to the tsan init method racing with
> that of jemalloc, and this leads to an endless recursion.  Still looking
> for a workaround.)

Doesn't sound like this is high-priority for 3.8, then, but on the
other hand it seems very minor, so go ahead and merge.

Thanks,
Hans


More information about the llvm-commits mailing list