Summary: | sys-libs/libomp-14.0.6-r1 fails to compile (lto): kmp.h:2631:32: error: type struct kmp_base_info violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anthonyryan1, eschwartz93, llvm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=870127 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-08-06 06:22:59 UTC
Created attachment 798157 [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: -- Cannot find llvm-lit. FAILED: runtime/src/libomp.so /var/tmp/portage/sys-libs/libomp-14.0.6-r1/work/openmp/runtime/src/kmp.h:2631:32: error: type ‘struct kmp_base_info’ violates the C++ One Definition Rule [-Werror=odr] In bug 870127, a filter-lto was added to the libomp ebuild so this cannot happen anymore. |