Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854510 - app-emulation/aranym-1.1.0-r1 fails to compile (lto): checking floating point format.. configure: error: Unknown floating point format
Summary: app-emulation/aranym-1.1.0-r1 fails to compile (lto): checking floating point...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL: https://github.com/aranym/aranym/comm...
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-27 06:13 UTC by Agostino Sarubbo
Modified: 2024-03-03 23:18 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,52.47 KB, text/plain)
2022-06-27 06:13 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,154.08 KB, text/plain)
2022-06-27 06:14 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-06-27 06:13:57 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-27 06:13:59 UTC
Created attachment 787865 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-27 06:14:00 UTC
Created attachment 787868 [details]
1-config.log

1-config.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-27 06:20:57 UTC
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
Comment 4 Agostino Sarubbo gentoo-dev 2024-02-12 10:36:16 UTC
lto_tinderbox has reproduced this issue with version 1.1.0-r1 - Updating summary.
Comment 5 Eli Schwartz 2024-03-03 20:25:58 UTC
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...
Comment 6 Larry the Git Cow gentoo-dev 2024-03-03 23:18:44 UTC
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(-)