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
I am getting cc1: error: cannot load plugin /usr/lib/gcc/x86_64-linux-gnu/11/plugin/externis.so: /usr/lib/gcc/x86_64-linux-gnu/11/plugin/externis.so: undefined symbol: _Z14decl_as_stringP9tree_nodei after building with gcc11 on ubuntu 22.04.
The text was updated successfully, but these errors were encountered:
This is weird. Did you compile the plugin using the same compiler that you try to use it with? Could you post the output of ldd /usr/lib/gcc/x86_64-linux-gnu/11/plugin/externis.so?
It seems that the symbol is only available as a C++ compiler plugin and not as a C compiler plugin. I'm not sure how to fix this, though. Could you ask in the GCC mailing list about this? In the meantime I can only suggest the workaround of not using the plugin when compiling for C.
I am getting
cc1: error: cannot load plugin /usr/lib/gcc/x86_64-linux-gnu/11/plugin/externis.so: /usr/lib/gcc/x86_64-linux-gnu/11/plugin/externis.so: undefined symbol: _Z14decl_as_stringP9tree_nodei
after building with gcc11 on ubuntu 22.04.The text was updated successfully, but these errors were encountered: