This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/41820] cc1: error: Cannot load plugin ./selfassign.so



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]