You are not logged in.
After upgrading from llvm 14.0.6 to 15.0.7 today, mold got confused. I got this when trying to build LibreOffice master:
[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
After switching the linker to lld with --enable-ld=lld the build went fine.
Is this a mold packaging issue or something I can fix myself?
Last edited by buovjaga (2023-01-19 17:09:42)
Offline
/usr/bin/ld: cannot find -lLLVM-14: No such file or directory
That is not mold.
Offline
Sorry for the noise, this was LibreOffice's build system deceiving me. Running 'make distclean' helped.
Offline