[issue20342] Endianness not detected correctly due to AC_RUN_IFELSE macros

Yury V. Zaytsev report at bugs.python.org
Mon Feb 7 03:47:18 EST 2022


Yury V. Zaytsev <yury at shurup.com> added the comment:

Well, the machine that I had the problem on does no longer exist and I'm not sure whether this is a generic POWER issue.

The problem was that I had to cross-compile Python on one generation of POWER machines for another POWER chip using its own special toolchain. I can't tell whether Python build system was doing something wrong, or else whether it was a problem with the toolchain. In theory, both are valid options.

Also, I can't test whether the current version of Python has this problem or not with this particular chip / toolchain anymore. Maybe someone who has interest in POWER could try to cross-compile from AMD64 to POWER and check whether the result is still subtly broken... this should be much easier, and if there is a genuine problem with Python build system, it will probably expose it just as well.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue20342>
_______________________________________


More information about the Python-bugs-list mailing list