[Bug 2134326] Re: objcopy fails to recognize x86-64 libraries

Heinrich Schuchardt 2134326 at bugs.launchpad.net
Mon Dec 8 20:52:09 UTC 2025


Upstream U-Boot patch created:

[PATCH] Makefile: use --output-target instead of --target
https://lore.kernel.org/u-boot/20251208204738.62792-1-heinrich.schuchardt@canonical.com/T/#u

-- 
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/2134326

Title:
  objcopy fails to recognize x86-64 libraries

Status in binutils package in Ubuntu:
  Invalid

Bug description:
  I am running amd64 Ubuntu 26.04 with binutils
  2.45.50.20251125-1ubuntu1

  When building upstream U-Boot
  (https://source.denx.de/u-boot/u-boot.git) with

  make sandbox_defconfig
  make V=1

  I get an error

    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
  objcopy: lib/efi_loader/helloworld_efi.so: file format not recognized

  $ file lib/efi_loader/helloworld_efi.so
  lib/efi_loader/helloworld_efi.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

  When reverting to bintuils 2.45-7ubuntu1.1 the error disappears.
  --- 
  ProblemType: Bug
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 26.04
  InstallationDate: Installed on 2025-07-10 (150 days ago)
  InstallationMedia: Kubuntu 25.10 "Questing Quokka" - Daily amd64 (20250710)
  Package: binutils 2.45.50.20251125-1ubuntu1
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 6.17.0-6.6-generic 6.17.1
  Tags: resolute
  Uname: Linux 6.17.0-6-generic x86_64
  UpgradeStatus: Upgraded to resolute on 2025-11-24 (13 days ago)
  UserGroups: N/A
  _MarkForUpload: True

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




More information about the foundations-bugs mailing list