checking for --with-libm=STRING... set LIBM="-limf"
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.
I saw bpo-38527 was fixed in 3.10. Perhaps fixing it on Solaris broke it on some other platforms?
Activity
sourishbasu commented on Oct 14, 2021
I am trying to compile Python 3.10.0 on a Red Hat linux system with intel C/C++ compilers. This is my configure command:
The failure comes as follows:
I saw bpo-38527 was fixed in 3.10. Perhaps fixing it on Solaris broke it on some other platforms?
tiran commented on Oct 15, 2021
Python uses the AX_C_FLOAT_WORDS_BIGENDIAN macro from autoconf-archive to detect byte order of floats. You can find the code at https://www.gnu.org/software/autoconf-archive/ax_c_float_words_bigendian.html .
Please attach your config.log file and the conftest.o output file of the follow command:
sourishbasu commented on Oct 16, 2021
See attached my config log.
When I tried to compile conftest.c with 'icc -c conftest.c', it produced 'conftest.o' without any errors.
tiran commented on Oct 17, 2021
Please build conftest.o with compiler flags
and attach the file.
sourishbasu commented on Oct 17, 2021
I executed:
$ icc -c -O3 -fPIC -fp-model strict -fp-model source -axCORE-AVX512,CORE-AVX2 -xAVX -ipo -prec-div -prec-sqrt conftest.cand conftest.o was built without errors. It has one symbol, as expected:
$ nm conftest.o U __must_be_linked_with_icc_or_xild 0000000000000000 D dtiran commented on Oct 20, 2021
Please upload and attach the .o file to this bug. I need to see the content of the file.
sourishbasu commented on Oct 20, 2021
conftest.o attached
sourishbasu commented on Oct 20, 2021
conftest.c attached
tiran commented on Oct 20, 2021
Your conftest.o does not contain the magic string "seesnoon". Either ICC uses a different serialization format or your CFLAGS optimize the value away.
Please run
icc -c -o conftest_unoptimized.o conftest.c
and upload "conftest_unoptimized.o".
48 remaining items
gh-89640: Restore configure error message on failure to detect float …
pythongh-89640 Pull in update to float word order detection in autoco…
pythongh-89640 Pull in update to float word order detection in autoco…
gh-89640: Pull in update to float word order detection in autoconf-ar…
pythongh-89640: Hardcode WASM float word ordering as little endian (p…
pythongh-89640: Restore configure error message on failure to detect …
pythongh-89640: Pull in update to float word order detection in autoc…
pythongh-89640: properly detect float word ordering on Linux (python#…
pythongh-89640: Hardcode WASM float word ordering as little endian (p…
pythongh-89640: Restore configure error message on failure to detect …
pythongh-89640: Pull in update to float word order detection in autoc…
dev-lang/python: drop -ffat-lto-objects for >=3.12