Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858617 - games-board/xboard-4.9.1 fails to compile (lto): backend.c:261:13: error: type of [-Werror=lto-type-mismatch]
Summary: games-board/xboard-4.9.1 fails to compile (lto): backend.c:261:13: error: typ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-17 17:08 UTC by Agostino Sarubbo
Modified: 2022-07-17 18:10 UTC (History)
0 users

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


Attachments
build.log (build.log,109.83 KB, text/plain)
2022-07-17 17:08 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-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(-)