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

Quellyn Snead report at bugs.python.org
Tue Aug 10 11:57:13 EDT 2021


Quellyn Snead <quellyn at lanl.gov> 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 at cn2020 cpython]$ make -j
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
	echo "generate-posix-vars failed" ; \
	rm -f ./pybuilddir.txt ; \
	exit 1 ; \
fi
Fatal Python error: take_gil: NULL tstate
Python runtime state: preinitialized

Current thread 0x0000200000045fe0 (most recent call first):
/bin/sh: line 5: 79067 Segmentation fault      (core dumped) ./python -E -S -m sysconfig --generate-posix-vars
generate-posix-vars failed
make: *** [pybuilddir.txt] Error 1
```

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)

----------

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


More information about the Python-bugs-list mailing list