From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C1C0D158041 for ; Fri, 15 Mar 2024 04:43:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04B0CE29BC; Fri, 15 Mar 2024 04:43:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2178E29BC for ; Fri, 15 Mar 2024 04:43:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EC8D33BF39 for ; Fri, 15 Mar 2024 04:43:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98CF3B29 for ; Fri, 15 Mar 2024 04:43:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1710477763.10d4c8fe0fecdefe4cc543a45dfb051a5f06b344.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/charm/charm-6.8.2.ebuild X-VCS-Directories: sys-cluster/charm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 10d4c8fe0fecdefe4cc543a45dfb051a5f06b344 X-VCS-Branch: master Date: Fri, 15 Mar 2024 04:43:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7296b785-aa60-41d8-ab5c-2867d05f0704 X-Archives-Hash: 43ac04c2f0ac67faccf4f9a2ffb13ae1 commit: 10d4c8fe0fecdefe4cc543a45dfb051a5f06b344 Author: Eli Schwartz gmail com> AuthorDate: Fri Mar 15 04:38:01 2024 +0000 Commit: Sam James gentoo 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 gmail.com> Signed-off-by: Sam James 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 \