From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 871DD1581B9 for ; Sat, 20 Sep 2025 13:36:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 73732341D13 for ; Sat, 20 Sep 2025 13:36:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 63333110573; Sat, 20 Sep 2025 13:36:04 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5C522110573 for ; Sat, 20 Sep 2025 13:36:04 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10366341E25 for ; Sat, 20 Sep 2025 13:36:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6267139F7 for ; Sat, 20 Sep 2025 13:36:02 +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: <1758375298.7bfa843e2bec0fea79a22040d477cf42d1abe54c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/dnsdist/dnsdist-2.0.1.ebuild X-VCS-Directories: net-dns/dnsdist/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7bfa843e2bec0fea79a22040d477cf42d1abe54c X-VCS-Branch: master Date: Sat, 20 Sep 2025 13:36:02 +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: 44ad76ec-627e-4357-9237-b90079b4fe2d X-Archives-Hash: eca4b179565b38826dac2c0c765d3043 commit: 7bfa843e2bec0fea79a22040d477cf42d1abe54c Author: Holger Hoffstätte applied-asynchrony com> AuthorDate: Sat Sep 20 12:26:20 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 20 13:34:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfa843e net-dns/dnsdist: disable LTO for mixed C++/Rust configuration There is currently no good or reliable way to make this work, due to myriad combinations of compilers, linkers and limitations of the Rust toolchain. Closes: https://bugs.gentoo.org/963128 Signed-off-by: Holger Hoffstätte applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43861 Closes: https://github.com/gentoo/gentoo/pull/43861 Signed-off-by: Sam James gentoo.org> net-dns/dnsdist/dnsdist-2.0.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-dns/dnsdist/dnsdist-2.0.1.ebuild b/net-dns/dnsdist/dnsdist-2.0.1.ebuild index 3efa0746c516..1891cad99c67 100644 --- a/net-dns/dnsdist/dnsdist-2.0.1.ebuild +++ b/net-dns/dnsdist/dnsdist-2.0.1.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{11..14} ) RUST_MIN_VER=1.85.1 RUST_OPTIONAL=1 -inherit cargo flag-o-matic lua-single python-any-r1 +inherit cargo flag-o-matic lua-single python-any-r1 toolchain-funcs DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" HOMEPAGE="https://www.dnsdist.org/index.html" @@ -77,6 +77,13 @@ src_configure() { # bug #822855 append-lfs-flags + # There is currently no reliable way to handle mixed C++/Rust + LTO + # correctly: https://bugs.gentoo.org/963128 + if use yaml && tc-is-lto ; then + ewarn "Disabling LTO because of mixed C++/Rust toolchains." + filter-lto + fi + # some things can only be enabled/disabled by defines ! use dnstap && append-cppflags -DDISABLE_PROTOBUF ! use web && append-cppflags -DDISABLE_BUILTIN_HTML