Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Andreas Radke (AndyRTR) - Friday, 11 February 2022, 19:32 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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...