Mold linker and clang 15: /usr/bin/ld: cannot find -lLLVM-14: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After upgrading from llvm 14 to 15 today, I got this:

[GEN] compilerplugins/clang/sharedvisitor/analyzer
/usr/bin/ld: cannot find -lLLVM-14: No such file or directory
clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [/home/user/libreoffice/compilerplugins/Makefile-clang.mk:274: /home/user/libreoffice/compilerplugins/clang/sharedvisitor/analyzer] Error 1

The problem was solved by switching to --enable-ld=lld

So why is /usr/bin/ld giving its silly outdated opinion here? All the CLANG_VERSION checks failed as a result. Looking at the makefile it is not obvious to me.

Ilmari



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux