Summary: | dev-libs/keystone-0.9.2-r3 fails to compile: AArch64GenAsmMatcher.inc:98:6: error: type SubtargetFeatureFlag violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | mario.haustein |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() 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(-) |