This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug plugins/44459] plugin interface depends on name mangling
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2010 08:51:24 -0000
- Subject: [Bug plugins/44459] plugin interface depends on name mangling
- References: <bug-44459-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-06-08 08:51 -------
"By switching the GCC build language to C++, we introduce name mangling,
which means that we loose plugin dynamic link compatibility to previous
versions of gcc. Also, the interface becomes subject to change when mangling
changes, and will not be compatible if the build compiler uses a different
mangling scheme. Moreover, it forces to compile plugins with C++."
Exactly as designed. We do not have a plugin interface (our interface
is called dlopen). Plugins have to deal with that.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44459