Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925933 - dev-util/wasm3-0.5.0 fails to compile: m3_code.c:89:16: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: dev-util/wasm3-0.5.0 fails to compile: m3_code.c:89:16: error: dereferencing ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-01 19:26 UTC by Agostino Sarubbo
Modified: 2024-03-04 01:57 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,60.77 KB, text/plain)
2024-03-01 19:26 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-01 19:26:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/wasm3-0.5.0 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-01 19:26:14 UTC
Created attachment 886453 [details]
build.log

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


FAILED: source/CMakeFiles/m3.dir/m3_code.c.o 
FAILED: source/CMakeFiles/m3.dir/m3_compile.c.o 
/var/tmp/portage/dev-util/wasm3-0.5.0/work/wasm3-0.5.0/source/m3_code.c:89:16: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-04 01:03:33 UTC
The bug has been closed via the following commit(s):

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

commit 7fb3a58a392a84bc577f602352d3350e2896805c
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-03-04 00:22:34 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-03-04 01:03:30 +0000

    dev-util/wasm3: filter lto and strict-aliasing
    
    Closes: https://bugs.gentoo.org/925933
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-util/wasm3/wasm3-0.5.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-04 01:57:17 UTC
(In reply to Eli Schwartz from comment #4)
> https://github.com/wasm3/wasm3/commit/
> 22fa923eefed0038ca5b4ebec0462644c119848c
> https://github.com/wasm3/wasm3/commit/
> 8e2db951d61c1fbc0f96e98e6d85a45277bafc32
> 
> Maybe fixed in git?

Yeah, looks right at a glance.