Summary: | net-libs/rtrlib-0.8.0 fails to compile (lto): test_pfx.c:132:54: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/rtrlib/rtrlib/issues/287 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-07-28 06:51:07 UTC
Created attachment 795083 [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: tests/CMakeFiles/test_pfx.dir/test_pfx.c.o /var/tmp/portage/net-libs/rtrlib-0.8.0/work/rtrlib-0.8.0/tests/test_pfx.c:132:54: 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=d58f870d7043f3891c0fd707bd55c912368b9486 commit d58f870d7043f3891c0fd707bd55c912368b9486 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-05 04:20:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-05 04:47:53 +0000 net-libs/rtrlib: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/861581 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> net-libs/rtrlib/rtrlib-0.8.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) |