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

Bug 858617

Summary: games-board/xboard-4.9.1 fails to compile (lto): backend.c:261:13: error: type of [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
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-07-17 17:08:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-board/xboard-4.9.1 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-07-17 17:08:09 UTC
Created attachment 791969 [details]
build.log

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

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

commit 6528b9827d99f31229765ccfc3c4063a9a13060f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-17 18:07:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-17 18:07:10 +0000

    games-board/xboard: filter LTO (type mismatch)
    
    Closes: https://bugs.gentoo.org/858617
    Signed-off-by: Sam James <sam@gentoo.org>

 games-board/xboard/xboard-4.9.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)