numpy+wx breaks pillow on ppc64le: cannot allocate memory in static
TLS block
by Elliott Sales de Andrade
I'm not sure in which package the error lies here and thus where to
file the bug report. This occurs on only ppc64le with a matplotlib
build [1]. Does anyone have any ideas?
This works:
>>> import wx
>>> from PIL import Image
and this works:
>>> import numpy
>>> from PIL import Image
but if you import both first, then it fails:
>>> import numpy, wx # or wx, numpy
>>> from PIL import Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.7/site-packages/PIL/Image.py", line 93, in <module>
from . import _imaging as core
ImportError: /lib64/libgomp.so.1: cannot allocate memory in static TLS block
Also, if you import pillow first, it works fine.
Using the ppc64le test machine with:
python3-numpy-1.16.3-1.fc31.ppc64le
python3-pillow-6.0.0-2.fc31.ppc64le
python3-wxpython4-4.0.6-1.fc31.ppc64le
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=35329049
--
Elliott