Summary: | dev-util/include-what-you-use: linker error: multiple undefined reference with LLVM 16.0.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | foearb <stffn.mobil> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info include-what-you-use
build.log |
Description
foearb
2023-06-05 08:42:09 UTC
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++. |