https://bugs.freedesktop.org/show_bug.cgi?id=61627

--- Comment #9 from Martin Liška <[email protected]> ---
I tried to do a compilation with latest libreoffice, but I still face the same
problem:

S=/home/marxin/libreoffice && O=$S/solver/unxlngx6.pro &&
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/LinkTarget/Executable/ && g++  -flto
-fno-fat-lto-objects -fuse-linker-plugin -O2   -Wl,-z,origin
'-Wl,-rpath,$ORIGIN/../lib:$ORIGIN' -Wl,-rpath-link,$O/lib -Wl,-z,defs 
-Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc -L$O/lib  -Wl,--hash-style=gnu 
-Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
-Wl,-Bsymbolic-functions  -Wl,-O1 -Wl,-S 
$W/CxxObject/i18npool/source/localedata/LocaleNode.o
$W/CxxObject/i18npool/source/localedata/filewriter.o
$W/CxxObject/i18npool/source/localedata/saxparser.o     -Wl,--start-group 
-Wl,--end-group -Wl,--no-as-needed   -luno_cppu -luno_cppuhelpergcc3 -luno_sal
-o $W/LinkTarget/Executable/saxparser
/home/marxin/libreoffice/workdir/unxlngx6.pro/CxxObject/i18npool/source/localedata/saxparser.o
(symbol from plugin): undefined reference to `typeinfo for
com::sun::star::uno::Exception'
/home/marxin/libreoffice/workdir/unxlngx6.pro/CxxObject/i18npool/source/localedata/saxparser.o
(symbol from plugin): undefined reference to `typeinfo name for
com::sun::star::uno::RuntimeException'
/home/marxin/libreoffice/workdir/unxlngx6.pro/CxxObject/i18npool/source/localedata/saxparser.o
(symbol from plugin): undefined reference to `typeinfo for
com::sun::star::uno::RuntimeException'
/home/marxin/libreoffice/workdir/unxlngx6.pro/CxxObject/i18npool/source/localedata/saxparser.o
(symbol from plugin): undefined reference to `typeinfo name for
com::sun::star::uno::Exception'

There was a bug in GCC with weakrefs that blocked me. It was fixed by Jan on
May 15 2013.

Could you please add '-fno-fat-lto-objects' to LTO flags:

b/solenv/gbuild/platform/com_GCC_defs.mk
gb_LTOFLAGS := -flto -fno-fat-lto-objects

libreoffice revision: 1f2555426a56b639ff430bf60fc4bd06d647ebaf
gcc --version: gcc (GCC) 4.9.0 20130515 (experimental)

My configure options:
./autogen.sh --with-parallelism=9 --without-junit --enable-mergelibs
--enable-lto --with-system-boost --with-system-icu --with-system-cairo
--disable-debug --disable-symbols --disable-cups

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to