summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-20 23:05:50 -0400
committerSam James <sam@gentoo.org>2024-03-21 05:57:37 +0000
commit3b05cbc43c32d8c519df31a6ccabd17ebd0d6d19 (patch)
treec23e9b569d9f6d4331d45107520684ee4571f39f /sci-libs/mumps
parentsci-biology/qrna: add 2.0.4 (diff)
downloadgentoo-3b05cbc43c32d8c519df31a6ccabd17ebd0d6d19.tar.gz
gentoo-3b05cbc43c32d8c519df31a6ccabd17ebd0d6d19.tar.bz2
gentoo-3b05cbc43c32d8c519df31a6ccabd17ebd0d6d19.zip
sci-libs/mumps: mark as LTO-unsafe, strict-aliasing unsafe
I would like to report this upstream. However, the only contact method is their mailing list. And their mailing list may or may not work -- I find it hard to tell because I've never seen the interface before, but it is mostly in French and the bit that I recognized doesn't seem to have working links to e.g. the archive. Closes: https://bugs.gentoo.org/862903 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/mumps')
-rw-r--r--sci-libs/mumps/mumps-5.3.5-r1.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-libs/mumps/mumps-5.3.5-r1.ebuild b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
index 705a251a15d6..8df93f5e4e8c 100644
--- a/sci-libs/mumps/mumps-5.3.5-r1.ebuild
+++ b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
@@ -63,6 +63,16 @@ static_to_shared() {
}
src_prepare() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/862903
+ #
+ # There is an upstream mailing list but it seems to be broken. I *think*,
+ # because it's all in French. I tried and failed to report the bug.
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# workaround for gcc10 (bug #743442)
append-fflags $(test-flags-FC -fallow-argument-mismatch)