This is the mail archive of the
mailing list for the GCC project.
Re: New GCC releases comparison and comparison of GCC4.4 and LLVM2.5 on SPEC2000
> It would also be very interesting to include LLVM's LTO support, which gives
> a pretty dramatic win on SPEC. ÂHowever, I don't know how difficult it is to
> use on linux (on the mac, you just pass -O4 at compile time, and everything
> works). ÂI've heard that Gold has a new plugin to make LTO transparent on
> linux as well, but I have no experience with it, and it is probably more
> trouble than you want to take. ÂDoes gcc 4.4 include the LTO branch yet?
For spec all that you (should) need is to link with a gold with
plugins enabled and pass -use-gold-plugin to llvm-gcc. For software
that uses static libraries you will also need the bfd plugin support
(currently in code review). I am going on vacation tomorrow, but might
read my mail from time to time. Ping me if you need help.
The current trunk includes some patches from LTO, but not the streamer.
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047