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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18D4E15813A for ; Sat, 18 Jan 2025 20:58:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65B62E08DA; Sat, 18 Jan 2025 20:58:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27C2CE08DA for ; Sat, 18 Jan 2025 20:58:42 +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 1D566342F9A for ; Sat, 18 Jan 2025 20:58:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA999231C for ; Sat, 18 Jan 2025 20:58:38 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1737233913.20bf7f5e75297d1cafaa05e6c9970f4493e94ad6.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild X-VCS-Directories: net-dns/pdns-recursor/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: 20bf7f5e75297d1cafaa05e6c9970f4493e94ad6 X-VCS-Branch: master Date: Sat, 18 Jan 2025 20:58:38 +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: ad8496a0-b0e0-46c7-a9f8-c627954a4c7a X-Archives-Hash: d918a0f043d0944260d740bb10b0f0dd commit: 20bf7f5e75297d1cafaa05e6c9970f4493e94ad6 Author: Sven Wegener gentoo org> AuthorDate: Sat Jan 18 20:50:24 2025 +0000 Commit: Sven Wegener gentoo org> CommitDate: Sat Jan 18 20:58:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20bf7f5e net-dns/pdns-recursor: filter LTO flags We build a library using rust that gets linked into the main binary, which is incompatible with LTO. See filter-lto usage in cargo.eclass. Closes: https://bugs.gentoo.org/927177 Closes: https://bugs.gentoo.org/942414 Signed-off-by: Sven Wegener gentoo.org> net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild | 1 + net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild | 1 + net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild index a86a4870d6ed..bdcc684d3c98 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild @@ -75,6 +75,7 @@ S="${WORKDIR}"/${P/_/-} pkg_setup() { lua-single_pkg_setup filter-flags -ftree-vectorize + filter-lto append-lfs-flags append-cppflags -D_TIME_BITS=64 rust_pkg_setup diff --git a/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild index d728ddbc0a1b..d7677bee2e5a 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild @@ -83,6 +83,7 @@ S="${WORKDIR}"/${P/_/-} pkg_setup() { lua-single_pkg_setup filter-flags -ftree-vectorize + filter-lto append-lfs-flags append-cppflags -D_TIME_BITS=64 rust_pkg_setup diff --git a/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild index 2b552fb89244..f78ff6485291 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild @@ -58,7 +58,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2 ${CARGO_CRATE_ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="debug dnstap snmp sodium systemd test valgrind" +IUSE="debug dnstap lto snmp sodium systemd test valgrind" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -86,6 +86,7 @@ S="${WORKDIR}"/${P/_/-} pkg_setup() { lua-single_pkg_setup filter-flags -ftree-vectorize + filter-lto rust_pkg_setup }