This is the mail archive of the gcc@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: [testsuite] don't use lto plugin if it doesn't work


On Thu, Jun 28, 2012 at 07:03:37AM -0700, Mike Stump wrote:
> > Also, this scenario of silently deciding whether or not to use the
> > linker plugin could bring us to different test results for the same
> > command lines.  I don't like that.
> 
> Right, which is why the static configuration of the host system at build
> time is forever after an invariant.  The linker is smelled, it doesn't
> support plugins, therefore we can't ever use it, therefore we never build
> it...

THis test is not about whether to build the plugin, but whether to force
using it by default.  And to be able to use it by default, you need a
guarantee that all the linkers you'll use it with do support the plugin.
Therefore, if the build-time linker doesn't support it, I think it is just
fine not all of your linkers support the plugin and not enable it by
default.

	Jakub


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