[Bug 2136889] Re: riscv64-linux-gnu-strip can't strip the binary linked with lld

Valentin Haudiquet 2136889 at bugs.launchpad.net
Fri Jan 23 10:28:59 UTC 2026


I can't reproduce on Noble:

$ sudo apt install clang lld binutils
...
$ echo "int main() {return 0;}" > main.c
$ clang main.c -fuse-ld=lld -o main
$ strip main
$

I can't reproduce on Questing or Resolute either.

Does the bug only happen with an older version of lld/llvm, or has it
been fixed everywhere already?

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

Title:
  riscv64-linux-gnu-strip can't strip the binary linked with lld

Status in binutils package in Ubuntu:
  Fix Committed

Bug description:
  riscv64-linux-gnu-strip can't strip the binary that is linked with lld

  So, it's causing this CI failure:
  https://github.com/BurntSushi/ripgrep/pull/3165#issuecomment-3408902437

  
  Original bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=30237
  Solved with: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bbc969306

  Since it's already fixed, we can just backport it if it's possible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/2136889/+subscriptions




More information about the foundations-bugs mailing list