Public bug reported:

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

** Affects: gpsd
     Importance: Unknown
         Status: Unknown

** Affects: gpsd (Ubuntu)
     Importance: Undecided
     Assignee: Christian Ehrhardt  (paelzer)
         Status: Triaged

** Affects: lto-disabled-list (Ubuntu)
     Importance: Undecided
         Status: Fix Committed


** Tags: server-todo

** Also affects: lto-disabled-list (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lto-disabled-list (Ubuntu)
       Status: New => Triaged

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

** Tags added: server-todo

** Changed in: gpsd (Ubuntu)
     Assignee: (unassigned) => Christian Ehrhardt  (paelzer)

** Summary changed:

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

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to