Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930966 - dev-lang/gdl-1.0.4-r1 fails to compile: saverestore.cpp:465:14: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: dev-lang/gdl-1.0.4-r1 fails to compile: saverestore.cpp:465:14: error: derefe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-04-30 07:19 UTC by Agostino Sarubbo
Modified: 2024-07-11 16:29 UTC (History)
1 user (show)

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


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

Issue: dev-lang/gdl-1.0.4-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-04-30 07:19:41 UTC
Created attachment 891999 [details]
build.log

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


FAILED: src/CMakeFiles/gdl.dir/saverestore.cpp.o 
/var/tmp/portage/dev-lang/gdl-1.0.4-r1/work/gdl-v1.0.4/src/saverestore.cpp:465:14: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Larry the Git Cow gentoo-dev 2024-07-11 16:29:53 UTC
The bug has been closed via the following commit(s):

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

commit 4200dd6f56df960800718dae10d37ef5c04e972c
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-07-11 03:57:12 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-07-11 16:28:29 +0000

    dev-lang/gdl: mark as LTO-unsafe, strict-aliasing unsafe
    
    Closes: https://bugs.gentoo.org/930966
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 dev-lang/gdl/gdl-1.0.4-r1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)