https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/gsl-2.7.1-r2 fails tests. Discovered on: amd64 (internal ref: lto_tinderbox) System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 888264 [details] build.log build log and emerge --info
Maybe fixed in gsl-2.8 which has a lot of compiler fixes
I tried bumping the version and commenting out the first two patches (which no longer apply). Configure warned that --without-cblas-external isn't valid anymore. It did compile and install without an error for lto-type-mismatch.
The big build system patch is part of our approach to BLAS/LAPACK: https://wiki.gentoo.org/wiki/Blas-lapack-switch#Providers Not that I have a better idea, but it requires someone pretty brave as maintainer because the patches tend to conflict with everything.
Someone submitted a patch to update to 2.8
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2e7ef90af5c37f4cd561ff3bb1053b3aeee2d4 commit af2e7ef90af5c37f4cd561ff3bb1053b3aeee2d4 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-05 18:46:02 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-06 00:18:31 +0000 sci-libs/gsl: mark as LTO-unsafe It appears to be fixed in 2.8 but the package is high-maintenance due to required patching. Filter it for now and drop the filter when updating to the new version. Closes: https://bugs.gentoo.org/927585 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> sci-libs/gsl/gsl-2.7.1-r2.ebuild | 8 +++++++- sci-libs/gsl/gsl-2.7.1-r3.ebuild | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-)