<div dir="ltr">Have you seen this documentation: <a href="http://libcxx.llvm.org/docs/BuildingLibcxx.html#id3">http://libcxx.llvm.org/docs/BuildingLibcxx.html#id3</a> ?<div><br></div><div>/Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 12:27 AM, Kirit Sælensminde via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 14/06/17 23:41, Tim Northover wrote:<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The actual errors are pretty uninspiring (same as before: libstdc++<br>
not being used). The compile command that's actually failing would be<br>
useful. You can get that by running "make VERBOSE=1".<br>
<br>
My best suspicion at the moment is that whatever docker is, it's<br>
providing a weird toolchain that only links statically, which means<br>
that the order of libraries matters more during the link phase and<br>
libstdc++ might be too early. But we need to know exactly what's being<br>
compiled to work out where to change the CMake scripts so it works.<br>
</blockquote>
<br></span>
I've now tried this on some other machines (no builds are done in docker, but I think that's what I'm going to try next) and I get the same error on all of them, all against subversion trunk.<br>
<br>
What I don't really understand is if I'm building libc++ why would it want to link against libstdc++? Why wouldn't it link against the copy of libcxxabi that I'm also building? Isn't that what it should do for a self-contained build?<br>
<br>
I've found the cxx and cxxabi targets in the make and have tried to build cxxabi first (which works fine), but the cxx target still doesn't work.<br>
<br>
What it looks like to me is that the cmake configuration just doesn't have libcxxabi as a dependency for libcxx.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Kirit</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>