[compiler-rt] r184805 - Remove the sysroot (or isysroot) restriction from the GCDAProfile.c

Chandler Carruth chandlerc at gmail.com
Tue Jun 25 17:11:33 PDT 2013


On Tue, Jun 25, 2013 at 2:44 PM, Bob Wilson <bob.wilson at apple.com> wrote:

> OK, I think I managed to get our buildbots unblocked.  We have some
> internal code to add armv7s, which wasn't disabled by the hack in 184816.
>  I've fixed that now, so hopefully our buildbots will start passing again.
>
> But, we still need a real solution.  It looks like we just need to add
> errno.h to the fake SDK for Darwin.  Or is the problem more fundamental
> than that?
>

I don't have strong opinions here.

I can't readily add an errno.h (or anything else) to the fake SDK for
Darwin because I have no idea what to put in it. If you guys want to do
that, cool. Personally, I don't like the idea of using a fake SDK for this
at all. Instead, I much prefer that the build system test for the existence
of the real SDK and use it to build the library.

That said, I'm also fine with making the use of the actual libc system
headers be Linux-only if you guys really need to continue to do the fake
SDK thing. I think Bill has already implemented this, and it looks like a
good solution to me.

Ultimately, the only thing I really care about is being able to add the
code to this library necessary to make failures encountered in it
debuggable on Linux. I actually think the current approach works just fine
for this (using __APPLE__ to hide the errno business) but will leave it to
you guys to revert the changes to clang_darwin.mk when you're comfortable
with tho solution.

-Chandler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130625/06a75ff1/attachment.html>


More information about the llvm-commits mailing list