commit: 77daa955c05041001df330ba94144b1e5dcc8112 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Fri Sep 6 04:59:23 2024 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Fri Sep 6 05:03:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77daa955
dev-libs/librdkafka: mark as LTO-unsafe Upstream has an innovative bug report strategy. Wait for people to report bugs in the software, then ignore the bug report for several years, then show up and as the very first official reply: > Closing due to inactivity, does not seem like a common issue. We can presume that this will never be fixed. Although the nuance of whether it is broken depends on the exact architecture used, it is not worth figuring out where it is safe to use for such a, well, *kafkaesque* bit of software. :) Bug: https://github.com/confluentinc/librdkafka/issues/2426 Closes: https://bugs.gentoo.org/895464 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-libs/librdkafka/librdkafka-2.2.0-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-libs/librdkafka/librdkafka-2.2.0-r1.ebuild b/dev-libs/librdkafka/librdkafka-2.2.0-r1.ebuild index 86c99f805fc2..166326818146 100644 --- a/dev-libs/librdkafka/librdkafka-2.2.0-r1.ebuild +++ b/dev-libs/librdkafka/librdkafka-2.2.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI="8" PYTHON_COMPAT=( python3_{9..12} ) -inherit python-any-r1 toolchain-funcs +inherit flag-o-matic python-any-r1 toolchain-funcs DESCRIPTION="Apache Kafka C/C++ client library" HOMEPAGE="https://github.com/confluentinc/librdkafka" @@ -66,6 +66,11 @@ src_prepare() { } src_configure() { + # error: unknown register name ‘%edx’ in ‘asm’ + # https://bugs.gentoo.org/895464 + # https://github.com/confluentinc/librdkafka/issues/2426 + filter-lto + tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP local myeconf=(
