Summary: | sys-cluster/legion-23.03.0 fails to compile (lto): mutex.h:49:11: error: type union <anon> violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
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
2022-08-05 07:10:18 UTC
Created attachment 797833 [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: lib/librealm.so.1 /var/tmp/portage/sys-cluster/legion-21.09.0-r1/work/legion-legion-21.09.0/runtime/realm/mutex.h:49:11: error: type ‘union <anon>’ violates the C++ One Definition Rule [-Werror=odr] lto_tinderbox has reproduced this issue with version 23.03.0 - Updating summary. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a06e29b72c23a556efa9cd44ca232bf9d3f16e5 commit 8a06e29b72c23a556efa9cd44ca232bf9d3f16e5 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-28 06:47:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-29 02:28:25 +0000 sys-cluster/legion: mark as LTO-unsafe Intentionally omitted from live ebuild since it works in git master. Closes: https://bugs.gentoo.org/863731 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sys-cluster/legion/legion-21.09.0-r1.ebuild | 7 ++++++- sys-cluster/legion/legion-23.03.0.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) |