<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">ben:~/development/test$ clang++-3.5 -std=c++11 -stdlib=libc++ abi.cpp<br>

</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">-nostdinc -I/usr/include/c++/v1<br></span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">In file included from abi.cpp:1:<br>

</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">/usr/include/c++/v1/cxxabi.h:</span><u style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"></u><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">1</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">8:10: fatal error: 'stddef.h' file not found</span></blockquote>

<div><br></div><div>-nostdinc<b>++</b>. We still want it to find the standard headers, just not libstdc++. </div><span style="font-family:arial,sans-serif;font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div>LLVM_ENABLE_LIBCXX controls whether or not LLVM itself is built with libc++. AFAIK, it shouldn't affect clang's behavior from the user side of things.</span><br><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div><div><font face="arial, sans-serif">Sounds like it's an issue with clang's default include search path. Maybe one of the clang people can chime in?<br></font></div></div><div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Aug 4, 2014 at 3:38 AM, Ben Pope <span dir="ltr"><<a href="mailto:benpope81@gmail.com" target="_blank">benpope81@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On 08/04/2014 10:22 AM, Marc J. Driftmeyer wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This has been broken on Linux [Debian Linux in my case], as in it has<br>
never worked on Linux that I've tested, but it magically works [for<br>
obvious reasons] on OS X.<br>
<br>
Debian has LLVM/Clang 3.4.2 with /usr/include/c++/v1/<br>
<br>
Building from trunk having /usr/local/include/c++/v1<br>
<br>
Both are broken.<br>
<br>
I don't even bother building trunk with the following turned on:<br>
<br>
//Use libc++ if available.<br>
LLVM_ENABLE_LIBCXX:BOOL=ON<br>
<br>
I default to the following:<br>
<br>
//Use libc++ if available.<br>
LLVM_ENABLE_LIBCXX:BOOL=OFF<br>
<br>
Otherwise, the damn stack won't compile. By off it just defaults to<br>
GCC's libstc++ stack and compiles as expected. Everything else with<br>
compiling a fresh libc++ builds when turned on in cmake, but this part.<br>
<br>
- Marc<br>
</blockquote>
<br></div>
I've been building and running the clang test releases and tests, as well as trunk on Ubuntu for a while with libc++ and libc++abi, it's been fine until the 3.5 RC1.<br>
<br>
That is to say that the boost regression test suite that I also run and publish, seem to have a very similar pass rate as gcc.<br>
<br>
I don't usually build libc++ and libc++abi in-tree with clang and llvm, but the clang release script was fine with 3.3, 3.4, 3.4.1, 3.4.2 and perhaps earlier.<div class="HOEnZb"><div class="h5"><br>
<br>
Ben<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>