You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Python 3.8, python-config --libs no longer includes
/usr/lib/libpython3.8.so in the linked libraries. This results in the
following error when using plugins, for example in "make man":
PYTHONPATH=./ CC_FOR_CPYCHECKER=cc LD_LIBRARY_PATH=gcc-c-api: CC=cc ./gcc-with-python generate-passes-svg.py test.c
cc1: error: cannot load plugin /usr/src/gcc-python-plugin/src/gcc-python-plugin-0.17/python.so
/usr/src/gcc-python-plugin/src/gcc-python-plugin-0.17/python.so: undefined symbol: PyUnicode_FromFormat
Fix this by adding -lpython3.8 to $(PYTHON_LIBS) in Makefile.
0 commit comments