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

Dimitry Andric via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 12:08:08 PST 2016


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.)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160216/2b18dff2/attachment.sig>


More information about the llvm-commits mailing list