[Bug 1953040] Re: FTBFS on arm64 in Jammy - relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21

Christian Ehrhardt  1953040 at bugs.launchpad.net
Thu Dec 2 15:57:34 UTC 2021


https://launchpad.net/ubuntu/+source/gpsd/3.22-4ubuntu1/+build/22469668
built now

** Changed in: gpsd (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  FTBFS on arm64 in Jammy - relocation truncated to fit:
  R_AARCH64_ADR_PREL_PG_HI21

Status in Gpsd:
  Unknown
Status in gpsd package in Ubuntu:
  Fix Released
Status in lto-disabled-list package in Ubuntu:
  Fix Committed

Bug description:
  FTBFS:
  https://launchpad.net/ubuntu/+source/gpsd/3.22-4ubuntu1/+build/22469668

  Debugging showed that this is due to -flto being the default now [1].

  Sadly the build system isn't the most common one, so even specifying
  -fno-lto in all flags AND exporting `export
  DEB_BUILD_MAINT_OPTIONS=optimize=-lto` or all the other things I tried
  do not work as the flags to not reach all places they are needed.

  Hence, despite being in main I'll ahve to fix this via lto-disabled-
  list package.

  [1]: https://wiki.ubuntu.com/ToolChain/LTO

To manage notifications about this bug go to:
https://bugs.launchpad.net/gpsd/+bug/1953040/+subscriptions




More information about the foundations-bugs mailing list