[cfe-dev] Building clang 5 (for coroutines)

Tim Northover via cfe-dev cfe-dev at lists.llvm.org
Wed Jun 14 06:48:13 PDT 2017


On 14 June 2017 at 05:41, Kirit Sælensminde via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> I've also tried to use the git repos from llvm-project on github and then finally the svn repositories. In all cases I get large numbers of link errors like the ones at the end of this message.

I think your Clang installation is dodgy: it's not linking against
libstdc++ for some reason. I'd probably skip the "CC=clang
CXX=clang++" prefix for CMake in your situation, building things with
GCC is always going to be the easiest path on Ubuntu and Clang should
work just as well if it's been built by GCC.

Cheers.

Tim.



More information about the cfe-dev mailing list