[issue20162] Test test_hash_distribution fails on RHEL 6.5 / ppc64

Yury V. Zaytsev report at bugs.python.org
Tue Jan 7 17:30:21 CET 2014


Yury V. Zaytsev added the comment:

After lots of fiddling, I can tell you what's wrong with the macro: apparently it's a compiler bug, visible at -O2 and disappearing at -O1. 

Assembly output is attached, unfortunately, I'm no ppc64 expert, so I can't immediately tell what exactly went wrong.

In any case, the first half of the bug (missing check for HAVE_LETOH64) which triggered the second half still seems valid.

I think it's not feasible to upgrade the compiler on RHEL 6.5 (unless someone with a subscription wants to have a go), but fixing the first part should avoid the compiler bug altogether.

----------
Added file: http://bugs.python.org/file33345/le64toh.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20162>
_______________________________________


More information about the Python-bugs-list mailing list