Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927060 - media-sound/mac-10.53 fails to compile: WAVInputSource.cpp:1436:46: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: media-sound/mac-10.53 fails to compile: WAVInputSource.cpp:1436:46: error: de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-15 08:06 UTC by Agostino Sarubbo
Modified: 2024-03-20 06:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,72.74 KB, text/plain)
2024-03-15 08:06 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-15 08:06:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/mac-10.53 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-15 08:06:17 UTC
Created attachment 887670 [details]
build.log

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


FAILED: CMakeFiles/objects.dir/Source/MACLib/WAVInputSource.cpp.o 
/var/tmp/portage/media-sound/mac-10.53/work/mac-10.53/Source/MACLib/WAVInputSource.cpp:1436:46: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-18 05:31:32 UTC
The bug has been closed via the following commit(s):

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

commit bf144807494b6c07da7396f695ad9e61b849a1d1
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-17 19:32:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-18 05:29:47 +0000

    media-sound/mac: mark as LTO-unsafe, strict-aliasing unsafe
    
    Pending an update to 10.56 which will switch to a memcpy access and will
    come "soon". Already committed to svn.
    
    Closes: https://bugs.gentoo.org/927060
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/mac/mac-10.46.ebuild | 17 ++++++++++++++++-
 media-sound/mac/mac-10.53.ebuild | 17 ++++++++++++++++-
 2 files changed, 32 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-03-20 06:26:44 UTC
The bug has been referenced in the following commit(s):

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

commit e6f256e450c45f4cfa7a93924d96f2de291de378
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-19 19:21:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-20 06:16:57 +0000

    media-sound/mac: add 10.60
    
    Contains upstream fix for LTO / strict-aliasing.
    
    Bug: https://bugs.gentoo.org/927060
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/mac/Manifest         |  1 +
 media-sound/mac/mac-10.60.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)