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

Bug 855230

Summary: dev-db/gigabase-3.83-r2 fails to compile (lto): database.cpp:844:27: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PMASKED
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-06-30 06:02:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/gigabase-3.83-r2 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_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-06-30 06:02:40 UTC
Created attachment 788837 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-07-17 15:39:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615329fa6f3c84c970bd216e4ead20b4aa909ae1

commit 615329fa6f3c84c970bd216e4ead20b4aa909ae1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-17 15:39:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-17 15:39:05 +0000

    dev-db/gigabase: EAPI 8, disable strict aliasing
    
    Closes: https://bugs.gentoo.org/855230
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/gigabase/gigabase-3.83-r2.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-07-17 15:56:10 UTC
The bug has been referenced in the following commit(s):

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

commit aab2b9e8251d8ce49ae0619c72f296183e99efe8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-17 15:43:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-17 15:55:53 +0000

    profiles: last-rite dev-db/gigabase
    
    Bug: https://bugs.gentoo.org/521272
    Bug: https://bugs.gentoo.org/729684
    Bug: https://bugs.gentoo.org/855230
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)