public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
Date: Fri,  1 Mar 2024 03:54:46 +0000 (UTC)	[thread overview]
Message-ID: <1709265257.aed53bca3e473c593159ee31f1b98ce68a45b85a.sam@gentoo> (raw)

commit:     aed53bca3e473c593159ee31f1b98ce68a45b85a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  1 03:54:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 03:54:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed53bca

dev-libs/keystone: filter LTO (ODR violations)

The ODR violations are in a bundled copy of LLVM and upstream seems to have
low activity, and no release in 4 years.

Closes: https://bugs.gentoo.org/924866
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/keystone/keystone-0.9.2-r3.ebuild | 5 ++++-
 dev-libs/keystone/keystone-9999.ebuild     | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-libs/keystone/keystone-0.9.2-r3.ebuild b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
index bfc2d7d6fa78..0edae53eacbe 100644
--- a/dev-libs/keystone/keystone-0.9.2-r3.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit cmake distutils-r1
+inherit cmake distutils-r1 flag-o-matic
 
 DESCRIPTION="assembly/assembler framework + bindings"
 HOMEPAGE="https://www.keystone-engine.org/"
@@ -75,6 +75,9 @@ src_prepare() {
 }
 
 src_configure() {
+	# ODR violations in bundled LLVM (bug #924866)
+	filter-lto
+
 	local libdir="$(get_libdir)"
 	local mycmakeargs=(
 		-DCMAKE_CONFIGURATION_TYPES="Gentoo"

diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 8d3497ec3aed..c1e7b73fa5d4 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit cmake distutils-r1
+inherit cmake distutils-r1 flag-o-matic
 
 DESCRIPTION="assembly/assembler framework + bindings"
 HOMEPAGE="https://www.keystone-engine.org/"
@@ -71,6 +71,9 @@ src_prepare() {
 }
 
 src_configure() {
+	# ODR violations in bundled LLVM (bug #924866)
+	filter-lto
+
 	local libdir="$(get_libdir)"
 	local mycmakeargs=(
 		-DCMAKE_CONFIGURATION_TYPES="Gentoo"


             reply	other threads:[~2024-03-01  3:54 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01  3:54 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-06 11:10 [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/ Sam James
2024-08-06 11:10 Sam James
2024-02-15  7:07 Joonas Niilola
2024-02-15  7:00 Joonas Niilola
2024-01-08 13:50 Joonas Niilola
2024-01-08 13:50 Joonas Niilola
2023-09-18  7:40 Sam James
2023-04-28  6:31 Sam James
2023-04-28  6:31 Sam James
2023-04-25 21:30 Sam James
2023-04-25 21:30 Sam James
2023-04-25 21:30 Sam James
2023-04-14  4:04 Sam James
2023-01-04 18:36 Arthur Zamarin
2023-01-04 18:36 Arthur Zamarin
2022-10-05  7:16 Joonas Niilola
2022-08-31  1:24 Sam James
2022-08-13  7:59 Matthew Smith
2022-08-13  7:59 Matthew Smith
2022-08-13  7:59 Matthew Smith
2022-08-13  7:59 Matthew Smith
2022-04-05  3:08 Sam James
2021-11-08 11:25 Michał Górny
2021-09-19  5:36 Sam James
2021-01-01  0:53 Michał Górny
2020-07-16 14:39 Joonas Niilola
2020-06-28 20:51 Aaron Bauman
2020-06-19  1:33 Georgy Yakovlev
2020-06-19  1:33 Georgy Yakovlev
2017-12-16 13:55 Ulrich Müller
2017-12-13  9:03 Patrice Clement

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=1709265257.aed53bca3e473c593159ee31f1b98ce68a45b85a.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