[PATCH] Use the LTO linker plugin by default
Jan Hubicka
hubicka@ucw.cz
Wed Mar 5 07:14:00 GMT 2014
> Am 04.03.2014 13:30, schrieb Markus Trippelsdorf:
> > What is missing is a big fat warning in
> > http://gcc.gnu.org/gcc-4.9/changes.html that one should use the gcc
> > binutils wrappers (gcc-ar, etc.) when building projects with LTO.
>
> Is this enough? Or should the autoconf macros changed to look for these binaries
> if they exist? AC_PROG_AR, etc,
Help from autoconf side would be good (it needs to know that gcc is used for
compilation) I am not big fan of those wrappers, I think binutils should be
able to auto-load the plugin of system installed compilers
http://gcc.gnu.org/ml/gcc/2014-02/msg00128.html
But osmeone needs to implement it, too...
Also binutils can certainly be modified to output sane warning/error message
when they see slim GCC files (those are easily detectable) and have no plugin.
Honza
>
> Matthias
More information about the Gcc-patches
mailing list