[compiler-rt] r261229 - [tsan] Disable sysroot flag on FreeBSD

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 12:54:02 PST 2016


On 18 February 2016 at 20:08, Sean Silva <chisophugis at gmail.com> wrote:
>
> On Thu, Feb 18, 2016 at 9:35 AM, Ed Maste via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>>
>> Author: emaste
>> Date: Thu Feb 18 11:35:30 2016
>> New Revision: 261229
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=261229&view=rev
>> Log:
>> [tsan] Disable sysroot flag on FreeBSD
>>
>> FreeBSD does not install a number of Clang-provided headers for the
>> compiler in the base system due to incompatibilities between FreeBSD's
>> and Clang's versions. As a workaround do not use --sysroot=. on FreeBSD
>> until this is addressed.
>
>
> Out of curiousity, how do you currently make sure that you only install a subset of clang's builtin headers? Is it with an out-of-tree mechanism? We do it out of tree for PS4 and I'm curious how you guys are doing it.

Oh, sorry -- I thought I replied to this. Our base system clang indeed
uses bespoke build infrastructure (as is the case with all of the 3rd
party software included in the base system).

The header file installation can be found in
lib/clang/include/Makefile -- here's a svnweb link:
https://svnweb.freebsd.org/base/head/lib/clang/include/Makefile?view=markup

-Ed


More information about the llvm-commits mailing list