Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926823 - media-libs/ctl-1.5.2_p20221224 fails to compile: halfExpLog.h:15:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: media-libs/ctl-1.5.2_p20221224 fails to compile: halfExpLog.h:15:13: error: d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-12 08:20 UTC by Agostino Sarubbo
Modified: 2024-04-01 05:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,689.60 KB, text/plain)
2024-03-12 08:20 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-12 08:20:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/ctl-1.5.2_p20221224 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
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-12 08:20:30 UTC
Created attachment 887452 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-12 08:20:32 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  Could not find a package configuration file provided by "AcesContainer"
FAILED: lib/IlmCtlSimd/CMakeFiles/IlmCtlSimd.dir/CtlSimdHalfExpLog.cpp.o 
FAILED: lib/IlmCtlSimd/CMakeFiles/IlmCtlSimd.dir/CtlSimdStdLibMath.cpp.o 
FAILED: lib/dpx/CMakeFiles/ctldpx.dir/dpx_raw.cc.o 
/var/tmp/portage/media-libs/ctl-1.5.2_p20221224/work/CTL-3fc4ae7a8af35d380654e573d895216fd5ba407e/lib/IlmCtlSimd/halfExpLog.h:15:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-01 05:30:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d2cf57af0836438d8d2d10cadc38c6283cdd95

commit f8d2cf57af0836438d8d2d10cadc38c6283cdd95
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-01 03:25:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-01 05:29:27 +0000

    media-libs/ctl: mark as LTO-unsafe, strict-aliasing unsafe
    
    Closes: https://bugs.gentoo.org/926823
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/ctl/ctl-1.5.2_p20221224.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)