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: net-libs/rtrlib/
Date: Tue,  5 Mar 2024 04:48:48 +0000 (UTC)	[thread overview]
Message-ID: <1709614073.d58f870d7043f3891c0fd707bd55c912368b9486.sam@gentoo> (raw)

commit:     d58f870d7043f3891c0fd707bd55c912368b9486
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 04:20:15 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 04:47:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58f870d

net-libs/rtrlib: mark as LTO-unsafe, strict-aliasing unsafe

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

 net-libs/rtrlib/rtrlib-0.8.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/net-libs/rtrlib/rtrlib-0.8.0.ebuild b/net-libs/rtrlib/rtrlib-0.8.0.ebuild
index d903cb14d3bb..50d2d94eb403 100644
--- a/net-libs/rtrlib/rtrlib-0.8.0.ebuild
+++ b/net-libs/rtrlib/rtrlib-0.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="An open-source C implementation of the RPKI/Router Protocol client"
 HOMEPAGE="https://rtrlib.realmv6.org/"
@@ -32,6 +32,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/861581
+	# https://github.com/rtrlib/rtrlib/issues/287
+	#
+	# Do not trust LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	local mycmakeargs=(
 		-DRTRLIB_TRANSPORT_SSH=$(usex ssh)
 	)


             reply	other threads:[~2024-03-05  4:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05  4:48 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-14  8:02 [gentoo-commits] repo/gentoo:master commit in: net-libs/rtrlib/ Sergey Popov
2023-02-09 17:51 Sergey Popov
2022-07-28  7:10 Sam James
2022-04-04 11:17 Sergey Popov
2021-05-15  2:21 Sam James
2021-02-27 19:51 Sergey Popov
2020-12-04  9:31 Sergey Popov

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=1709614073.d58f870d7043f3891c0fd707bd55c912368b9486.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