Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928251

Summary: x11-misc/rss-glx-0.9.1-r3 fails to compile: FMotion.cpp:58:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexander Miller <alex.miller>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36009
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-30 18:25:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/rss-glx-0.9.1-r3 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-30 18:25:21 UTC
Created attachment 889055 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-05-09 13:18:25 UTC
The bug has been referenced in the following commit(s):

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

commit 67dc6a60f1db5b26e4bbe0552f80827e33be66c1
Author:     Alexander Miller <alex.miller@gmx.de>
AuthorDate: 2024-03-31 02:12:40 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-05-09 13:18:22 +0000

    x11-misc/rss-glx: Fix strict aliasing issue and type mismatch
    
    Bug: https://bugs.gentoo.org/928251
    Signed-off-by: Alexander Miller <alex.miller@gmx.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/rss-glx-0.9.1-strict-aliasing.patch      |  36 ++++
 .../files/rss-glx-0.9.1-variable-mismatch.patch    | 192 +++++++++++++++++++++
 x11-misc/rss-glx/rss-glx-0.9.1-r4.ebuild           | 145 ++++++++++++++++
 3 files changed, 373 insertions(+)