libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link-time optimization


From: Ralf Wildenhues
Subject: Re: link-time optimization
Date: Wed, 7 Apr 2010 07:36:01 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

* Török Edwin wrote on Sun, Apr 04, 2010 at 06:03:35PM CEST:
> On 04/04/2010 11:54 AM, Ralf Wildenhues wrote:
> > I have a preliminary(!) patch set here for LTO support in libtool.

> Thanks a lot for the patches, they worked fine so far!

Thanks for testing.

> I'd have one more request: please add "-use-gold-plugin" to the list of
> flags passed through to support LLVM's LTO described here:
> http://llvm.org/docs/GoldPlugin.html

Yes.  I'm not sure whether I mentioned it before, but I didn't manage to
build a working llvm/clang from its svn last weekend (I tried about
three revisions and all of them failed to build with syntax errors, so I
gave up for the moment).  Do they not have a checkin policy that code
needs to compile at least?  Anyway, it's good that you did some testing
here.  Can you please also test the Libtool package with this:

> ./configure
> CC=/home/edwin/llvm2.7/llvm-gcc-4.2-2.7-x86_64-linux/bin/llvm-gcc
> CXX=/home/edwin/llvm2.7/llvm-gcc-4.2-2.7-x86_64-linux/bin/llvm-g++
> CFLAGS="-O4 -use-gold-plugin" CXXFLAGS="-O4 -use-gold-plugin"

and run its testsuites and report results (see README for how)?  Thanks.

> ac_cv_c_fpu_bigendian=no

How come you need to use that, and which Autoconf version do you use?
This sounds like it needs to be addressed in Autoconf.  Thanks.

> Everything worked fine, and make check passed too!
> (Now of course it didn't LTO the entire program because
> -fuse-linker-plugin triggers PR41584)

AFAIK -fuse-linker-plugin does not trigger PR 41584, only -fwhopr does.
Did you mean one of the other ones?

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]