Re: [Libreoffice] [GSoC] link-time optimization

2011-09-21 Thread Matúš Kukan
Hi Honza, On 14 September 2011 11:59, Jan Hubicka wrote: > Hi, > thanks to Michael I made some progress on building Libreoffice on my setup. > The problem of configury was that -flto was not passed at linktime and also > -fuse-linker-plugin was missing. > -flto should be passed when linking dynam

Re: [Libreoffice] [GSoC] link-time optimization

2011-09-14 Thread Jan Hubicka
Hi, thanks to Michael I made some progress on building Libreoffice on my setup. The problem of configury was that -flto was not passed at linktime and also -fuse-linker-plugin was missing. My build currently dies on svx on GCC bug. I've created tracking PR http://gcc.gnu.org/bugzilla/show_bug.

Re: [Libreoffice] [GSoC] link-time optimization

2011-08-25 Thread Jan Hubicka
Hi, so I see, it is tested on GCC 4.5. I am quite surprised that the build works with that compiler as there was a lot of bugs. I will give it a try on 4.6 and 4.7. 4.6 will do parallel linking that saves a lot of time and some memory and 4.7 saves a lot more memory + will eventually hav

Re: [Libreoffice] [GSoC] link-time optimization

2011-08-25 Thread Jan Hubicka
Am Mon 22 Aug 2011 04:56:31 PM CEST schrieb Jan Holesovsky : Hi Honza, So we have some proof-of-concept LTO work pushed to the LibreOffice repository - care to have a look & try it how it copes with your changes in gcc etc.? ;-) git clone git://anongit.freedesktop.org/libreoffice/core sudo zyp

Re: [Libreoffice] [GSoC] link-time optimization

2011-08-22 Thread Jan Holesovsky
Hi Honza, So we have some proof-of-concept LTO work pushed to the LibreOffice repository - care to have a look & try it how it copes with your changes in gcc etc.? ;-) git clone git://anongit.freedesktop.org/libreoffice/core sudo zypper si -d libreoffice-bootstrap ./autogen.sh --enable-lto make m

Re: [Libreoffice] [GSoC] link-time optimization

2011-08-22 Thread Matúš Kukan
On 22 August 2011 13:22, Michael Meeks wrote: > Hi Matus, > > On Sat, 2011-08-20 at 23:04 +0200, Matúš Kukan wrote: >> I created patch, which allows link-time optimization (--enable-lto) >> for shared libraries, you need at least gcc-4.5 (I'm not checking for >> version in configure). > >        P

Re: [Libreoffice] [GSoC] link-time optimization

2011-08-22 Thread Michael Meeks
Hi Matus, On Sat, 2011-08-20 at 23:04 +0200, Matúš Kukan wrote: > I created patch, which allows link-time optimization (--enable-lto) > for shared libraries, you need at least gcc-4.5 (I'm not checking for > version in configure). Patch looks great to me :-) > I don't know what should I

[Libreoffice] [GSoC] link-time optimization

2011-08-20 Thread Matúš Kukan
Hello, I created patch, which allows link-time optimization (--enable-lto) for shared libraries, you need at least gcc-4.5 (I'm not checking for version in configure). gcc-4.5 is not really good for lto but I was able to install LibreOffice with lto enabled. I don't know what should I try to test