Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 859970 - [guru] games-action/blackvoxel-2.50 fails to compile (lto): ZVoxelType_Concrete.cpp:41:19: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: [guru] games-action/blackvoxel-2.50 fails to compile (lto): ZVoxelType_Concre...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Samuel Bauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-22 07:29 UTC by Agostino Sarubbo
Modified: 2022-07-24 23:16 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,97.87 KB, text/plain)
2022-07-22 07:29 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 2022-07-22 07:29:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-action/blackvoxel-2.50 fails to compile (lto).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-22 07:29:12 UTC
Created attachment 793058 [details]
build.log

build log and emerge --info
Comment 2 Samuel Bauer 2022-07-24 23:15:26 UTC
Added -fno-strict-aliasing via flag-o-matic
Comment 3 Samuel Bauer 2022-07-24 23:16:13 UTC
Also sent mail upstream with link to this bug to signal the compilation issue