Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926077 - games-emulation/bsnes-jg-1.1.2-r1 fails to compile: apu.c:109:18: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: games-emulation/bsnes-jg-1.1.2-r1 fails to compile: apu.c:109:18: error: dere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: orbea
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-03 08:28 UTC by Agostino Sarubbo
Modified: 2024-03-21 02:19 UTC (History)
2 users (show)

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


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

Issue: games-emulation/bsnes-jg-1.1.2-r1 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-03 08:28:16 UTC
Created attachment 886579 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-03-21 02:19:36 UTC
The bug has been closed via the following commit(s):

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

commit 7d3a275c4d3a648219cf757d3ec160e082557c2e
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-21 01:41:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-21 02:15:45 +0000

    games-emulation/bsnes-jg: fix strict aliasing
    
    Closes: https://bugs.gentoo.org/926077
    Upstream-PR: https://github.com/LIJI32/SameBoy/pull/593
    Upstream-Commit: https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
    Upstream-PR: https://gitlab.com/jgemu/bsnes/-/merge_requests/419
    Upstream-Commit: https://gitlab.com/jgemu/bsnes/-/commit/966545bb79cc9810fbcedbe34fd52f7b9b5ef04e
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/35847
    Signed-off-by: Sam James <sam@gentoo.org>

 games-emulation/bsnes-jg/bsnes-jg-1.1.2-r2.ebuild  | 53 +++++++++++++++++
 .../files/bsnes-jg-1.1.2-strict-aliasing.patch     | 67 ++++++++++++++++++++++
 2 files changed, 120 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit 0d3e1ba523906f345fe1c646bc7323448ec46c77
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-21 01:35:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-21 02:15:44 +0000

    games-emulation/sameboy-jg: fix strict aliasing
    
    Bug: https://bugs.gentoo.org/926077
    Upstream-PR: https://github.com/LIJI32/SameBoy/pull/593
    Upstream-Commit: https://github.com/LIJI32/SameBoy/commit/8739da61c013e20e1cc94f0619c622a65c713408
    Upstream-PR: https://gitlab.com/jgemu/sameboy/-/merge_requests/50
    Upstream-Commit: https://gitlab.com/jgemu/sameboy/-/commit/6a283f65cc4b9ee4896942afde745fa67e612fd3
    Upstream-Commit: https://gitlab.com/jgemu/sameboy/-/commit/9067678fe0160fe5c2f10a7f6271f8293d5150d1
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/sameboy-jg-0.16.2-strict-aliasing.patch  | 115 +++++++++++++++++++++
 .../sameboy-jg/sameboy-jg-0.16.2-r1.ebuild         |  54 ++++++++++
 2 files changed, 169 insertions(+)