After isolating the double complex test (attached), I found that it only
failed with the combination of -O2 and LTO. With -O1 or -O3 and LTO it
was fine.
** Attachment added: "r-base-lto.tar.gz"
https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+attachment/5582542/+files/r-base-l
While disabling LTO completely avoids the problem, per doc/NEWS it seems
upstream does support LTO.
I found that enabling LTO again, and only disabling it for double
complex test (as per attached patch) allows r-base to build with LTO and
the autopkgtests of the affected packages still pass.
**
This bug was fixed in the package r-base - 4.1.2-1ubuntu1
---
r-base (4.1.2-1ubuntu1) jammy; urgency=medium
* Drop adding -std=gnu99, as R needs at least C11 compiler by default
and adds -std=gnu11 which then lowers the standard than what gcc
default is.
* Turn off LTO as
https://launchpad.net/ubuntu/+source/r-base/4.1.2-1ubuntu1
** Changed in: r-base (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1950283
Title:
r-base: gf