https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/keystone-0.9.2-r3 fails to compile. Discovered on: amd64 (internal ref: lto_tinderbox) System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 885285 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: llvm/lib64/libkeystone.so.0 /var/tmp/portage/dev-libs/keystone-0.9.2-r3/work/keystone-0.9.2/llvm/keystone/../lib/Target/AArch64/AArch64GenAsmMatcher.inc:98:6: error: type ‘SubtargetFeatureFlag’ violates the C++ One Definition Rule [-Werror=odr]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed53bca3e473c593159ee31f1b98ce68a45b85a commit aed53bca3e473c593159ee31f1b98ce68a45b85a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-01 03:54:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-01 03:54:17 +0000 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@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(-)