This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-use-linker-plugin passed to ld
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc at gcc dot gnu dot org
- Cc: espindola at google dot com
- Date: Fri, 23 Oct 2009 07:57:04 -0700
- Subject: -use-linker-plugin passed to ld
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.
Ian