[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Quellyn Snead
Quellyn Snead added the comment: > As to the actual problem, I think you're going to need to get out a debugger > and at least get a stack trace. Here's my attempt: $ gdb ./python GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7 Copyright (C) 2013 Free Software Foundation, Inc. License

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Jack DeVries
Jack DeVries added the comment: Woah, oops, nevermind! I was confusing this with a different bpo in my head. Sorry for the noise! -- ___ Python tracker ___

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Jack DeVries
Jack DeVries added the comment: I'm sure you are aware of this, but also note that the issue could be in pandas or ibm-db, which include C extensions. I'm pretty sure those are the only two dependencies you listed there that have C dependencies. --

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: As to the actual problem, I think you're going to need to get out a debugger and at least get a stack trace. -- ___ Python tracker ___

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: > P.S. The tarball I attached before contains the configure and make output for > tests on multiple python version branches. I differentiated them by adding a > version identifier suffix (_3.7, _3.8, _3.9, _3.10, _3.11) I was referring to the two files named

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Jack DeVries
Jack DeVries added the comment: There is a related failure message in the file name ".9" in the tarball (line 175): ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ;

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Quellyn Snead
Quellyn Snead added the comment: Hi Eric, Looks like I didn't get the full output captured before. Sorry about that. The error appears when I run the make command: ``` [quellyn@cn2020 cpython]$ make -j ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: Rather than have us wading through all of the output, can you summarize the problem? After a brief look I don't see any actual compiler errors. In make.out_3.9, at least, it looks like "generate-posix-vars failed", but I can't see why. What does ./python -E

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-09 Thread Quellyn Snead
New submission from Quellyn Snead : Python 3.8 and above fails to build with the IBM XL compiler on Power9 platforms. ## System and Environment Information ``` $ arch ppc64le ``` ``` $ echo $CC xlc -F/projects/opt/ppc64le/ibm/xlc-16.1.1.7/xlC/16.1.1/etc/xlc.cfg.rhel.7.8.gcc.8.3.0.cuda.10.1