[Bug 1741996] [NEW] Undefined references to 64-bit division in libefi on 32-bit systems

Matthew Garrett mjg59 at codon.org.uk
Mon Jan 8 22:37:40 UTC 2018


Public bug reported:

Building a 32-bit binary and linking against libefi.a gives the
following:

/usr/lib/libefi.a(math.o): In function `DivU64x32':
(.text+0x95): undefined reference to `__umoddi3'
(.text+0xaa): undefined reference to `__udivdi3'

Fedora carry this patch to avoid it:
https://github.com/vathpela/gnu-efi/commit/e192c2f65fec73b1362645193394228aebbc5dae

** Affects: gnu-efi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gnu-efi (Debian)
     Importance: Unknown
         Status: Unknown

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

Title:
  Undefined references to 64-bit division in libefi on 32-bit systems

Status in gnu-efi package in Ubuntu:
  New
Status in gnu-efi package in Debian:
  Unknown

Bug description:
  Building a 32-bit binary and linking against libefi.a gives the
  following:

  /usr/lib/libefi.a(math.o): In function `DivU64x32':
  (.text+0x95): undefined reference to `__umoddi3'
  (.text+0xaa): undefined reference to `__udivdi3'

  Fedora carry this patch to avoid it:
  https://github.com/vathpela/gnu-efi/commit/e192c2f65fec73b1362645193394228aebbc5dae

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnu-efi/+bug/1741996/+subscriptions



More information about the foundations-bugs mailing list