Richard Guenther <[email protected]> writes:
> It seemed to have disabled linker-plugin support for old binutils
> with --with-plugin-ld=/usr/local/bin/gold, explicit -fuse-linker-plugin says
> it is not supported. The system linker does not have plugin support
> (nor gold). /usr/local has gold from binutils 2.20.50.xxx. So it seems that
>
> # Allow -fuse-linker-plugin to enable plugin support in GNU gold 2.20.
> elif test "$ld_is_gold" = yes -a "$ld_vers_major" -eq 2 -a
> "$ld_vers_minor" -eq 20; then
> gcc_cv_lto_plugin=1
> fi
>
> only allows explicit -fuse-linker-plugin for recent gold but based on checking
> the system linker version (instead of that of --with-plugin-ld). I'd say
> allow explicit -fuse-linker-plugin always if --with-plugin-ld is specified.
Agreed. I'll have a look and refrain from installing on 4.6 until this
is resolved. I wasn't even aware of --with-plugin-ld, which isn't
documented in install.texi ;-( This stuff seems insanely complicated to
me, though: which user is supposed to deal with such complications?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University