Summary: | media-libs/openpgl-0.5.0 fails to compile: bbox.h:253:35: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Sebastian Parborg <darkdefende> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz93, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/35969 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 927244 | ||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2024-03-13 09:04:50 UTC
Created attachment 887510 [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: openpgl/CMakeFiles/openpgl.dir/api/api.cpp.o FAILED: openpgl/CMakeFiles/openpgl.dir/api/deviceCPU4.cpp.o FAILED: openpgl/CMakeFiles/openpgl.dir/api/deviceCPU8.cpp.o FAILED: openpgl/CMakeFiles/openpgl.dir/directional/ISurfaceSamplingDistribution.cpp.o FAILED: openpgl/CMakeFiles/openpgl.dir/directional/IVolumeSamplingDistribution.cpp.o FAILED: openpgl/CMakeFiles/openpgl.dir/directional/vmm/VMMPhaseFunctions.cpp.o /var/tmp/portage/media-libs/openpgl-0.5.0/work/openpgl-0.5.0/openpgl/../third-party/embreeSrc/common/math/bbox.h:253:35: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] https://github.com/OpenPathGuidingLibrary/openpgl/blob/bf1ed3608001b7066d6168942ff81bfe3aefccaa/openpgl/CMakeLists.txt#L106 https://github.com/OpenPathGuidingLibrary/openpgl/commit/5f9ccaab4589c0e0c2bccb807b61d2f7456eb846 https://github.com/OpenPathGuidingLibrary/openpgl/commit/3bf63c6b7db73b13fae591d203ecb37397c92965 so a bump should "fix" it, I think Well, I'm guessing we should still filter-lto it, no? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02e5031fec64e531335bcd8b4e6dc9c1f0bea882 commit 02e5031fec64e531335bcd8b4e6dc9c1f0bea882 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-03-28 17:36:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-03 10:12:49 +0000 media-gfx/openpgl: add 0.6.0, use PV as subslot Bug: https://bugs.gentoo.org/926890 Closes: https://bugs.gentoo.org/927244 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35969 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/blender/blender-3.6.0.ebuild | 2 +- media-gfx/blender/blender-3.6.5.ebuild | 2 +- media-gfx/blender/blender-3.6.8.ebuild | 2 +- media-gfx/blender/blender-4.0.1-r1.ebuild | 2 +- media-gfx/blender/blender-4.0.2.ebuild | 2 +- media-gfx/blender/blender-9999.ebuild | 2 +- media-libs/openpgl/Manifest | 1 + ...penpgl-0.5.0.ebuild => openpgl-0.5.0-r1.ebuild} | 25 ++++++----- media-libs/openpgl/openpgl-0.6.0.ebuild | 48 ++++++++++++++++++++++ profiles/arch/arm64/package.use.mask | 4 ++ 10 files changed, 74 insertions(+), 16 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36743b3902395fde41a127aabdcb6e3d911ddaf1 commit 36743b3902395fde41a127aabdcb6e3d911ddaf1 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-04-09 04:16:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-09 14:43:29 +0000 media-libs/openpgl: mark as LTO-unsafe, strict-aliasing unsafe Note: Upstream updating to set -fno-strict-aliasing is not the same as fixing the issue. Closes: https://bugs.gentoo.org/926890 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-libs/openpgl/openpgl-0.5.0-r1.ebuild | 7 +++++++ media-libs/openpgl/openpgl-0.6.0.ebuild | 7 +++++++ 2 files changed, 14 insertions(+) |