[LLVMdev] Compiling llvm and Clang on Linux

Kostya Serebryany kcc at google.com
Fri Jul 13 01:49:11 PDT 2012


>
>
> I couldn't find in the gcc44 directories the the file gthr-default.h, on
> which the error is issued.
> The error is issued while compiling the line line #include <algorithm>
> in llvm/projects/compiler-rt/lib/asan/asan_posix.cc
>

FYI: we've just got rid of #include <algorithm> in llvm trunk for an
unrelated reason.


>
> the line is preceded by the comment
> // Should not add dependency on libstdc++
>

There was no contradiction.
The parts we *were* using were completely implemented in the STL headers
and did not cause a link-time dependency on libstdc++.
Anyway, this code is gone now.

--kcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120713/a5826656/attachment.html>


More information about the llvm-dev mailing list