From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/
Date: Sat, 20 Sep 2025 13:36:02 +0000 (UTC) [thread overview]
Message-ID: <1758375298.7bfa843e2bec0fea79a22040d477cf42d1abe54c.sam@gentoo> (raw)
commit: 7bfa843e2bec0fea79a22040d477cf42d1abe54c
Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sat Sep 20 12:26:20 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <holger <AT> 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 <sam <AT> 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
next reply other threads:[~2025-09-20 13:36 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-20 13:36 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-18 23:00 [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/ Sam James
2025-09-06 15:05 Sam James
2025-09-06 15:05 Sam James
2025-07-25 23:42 Sam James
2025-07-24 21:27 Sam James
2025-07-24 21:27 Sam James
2025-05-21 20:59 Sam James
2025-05-21 20:56 Sam James
2025-05-21 20:56 Sam James
2025-04-29 20:31 Sam James
2025-04-27 18:07 Sam James
2025-03-27 12:05 Sam James
2025-03-27 12:05 Sam James
2024-12-27 12:25 Andreas Schuerch
2024-10-06 7:57 Andreas Schuerch
2024-09-08 8:53 Sam James
2024-08-04 15:50 Andreas Schuerch
2024-07-03 15:39 Andreas Schuerch
2024-05-14 12:14 Andreas Schuerch
2024-05-14 12:12 Andreas Schuerch
2024-04-09 10:34 Andreas Schuerch
2024-04-09 10:32 Andreas Schuerch
2024-02-19 18:52 Andreas Schuerch
2024-02-18 11:17 Andreas Schuerch
2023-09-11 13:21 Andreas Schuerch
2023-09-11 13:20 Andreas Schuerch
2023-04-18 6:00 Sam James
2023-04-02 19:44 Andreas Schuerch
2023-01-27 8:35 Joonas Niilola
2023-01-27 8:35 Joonas Niilola
2022-11-05 10:20 Andreas Schuerch
2022-06-25 9:03 Andreas Schuerch
2022-06-08 3:00 Sam James
2022-06-08 2:57 Sam James
2022-04-27 12:14 Andreas Schuerch
2022-04-27 12:14 Andreas Schuerch
2022-01-22 14:03 Andreas Schuerch
2021-09-21 17:15 Andreas Schuerch
2021-05-17 15:47 Andreas Schuerch
2021-03-26 19:46 Conrad Kostecki
2020-10-02 13:26 Andreas Schuerch
2020-01-15 10:27 Andreas Schuerch
2019-03-28 20:40 Andreas Schuerch
2018-04-05 15:21 Aaron Bauman
2017-10-28 9:53 Patrice Clement
2017-10-28 9:53 Patrice Clement
2017-06-30 20:17 Michał Górny
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=1758375298.7bfa843e2bec0fea79a22040d477cf42d1abe54c.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