<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - regression: locally-built Clang can't find C++ stdlib headers on Mac"
href="https://bugs.llvm.org/show_bug.cgi?id=45880">bug 45880</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - regression: locally-built Clang can't find C++ stdlib headers on Mac"
href="https://bugs.llvm.org/show_bug.cgi?id=45880#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - regression: locally-built Clang can't find C++ stdlib headers on Mac"
href="https://bugs.llvm.org/show_bug.cgi?id=45880">bug 45880</a>
from <span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span></b>
<pre>(In reply to Sean McBride from <a href="show_bug.cgi?id=45880#c24">comment #24</a>)
<span class="quote">>
> If `/usr/bin/clang` can do it, why can't the open source binaries do it?</span >
The main difference is that when you invoke Apple Clang (e.g.
`/usr/bin/clang`), you're actually going through a shim that calls `xcrun
/path/to/actual/clang/inside/Xcode.app`, and that sets the SDK to use by
default. For the open-source Clang, you might or might not even have a SDK
available, cause it's possible to install LLVM Clang without having any Xcode.
Regardless, I went ahead and tried implementing it in Clang:
<a href="https://reviews.llvm.org/D109460">https://reviews.llvm.org/D109460</a>. This patch does solve your problem but it
creates other problems as well. I opened that review to see whether this was
worth pursuing or not.
Reopening until we get to the bottom of this.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>