[cfe-dev] Building clang 5 (for coroutines)
Eric Fiselier via cfe-dev
cfe-dev at lists.llvm.org
Wed Jun 14 23:37:03 PDT 2017
Have you seen this documentation:
http://libcxx.llvm.org/docs/BuildingLibcxx.html#id3 ?
/Eric
On Thu, Jun 15, 2017 at 12:27 AM, Kirit Sælensminde via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> On 14/06/17 23:41, Tim Northover wrote:
>
>> The actual errors are pretty uninspiring (same as before: libstdc++
>> not being used). The compile command that's actually failing would be
>> useful. You can get that by running "make VERBOSE=1".
>>
>> My best suspicion at the moment is that whatever docker is, it's
>> providing a weird toolchain that only links statically, which means
>> that the order of libraries matters more during the link phase and
>> libstdc++ might be too early. But we need to know exactly what's being
>> compiled to work out where to change the CMake scripts so it works.
>>
>
> 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.
>
> 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?
>
> 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.
>
> What it looks like to me is that the cmake configuration just doesn't have
> libcxxabi as a dependency for libcxx.
>
>
> Kirit
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170615/44d18ce5/attachment.html>
More information about the cfe-dev
mailing list