Repository navigation
Compiled failed in arm64 #19027
Copy link
Copy link
Closed
Labels
Description
Activity
Try a newer version?
Also failed in version 3.3.3, got the following error
BUILDING MATPLOTLIB matplotlib: yes [3.3.3] python: yes [3.6.3 (default, Nov 23 2020, 09:56:24) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]] platform: yes [linux] sample_data: yes [installing] tests: no [skipping due to configuration] macosx: no [Mac OS-X only] /usr/local/python3.6/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'project_urls' warnings.warn(msg) /usr/local/python3.6/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-aarch64-3.6/matplotlib/mpl-data UPDATING build/lib.linux-aarch64-3.6/matplotlib/_version.py set build/lib.linux-aarch64-3.6/matplotlib/_version.py to '3.3.3' running build_ext gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c /tmp/tmpfivdp3xz.cpp -o tmp/tmpfivdp3xz.o -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c /tmp/tmpro9uhhjw.cpp -o tmp/tmpro9uhhjw.o -fvisibility-inlines-hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c /tmp/tmp62mkdrxe.cpp -o tmp/tmp62mkdrxe.o -flto building 'matplotlib._contour' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__contour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/home/wah/venv/lib/python3.6/site-packages/numpy/core/include -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c src/_contour.cpp -o build/temp.linux-aarch64-3.6/src/_contour.o -fvisibility=hidden -flto gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__contour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/home/wah/venv/lib/python3.6/site-packages/numpy/core/include -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c src/_contour_wrapper.cpp -o build/temp.linux-aarch64-3.6/src/_contour_wrapper.o -fvisibility=hidden -flto gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__contour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/home/wah/venv/lib/python3.6/site-packages/numpy/core/include -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c src/py_converters.cpp -o build/temp.linux-aarch64-3.6/src/py_converters.o -fvisibility=hidden -flto g++ -pthread -shared build/temp.linux-aarch64-3.6/src/_contour.o build/temp.linux-aarch64-3.6/src/_contour_wrapper.o build/temp.linux-aarch64-3.6/src/py_converters.o -L/usr/local/python3.6/lib -lpython3.6m -o build/lib.linux-aarch64-3.6/matplotlib/_contour.cpython-36m-aarch64-linux-gnu.so collect2: error: ld terminated with signal 9 [Killed] error: command 'g++' failed with exit status 1Well, the process is getting killed; that's not something that Matplotlib's setup is doing. You'll have to figure out why that is happening.
Closing, because this is a compiler crashing, not Matplotlib, but also, we now have aarch64 wheels that can be installed without compiling at all.
Compilation problems
Build steps
Error detail
I've tried to expand virtual memory,it didn't work.
Matplotlib version