[Bug 2138397] Re: /usr/lib/llvm-19/lib/LLVMgold.so missing in riscv64 package

Daniel Richard G. 2138397 at bugs.launchpad.net
Wed Jan 14 20:09:17 UTC 2026


Also affected: llvm-21-linker-tools 1:21.1.2-2ubuntu6 in Ubuntu
questing:

    https://packages.ubuntu.com/questing/riscv64/llvm-21-linker-
tools/filelist

Also affected: llvm-21-linker-tools 1:21.1.7-1ubuntu2 in Ubuntu
resolute:

    https://packages.ubuntu.com/resolute/riscv64/llvm-21-linker-
tools/filelist

Along with LLVMs 20, 19, 18, and 17.

** Tags added: questing resolute

** Also affects: llvm-toolchain-21 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to llvm-toolchain-19 in Ubuntu.
https://bugs.launchpad.net/bugs/2138397

Title:
  /usr/lib/llvm-19/lib/LLVMgold.so missing in riscv64 package

Status in llvm-toolchain-19 package in Ubuntu:
  New
Status in llvm-toolchain-20 package in Ubuntu:
  New
Status in llvm-toolchain-21 package in Ubuntu:
  New

Bug description:
  This concerns llvm-19-linker-tools version 1:19.1.1-1ubuntu1~24.04.2
  in Ubuntu noble.

  Saw this in a Firefox build on riscv64:

      14:03.56   = note: /usr/bin/ld: /usr/lib/llvm-19/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-19/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
      14:03.57           clang-19: error: linker command failed with exit code 1 (use -v to see invocation)
      14:03.61 error: could not compile `proc-macro2` (build script) due to 1 previous error

  All the arch builds of this package have
  /usr/lib/llvm-19/lib/LLVMgold.so, except for the riscv64 one.

  The riscv64 package does have /usr/lib/bfd-plugins/LLVMgold-19.so,
  FWIW:

      https://packages.ubuntu.com/noble-updates/riscv64/llvm-19-linker-
  tools/filelist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-19/+bug/2138397/+subscriptions




More information about the foundations-bugs mailing list