https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-engines/love-11.4 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
Created attachment 792077 [details] build.log build log and emerge --info
This is triggered by the presence of -Werror=strict-aliasing in CFLAGS, regardless of whether LTO has been enabled or not. Oh, and just to keep track of things - as of a few minutes ago, the live ebuild still suffers from this as well.
Oh, and interestingly enough I am unable to reproduce this error on one of my machines in spite of all of them being up to date on the stable profiles. In light of which I don't think I'll even bother reporting this upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fadc1ef674faec877bbfd0967726553c537e8334 commit fadc1ef674faec877bbfd0967726553c537e8334 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-07-26 08:42:56 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-07-26 08:50:11 +0000 games-engines/love: disable strict aliasing -fstrict-aliasing triggers build-time warnings on some (but not all) systems so let's keep it consistent. Closes: https://bugs.gentoo.org/858719 Signed-off-by: Marek Szuba <marecki@gentoo.org> games-engines/love/love-11.4.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)