From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/hdf/
Date: Mon, 8 Apr 2024 05:24:07 +0000 (UTC) [thread overview]
Message-ID: <1712553718.677056ae1551e2ab9c7203ea4a4c32f7d2d59f0a.sam@gentoo> (raw)
commit: 677056ae1551e2ab9c7203ea4a4c32f7d2d59f0a
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 8 03:32:34 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 8 05:21:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677056ae
sci-libs/hdf: mark as LTO-unsafe, strict-aliasing unsafe
I cannot tell whether it's still a problem upstream. Too many
catastrophes going on in this codebase right now. Not going to report it
when I have no clue.
Maybe if it could be updated for a better baseline...
Closes: https://bugs.gentoo.org/862720
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/hdf/hdf-4.2.15-r2.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sci-libs/hdf/hdf-4.2.15-r2.ebuild b/sci-libs/hdf/hdf-4.2.15-r2.ebuild
index 01a74e03df73..1b395672879f 100644
--- a/sci-libs/hdf/hdf-4.2.15-r2.ebuild
+++ b/sci-libs/hdf/hdf-4.2.15-r2.ebuild
@@ -50,6 +50,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing, -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/862720
+ #
+ # Do not trust with LTO either, just because of strict-aliasing.
+ # But also because it does have blatant LTO errors too.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
[[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check
# GCC 10 workaround
# bug #723014
next reply other threads:[~2024-04-08 5:24 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 5:24 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-08 5:24 [gentoo-commits] repo/gentoo:master commit in: sci-libs/hdf/ Sam James
2022-08-19 3:46 Sam James
2021-12-10 19:27 Jakov Smolić
2021-12-09 21:24 Sam James
2021-12-08 8:46 Yixun Lan
2021-12-08 8:41 Yixun Lan
2021-12-08 5:29 Sam James
2021-12-08 5:16 Sam James
2021-12-08 4:45 Sam James
2021-12-08 4:20 Sam James
2021-12-08 4:19 Sam James
2021-11-09 21:49 Jakov Smolić
2021-10-29 12:32 Sam James
2021-08-14 23:15 Marek Szuba
2021-05-31 9:20 David Seifert
2021-02-19 12:47 Sam James
2021-02-19 12:20 Sam James
2021-02-18 18:57 David Seifert
2020-06-27 20:45 Andreas K. Hüttel
2019-11-13 19:58 Aaron Bauman
2018-08-30 18:25 Sergei Trofimovich
2018-05-25 21:10 Mikle Kolyada
2018-05-07 0:24 Thomas Deutschmann
2018-05-06 21:47 Mikle Kolyada
2018-05-05 17:50 Sergei Trofimovich
2017-08-27 14:03 Sergei Trofimovich
2017-08-11 23:23 Sebastien Fabbro
2017-07-15 10:10 Sergei Trofimovich
2016-03-18 19:18 Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1712553718.677056ae1551e2ab9c7203ea4a4c32f7d2d59f0a.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox