This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use the LTO linker plugin by default


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]