FS#73348 - [python] build failure due to configure, error: Unknown float word ordering

Attached to Project: Arch Linux
Opened by John (graysky) - Thursday, 13 January 2022, 11:41 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 30 May 2023, 07:59 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Trying to build 3.10.1-2 with makechrootpkg and found that the configure set errors out. See attached log for complete record, here is the error and a few lines of context:

checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for x64 gcc inline assembler... yes
checking whether float word ordering is bigendian... unknown
configure: error:

Unknown float word ordering. You need to manually preset
ax_cv_c_float_words_bigendian=no (or yes) according to your system.

You can see these checks in configure around line 14772.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 30 May 2023, 07:59 GMT
Reason for closing:  Works for me
Additional comments about closing:  Seems fine these days.
Comment by loqs (loqs) - Thursday, 13 January 2022, 19:55 GMT
Looks to be triggered by use of LTO [1].

[1] https://bugs.gentoo.org/show_bug.cgi?id=700012
Comment by John (graysky) - Thursday, 13 January 2022, 20:30 GMT
Thanks for the reference, loqs. It is odd to me is that 3.10.1-2 built fine as-is several weeks ago (with LTO and all). Perhaps some other dependency was updated/changed since then which triggers this now.
Comment by loqs (loqs) - Thursday, 13 January 2022, 20:38 GMT
That is odd. As LTO is specified as an option to configure it could be disabled in the options array or -ffat-lto-objects added to CFLAGS or ax_c_float_words_bigendian.m4 could be patched to drop flags when compiling its test [1].

[1] https://www.gnu.org/software/autoconf-archive/ax_c_float_words_bigendian.html

Loading...