I get multiple underfined references when linking include-what-you-use with LLVM 16.0.5. Reproducible: Always Steps to Reproduce: 1. Emerge Clang and LLVM 16.0.5 2. Emerge include-what-you-use-0.20 Actual Results: Link fails. Expected Results: Link succeeds
Please include the full build.log and emerge --info.
Created attachment 863319 [details] emerge --info include-what-you-use
Compiles with Clang.
Created attachment 863320 [details] build.log
-- IWYU: configuring for LLVM 16.0.5+libcxx from /usr/lib/llvm/16/lib64/cmake/llvm This makes it sound like you're mixing libstdc++ and libcxx which is invalid.
Right, I have my LLVM stack compiled with Clang, but that linker error didn't happen before that... I have linker issue with mesa[llvm] as well.
(In reply to nobounce from comment #6) > Right, I have my LLVM stack compiled with Clang, but that linker error > didn't happen before that... That doesn't matter, unfortunately. If something links with LLVM, it's going to get libcxx gunk. It's okay to build LLVM with Clang, but if you're going to do it with libcxx *as well*, you can't mix it with libstdc++.