Summary: | sci-libs/alglib-3.17.0 fails to compile (lto): alglibmisc.cpp:3089:77: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
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-01 07:41:09 UTC
Created attachment 796408 [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: CMakeFiles/alglib.dir/src/alglibmisc.cpp.o FAILED: CMakeFiles/alglib.dir/src/linalg.cpp.o /var/tmp/portage/sci-libs/alglib-3.17.0/work/cpp/src/alglibmisc.cpp:3089:77: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ac592d7b55261231704209d417b5969f273fdb commit 79ac592d7b55261231704209d417b5969f273fdb Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-05 06:46:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-05 06:46:48 +0000 sci-libs/alglib: filter LTO, no-SA The package in Gentoo is quite out of date so I can't easily test the latest version to report upstream. Has SA violations. Closes: https://bugs.gentoo.org/862666 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/alglib/alglib-3.17.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) |