[Bug other/41820] cc1: error: Cannot load plugin ./selfassign.so
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Mon Oct 26 23:43:00 GMT 2009
------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-26 23:43 -------
Subject: Re: cc1: error: Cannot load plugin ./selfassign.so
> There is configure fluff in gcc/configure.ac at the --enable-plugin handling
> that should deal with this (it tries -rdynamic at the moment). Probably
> plugins should be disabled if not using GNU ld for now.
The -rdynamic check is broken:
configure:25064: checking for -rdynamic
configure:25077: gcc -o conftest -g -rdynamic conftest.c >&5
gcc: unrecognized option '-rdynamic'
configure:25077: $? = 0
configure:25078: result: yes
Passing -Wl,-E works.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41820
More information about the Gcc-bugs
mailing list