This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/53831] [4.7/4.8 Regression] Virtuals missing in LTO symtab
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Oct 2012 16:20:57 +0000
- Subject: [Bug lto/53831] [4.7/4.8 Regression] Virtuals missing in LTO symtab
- Auto-submitted: auto-generated
- References: <bug-53831-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53831
--- Comment #28 from Jan Hubicka <hubicka at ucw dot cz> 2012-10-06 16:20:57 UTC ---
> There is also H.J.'s proposal to add automatic plugin support, or
> mine to add an environment variable. See:
> http://sourceware.org/ml/binutils/2012-10/msg00050.html
Interesting, I missed this.
Why nm/ar/ld can't just support multiple plugins and load all plugins from its
default plugin directory (where all installed compilers will drop one) and
choose
the one claiming the file?
I see it would need some work on linker side if one plugin claims one file and
other
plugin other file, but there don't seem to be anything in the plugin API making
this
impossible and we can just error out in this case until mixing LTO from
different
compilers become fashionable.
Honza