Open llvmbot opened 5 years ago
Recently in Ubuntu packages I started to see that libclang .a files contain .o files that contain LLVM bitcode instead of native code.
This breaks linking other tools with ld and makes linking with ld.lld terribly slow because it has to rebuild bitcode into native code.
There is a workaround (see build.bash), but relying on it defeats the purpose of using binary packages because it is also terribly slow.
build.bash
Some keywords to make it more searcheable: /usr/bin/ld: /usr/lib/llvm-10/lib/libclangCodeGen.a: error adding symbols: archive has no index; run ranlib to add one
Extended Description
Recently in Ubuntu packages I started to see that libclang .a files contain .o files that contain LLVM bitcode instead of native code.
This breaks linking other tools with ld and makes linking with ld.lld terribly slow because it has to rebuild bitcode into native code.
There is a workaround (see build.bash), but relying on it defeats the purpose of using binary packages because it is also terribly slow.