[Bug 2139340] Re: objcopy --target=efi-app-x86_64 no longer works (regression)
Mate Kukri
2139340 at bugs.launchpad.net
Thu Mar 5 16:29:48 UTC 2026
Found the root cause, this is because --target now also sets the input
target in objcopy not just the output target. using --output-target
instead works.
This is obviously a binutils regression but I'll patch it sbsigntool and
leave binutils be.
** Changed in: binutils (Ubuntu)
Status: New => Won't Fix
--
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/2139340
Title:
objcopy --target=efi-app-x86_64 no longer works (regression)
Status in binutils package in Ubuntu:
Won't Fix
Bug description:
Questing (expected):
> objcopy --target=efi-app-x86_64 test.elf test.efi
> echo $?
0
Resolute (actual):
> objcopy --target=efi-app-x86_64 test.elf test.efi
objcopy: test.elf: file format not recognized
> echo $?
1
See attached ELF for reproduction.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/2139340/+subscriptions
More information about the foundations-bugs
mailing list