public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charm/
Date: Fri, 15 Mar 2024 04:43:23 +0000 (UTC)	[thread overview]
Message-ID: <1710477763.10d4c8fe0fecdefe4cc543a45dfb051a5f06b344.sam@gentoo> (raw)

commit:     10d4c8fe0fecdefe4cc543a45dfb051a5f06b344
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 15 04:38:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 04:42:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10d4c8fe

sys-cluster/charm: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/863725
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/charm/charm-6.8.2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/charm/charm-6.8.2.ebuild b/sys-cluster/charm/charm-6.8.2.ebuild
index 1ff82273b8c5..0b731f6bbcd0 100644
--- a/sys-cluster/charm/charm-6.8.2.ebuild
+++ b/sys-cluster/charm/charm-6.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -61,6 +61,14 @@ get_opts() {
 }
 
 src_prepare() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/863725
+	# https://github.com/UIUC-PPL/charm/issues/3789
+	#
+	# Do not trust with LTO either
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	append-cppflags $($(tc-getPKG_CONFIG) --cflags libtirpc)
 
 	sed \


             reply	other threads:[~2024-03-15  4:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  4:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-11 22:53 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charm/ Sam James
2021-07-21 15:56 Marek Szuba
2020-09-01  9:07 Michał Górny
2019-09-08  6:43 Michał Górny
2018-05-01 22:35 Christoph Junghans
2017-12-18 14:04 Justin Lecher
2017-01-18 22:36 Christoph Junghans
2016-10-29 23:15 Mike Gilbert

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=1710477763.10d4c8fe0fecdefe4cc543a45dfb051a5f06b344.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