[Bug 1950283] Re: r-base: gfortran and gcc disagree on double complex
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-lto.tar.gz -- 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: gfortran and gcc disagree on double complex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1950283] Re: r-base: gfortran and gcc disagree on double complex
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. ** Patch added: "disable-lto-for-double-complex-test.patch" https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+attachment/5582541/+files/disable-lto-for-double-complex-test.patch -- 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: gfortran and gcc disagree on double complex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1950283] Re: r-base: gfortran and gcc disagree on double complex
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 it missbuilds R with HAVE_FORTRAN_DOUBLE_COMPLEX not defined. LP: #1950283 -- Dimitri John Ledkov Tue, 09 Nov 2021 12:11:18 + ** Changed in: r-base (Ubuntu) Status: Fix Committed => Fix Released -- 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: gfortran and gcc disagree on double complex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1950283] Re: r-base: gfortran and gcc disagree on double complex
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: gfortran and gcc disagree on double complex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs