python-bhtsne icon indicating copy to clipboard operation
python-bhtsne copied to clipboard

gcc 6.1 issue : undefined symbol: _ZdlPvm

Open phunterlau opened this issue 8 years ago • 0 comments

when compile with gcc 4.8.5 on CentOS 7, this package runs perfect, however, if compile with gcc 6.1, make test doesn't pass ang gives this error:

Traceback (most recent call last):
  File "/udir/liuh/anaconda3/lib/python3.6/unittest/loader.py", line 153, in loadTestsFromName
    module = __import__(module_name)
  File "/u0/home/liuh/github/python-bhtsne/test/tsne.py", line 9, in <module>
    from bhtsne import tsne
  File "/u0/home/liuh/github/python-bhtsne/bhtsne/__init__.py", line 3, in <module>
    from bhtsne_wrapper import BHTSNE
ImportError: /u0/home/liuh/github/python-bhtsne/bhtsne_wrapper.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZdlPvm

Seems like it is a too-new gcc error according to google search, and the only solution now is downgrading gcc. Can you please take a look if it works with gcc 6? Thanks.

phunterlau avatar Oct 04 '17 06:10 phunterlau