Error when trying --enable-lto on Windows
mstahl at redhat.com
Tue Sep 15 14:06:36 PDT 2015
On 15.09.2015 21:35, Tor Lillqvist wrote:
> Anybody care to guess what might cause this?
> Creating library
> C:/cygwin64/home/Tor/lo/master/workdir/LinkTarget/Library/ifwk.lib and
> object C:/cygwin64/home/Tor/lo/master/workdir/LinkTarget/Library/ifwk.exp
> modulemanager.o : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: virtual class com::sun::star::uno::Any
> __cdecl cppu::WeakImplHelper<class
> com::sun::star::uno::Type const &)"
> (__imp_?queryInterface@?$WeakImplHelper at VXEnumeration@container at star@sun at com@@@cppu@@UAA?AVAny at uno@star at sun@com@@ABVType at 4567@@Z)
very mysterious. it actually says "unresolved external symbol",
entirely unlike the duplicate WeakImplHelpers with --enable-mergedlibs
that i've removed recently.
git log says you already had that problem in July,
> Lots of other DLLs have already been built successfully, so it is not
> some general problem with using LTO.
will this also turn on --enable-mergedlibs implicitly or is that off?
More information about the LibreOffice