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 71B5C158041 for ; Tue, 12 Mar 2024 03:37:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65278E29C2; Tue, 12 Mar 2024 03:37:27 +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 26D60E29C2 for ; Tue, 12 Mar 2024 03:37:27 +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 2A8F2341214 for ; Tue, 12 Mar 2024 03:37:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99ACB1313 for ; Tue, 12 Mar 2024 03:37:24 +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: <1710214614.b4e704a3cb668ba1a6fc85ca9364bfde73db1e14.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/libxtrxll/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild net-wireless/libxtrxll/libxtrxll-9999.ebuild X-VCS-Directories: net-wireless/libxtrxll/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b4e704a3cb668ba1a6fc85ca9364bfde73db1e14 X-VCS-Branch: master Date: Tue, 12 Mar 2024 03:37:24 +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: 8740a10f-6217-4f55-80c7-e8f7e12fa2bd X-Archives-Hash: ba4ab81321c26113d01322adace9dda6 commit: b4e704a3cb668ba1a6fc85ca9364bfde73db1e14 Author: Eli Schwartz gmail com> AuthorDate: Tue Mar 12 03:33:31 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 12 03:36:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e704a3 net-wireless/libxtrxll: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/861932 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild | 12 ++++++++++-- net-wireless/libxtrxll/libxtrxll-9999.ebuild | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild index 0bf53e74f27d..dbb429f7470d 100644 --- a/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild +++ b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Low-level XTRX hardware abstraction library" HOMEPAGE="https://github.com/xtrx-sdr/libxtrxll" @@ -26,6 +26,14 @@ RDEPEND="usb3380? ( net-wireless/libusb3380 )" DEPEND="${RDEPEND}" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861932 + # https://github.com/myriadrf/libxtrxll/issues/10 + # + # Do not trust with LTO either + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DENABLE_PCIE=ON -DENABLE_USB3380="$(usex usb3380 ON OFF)" diff --git a/net-wireless/libxtrxll/libxtrxll-9999.ebuild b/net-wireless/libxtrxll/libxtrxll-9999.ebuild index 0bf53e74f27d..dbb429f7470d 100644 --- a/net-wireless/libxtrxll/libxtrxll-9999.ebuild +++ b/net-wireless/libxtrxll/libxtrxll-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Low-level XTRX hardware abstraction library" HOMEPAGE="https://github.com/xtrx-sdr/libxtrxll" @@ -26,6 +26,14 @@ RDEPEND="usb3380? ( net-wireless/libusb3380 )" DEPEND="${RDEPEND}" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861932 + # https://github.com/myriadrf/libxtrxll/issues/10 + # + # Do not trust with LTO either + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DENABLE_PCIE=ON -DENABLE_USB3380="$(usex usb3380 ON OFF)"