On Fri, Jul 25, 2014 at 9:22 AM, Akos PASZTORY <akos.pasztory(a)gmail.com> wrote:
cc1: error: cannot load plugin /xxx/python.so
/xxx/gcc-c-api/libgcc-c-api.so: undefined symbol: cfun
which is puzzling. I ran with LD_DEBUG=all and I see that it tries to
resolve cfun from the correct cc1 binary, and it _should_ succeed
since the symbol is there and it's public.
Oops, my mistake. It's not among the dynamic symbols. I guess I need
to look into how to build gcc in a way that it exports the symbols
required for plugins.