Summary: | sci-libs/ginkgo-1.6.0 fails to compile (lto): extended_float.hpp:321:61: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz, sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/ginkgo-project/ginkgo/issues/174 https://github.com/ginkgo-project/ginkgo/issues/1657 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 796447 [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: -- Could NOT find PAPI (missing: PAPI_LIBRARY PAPI_INCLUDE_DIR) FAILED: reference/CMakeFiles/ginkgo_reference.dir/preconditioner/jacobi_kernels.cpp.o FAILED: reference/CMakeFiles/ginkgo_reference.dir/solver/cb_gmres_kernels.cpp.o fatal: not a git repository (or any parent up to mount point /var/tmp) /var/tmp/portage/sci-libs/ginkgo-1.4.0-r3/work/ginkgo-1.4.0/core/base/extended_float.hpp:321:61: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] lto_tinderbox has reproduced this issue with version 1.6.0 - Updating summary. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12772e77c1002179e87918b5af37ac1d52b64f78 commit 12772e77c1002179e87918b5af37ac1d52b64f78 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-01 00:16:45 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-01 03:14:17 +0000 sci-libs/ginkgo: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/862705 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild | 10 +++++++++- sci-libs/ginkgo/ginkgo-1.6.0.ebuild | 10 +++++++++- sci-libs/ginkgo/ginkgo-1.8.0.ebuild | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) |