This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -use-linker-plugin passed to ld
- From: Rafael Espindola <espindola at google dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 23 Oct 2009 11:02:34 -0400
- Subject: Re: -use-linker-plugin passed to ld
- References: <mcr4opqxinz.fsf@dhcp-172-17-9-151.mtv.corp.google.com>
2009/10/23 Ian Lance Taylor <iant@google.com>:
> I noticed that the -use-linker-plugin option seems to be passed to the
> linker. ÂThis is because LINK_COMMAND_SPEC includes %{u*}. ÂAnd that
> is because -uSYMBOL is a documented linker option.
>
> The effect is that the linker creates an undefined reference to the
> symbol "se-linker-plugin". ÂAny user unfortunate enough to link
> against a library which contains a definition of that symbol may see
> an unexpected result. ÂAdmittedly unlikely, but still.
>
> I think we need to fix this option before the release to not overlap
> with any existing linker options.
Working on it.
> Ian
>
Cheers,
--
Rafael Ãvila de EspÃndola