[needs-sponsor] ignition-physics testsuite segfaults on amd64/Jammy when using flto=auto -ffat-lto-objects
Bug #1965064 reported by
Jose Luis Rivero
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ignition-physics (Ubuntu) |
Fix Released
|
Undecided
|
Graham Inggs |
Bug Description
Current ignition-physics version 5.1.0+ds1-4 fails on amd64 with segfaults in some of the tests:
https:/
The situation was unusual since the same version imported from Debian Sid built just fine. I was debugging the problem in upstream issue tracker: https:/
Summary: Ubuntu Jammy is using linker optimizations -flto=auto -ffat-lto-objects that make the package to fail when running tests in ignition-physics.
Changed in ignition-physics (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Graham Inggs (ginggs) |
Changed in ignition-physics (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Attached is the debdiff that solves the problem for the amd64 build by filtering out the flto=auto -ffat-lto-objects.
The patch also includes a fix for the ppc64 build now that we are at it. Both changes are reflected in the Changelog and tested in my PPA:
* amd64 https:/ /launchpad. net/~j- rivero/ +archive/ ubuntu/ jammy-packages/ +build/ 23249466 /launchpad. net/~j- rivero/ +archive/ ubuntu/ jammy-packages/ +build/ 23249469
* ppc64 https:/