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 CE33B158041 for ; Tue, 26 Mar 2024 12:31:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D11AE2A0A; Tue, 26 Mar 2024 12:31:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id BCDE2E2A0A for ; Tue, 26 Mar 2024 12:31:35 +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 D23493430B1 for ; Tue, 26 Mar 2024 12:31:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10EE915EE for ; Tue, 26 Mar 2024 12:31:32 +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: <1711456049.f5e2fcbee63b44a819e8526f757e59aa758ec4fe.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/diskdev_cmds/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild X-VCS-Directories: sys-fs/diskdev_cmds/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f5e2fcbee63b44a819e8526f757e59aa758ec4fe X-VCS-Branch: master Date: Tue, 26 Mar 2024 12:31:32 +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: a91bc97a-a5eb-498b-a640-c40c6e0df32d X-Archives-Hash: b7bdebafce61b5c393f415fd9277e5c7 commit: f5e2fcbee63b44a819e8526f757e59aa758ec4fe Author: Eli Schwartz gmail com> AuthorDate: Tue Mar 26 01:01:25 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 26 12:27:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e2fcbe sys-fs/diskdev_cmds: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/863893 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild b/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild index f3adae2ed197..827b33bc27b7 100644 --- a/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild +++ b/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_PV=${PV%_p*} @@ -29,6 +29,15 @@ PATCHES=( ) src_compile() { + # -Werror=strict-alising + # https://bugs.gentoo.org/863893 + # Upstream is entirely dead (since 2006!) and apple's opensource dump isn't + # exactly where you go to report (0) bugs to an automated feed. + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + emake -f Makefile.lnx AR="$(tc-getAR)" CC="$(tc-getCC)" }