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

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Fri Jan 20 05:49:01 UTC 2023


On 19.1.2023 16.24, Christian Lohmaier wrote:
> On Thu, Jan 19, 2023 at 3:15 PM Ilmari Lauhakangas
> <ilmari.lauhakangas at libreoffice.org> wrote:
>>
>> 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
> 
> FYI: compilerplugins stuff doesn't get wiped with regular make clean,
> use make compilerplugins-clean or make distclean

Indeed, make distclean helped, thanks.

Ilmari


More information about the LibreOffice mailing list