https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-emulation/aranym-1.1.0 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 787865 [details] build.log build log and emerge --info
Created attachment 787868 [details] 1-config.log 1-config.log
configure:13973: checking floating point format configure:14009: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing conftest.c >&5 configure:14012: $? = 0 configure:14039: error: Unknown floating point format
lto_tinderbox has reproduced this issue with version 1.1.0-r1 - Updating summary.
dnl Floating point format probe. dnl The basic concept is the same as the above: grep the object dnl file for an interesting string. We have to watch out for dnl rounding changing the values in the object, however; this is dnl handled by ignoring the least significant byte of the float. I suppose this cannot work with LTO...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392870e92d100981d89daf134714a499cd7375ca commit 392870e92d100981d89daf134714a499cd7375ca Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-03 20:27:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-03 23:18:15 +0000 app-emulation/aranym: mark as LTO-unsafe It might not actually be unsafe, but the configure test errors out because it tries to grep the output of a conftest, which in this case is LTO bytecode. Fixed in git master: https://github.com/aranym/aranym/commit/52c56bba30ddea27a0a7179da89cac1c71228de6 Closes: https://bugs.gentoo.org/854510 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-emulation/aranym/aranym-1.1.0-r1.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)