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 42CA2158041 for ; Tue, 5 Mar 2024 04:48:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E5C5E2A36; Tue, 5 Mar 2024 04:48:53 +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 B0552E2A35 for ; Tue, 5 Mar 2024 04:48:52 +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 4B516343096 for ; Tue, 5 Mar 2024 04:48:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD4E814F7 for ; Tue, 5 Mar 2024 04:48:48 +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: <1709614073.d58f870d7043f3891c0fd707bd55c912368b9486.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rtrlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/rtrlib/rtrlib-0.8.0.ebuild X-VCS-Directories: net-libs/rtrlib/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d58f870d7043f3891c0fd707bd55c912368b9486 X-VCS-Branch: master Date: Tue, 5 Mar 2024 04:48:48 +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: d45f1670-6901-4314-a6d1-c01496c3e7dc X-Archives-Hash: a5324e7f9479bff79993819a4e0ad208 commit: d58f870d7043f3891c0fd707bd55c912368b9486 Author: Eli Schwartz gmail com> AuthorDate: Tue Mar 5 04:20:15 2024 +0000 Commit: Sam James gentoo 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 gmail.com> Signed-off-by: Sam James 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) )