BUG: pandas does not build on AIX - when using xlc/xlC as compiler · Issue #35123 · pandas-dev/pandas (original) (raw)


Panda build stops with:

"pandas/_libs/window/aggregations.cpp", line 5436.23: 1540-0063 (S) The text "(" is unexpected.
"pandas/_libs/window/aggregations.cpp", line 5523.23: 1540-0063 (S) The text "(" is unexpected.
"pandas/_libs/window/aggregations.cpp", line 6759.21: 1540-0063 (S) The text "(" is unexpected.
"pandas/_libs/window/aggregations.cpp", line 20023.21: 1540-0063 (S) The text "(" is unexpected.

On examining this I see that there are special statements - perhaps unsupported by xlc/xlC (v11).

 +5436      __pyx_t_1 = (std::signbit(__pyx_v_val) != 0);

 +5523      __pyx_t_1 = (std::signbit(__pyx_v_val) != 0);

 +6759    __pyx_t_1 = (std::isnan(__pyx_v_val) != 0);

+20023    __pyx_t_1 = (std::isnan(__pyx_v_val) != 0);

There is a good chance this is an issue caused by cython. but I thought I would post/mention it here as well.