The change seems to be with the arguments of objcopy.

Old objcopy interpreted --target in

objcopy -j .header -j .text -j .sdata -j .data -j .dynamic -j .dynstr -j
.dynsym -j .rel* -j .reloc --target=efi-app-x86_64
lib/efi_loader/helloworld_efi.so lib/efi_loader/helloworld.efi

as specifying the output target only.

New objcopy applies the --target value both to the --input-target as
well as to the --output--target. So now we need a command like:

objcopy -j .header -j .text -j .sdata -j .data -j .dynamic -j .dynstr
-j .dynsym -j .rel* -j .reloc --output-target=efi-app-x86_64
lib/efi_loader/helloworld_efi.so lib/efi_loader/helloworld.efi

We need to fix upstream u-boot. For binutils this bug report is invalid.

** Changed in: binutils (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: binutils (Ubuntu)
    Milestone: ubuntu-26.04 => None

** Changed in: binutils (Ubuntu)
   Importance: High => Undecided

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

Title:
  objcopy fails to recognize x86-64 libraries

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to