https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-gfx/openvdb-11.0.0 fails to compile. Discovered on: amd64 (internal ref: lto_tinderbox) System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 887449 [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: nanovdb/nanovdb/unittest/CMakeFiles/nanovdb_test_nanovdb.dir/TestNanoVDB.cc.o /var/tmp/portage/media-gfx/openvdb-11.0.0/work/openvdb-11.0.0/nanovdb/nanovdb/../nanovdb/PNanoVDB.h:347:86: 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=e31da288a2f874bffb148a11ce0ef28eb0052d14 commit e31da288a2f874bffb148a11ce0ef28eb0052d14 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-04-03 20:02:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-05 01:20:48 +0000 media-gfx/openvdb: mark as LTO-unsafe, strict-aliasing unsafe Test-only issue, but this prevents testing that LTO actually works. ;) Closes: https://bugs.gentoo.org/926820 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-gfx/openvdb/openvdb-10.0.1.ebuild | 8 +++++++- media-gfx/openvdb/openvdb-11.0.0.ebuild | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-)