Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858611 - games-board/gnuchess-6.2.9 fails to compile (lto): uci.h:43:8: error: type [-Werror=odr]
Summary: games-board/gnuchess-6.2.9 fails to compile (lto): uci.h:43:8: error: type [-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-17 17:07 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,79.12 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:07:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-board/gnuchess-6.2.9 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:00 UTC
Created attachment 791963 [details]
build.log

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

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

commit 66d993abaf8b84beb25d21ce462dd6d5ffcb2717
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-17 18:05:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-17 18:05:49 +0000

    games-board/gnuchess: filter LTO (ODR)
    
    Closes: https://bugs.gentoo.org/858611
    Signed-off-by: Sam James <sam@gentoo.org>

 games-board/gnuchess/gnuchess-6.2.9.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)