ubuntu-riscv Re: ☠ Buildbot (Sourceware): annobin - failed test (failure) (master)
Mark Wielaard
mark@klomp.org
Thu Mar 7 13:34:31 GMT 2024
Hi,
On Thu, 2024-03-07 at 01:05 +0100, Mark Wielaard wrote:
> on riscv-ubuntu things fail during the build:
>
> /usr/bin/ld: /usr/lib/llvm-16/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-16/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[1]: *** [Makefile:33: annobin-for-clang.so] Error 1
>
> I think that is because llvm-16-linker-tools isn't installed on the
> riscv builders. I will try to install those tomorrow.
It was installed, but it doesn't provide LLVMgold.so, just a dangling
symlink:
drwxr-xr-x 93 root root 4.0K Mar 4 22:01 /usr/lib
drwxr-xr-x 2 root root 4.0K Mar 4 22:01 /usr/lib/bfd-plugins
lrwxrwxrwx 1 root root 26 Sep 11 13:40 /usr/lib/bfd-plugins/LLVMgold-16.so -> ../llvm-16/lib/LLVMgold.so
drwxr-xr-x 7 root root 4.0K Mar 4 22:02 /usr/lib/llvm-16
drwxr-xr-x 4 root root 20K Mar 4 22:02 /usr/lib/llvm-16/lib
-rw-r--r-- 1 root root 2.6M Sep 11 13:40 /usr/lib/llvm-16/lib/LLVMPolly.so
-rw-r--r-- 1 root root 52K Sep 11 13:40 /usr/lib/llvm-16/lib/libLTO.so.16
I am not sure that is a packaging error or that LLVMgold just isn't
supported on riscv.
Cheers,
Mark
More information about the Annobin
mailing list