Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Honza,

On 14 September 2011 11:59, Jan Hubicka <jh@suse.de> 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 dynamic libraries.
What is -fuse-linker-plugin doing? Do we need it?
I made lto to work (or tried to do so) just for dynamic libraries.
Maybe that should be changed and used always?

My build currently dies on svx on GCC bug. I've created tracking PR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394
I will continue fixing issues until I link svx and lets see what we could do
next.

There are however quite few errors reported by g++ 4.7.  It would really
rock if someone tried to build libreoffice with mainline GCC and no lto and
fixed those.
Also -fpermissive is needed.

With -fpermissive and without system boost I was able to build.

Thanks for working on this.

Matúš

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.