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-fs/diskdev_cmds/
Date: Tue, 26 Mar 2024 12:31:32 +0000 (UTC)	[thread overview]
Message-ID: <1711456049.f5e2fcbee63b44a819e8526f757e59aa758ec4fe.sam@gentoo> (raw)

commit:     f5e2fcbee63b44a819e8526f757e59aa758ec4fe
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 26 01:01:25 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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)"
 }
 


             reply	other threads:[~2024-03-26 12:31 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 12:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-13 18:03 [gentoo-commits] repo/gentoo:master commit in: sys-fs/diskdev_cmds/ Sam James
2021-07-02  7:17 Sergei Trofimovich
2021-05-01 20:44 Sergei Trofimovich
2020-12-07 18:48 Sam James
2020-11-18  8:51 Sergei Trofimovich
2020-11-15  8:44 Sam James
2020-11-12 23:15 Sergei Trofimovich
2020-11-12 23:14 Sergei Trofimovich
2020-09-26  9:13 Sergei Trofimovich
2020-08-06 21:22 Sergei Trofimovich
2020-08-01  9:01 Sergei Trofimovich
2020-07-25 11:17 Sam James
2020-06-28 22:43 Sergei Trofimovich
2020-06-28 22:43 Sergei Trofimovich
2020-06-28 20:44 Agostino Sarubbo
2020-06-28  8:11 Sergei Trofimovich
2020-06-25  7:00 Agostino Sarubbo
2020-06-24  7:19 Sergei Trofimovich
2020-04-01 21:14 Sergei Trofimovich
2019-10-07 13:53 Michał Górny
2019-10-07 10:38 Agostino Sarubbo
2019-10-07  9:47 Agostino Sarubbo
2019-10-07  8:59 Agostino Sarubbo
2019-10-07  8:42 Agostino Sarubbo
2019-06-27  7:31 Sergei Trofimovich
2016-10-11  6:37 Jeroen Roovers
2016-08-06  8:47 Pacho Ramos

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=1711456049.f5e2fcbee63b44a819e8526f757e59aa758ec4fe.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