[Libreoffice-bugs] [Bug 142442] New: Build failure with gcc-11
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun May 23 08:41:52 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142442
Bug ID: 142442
Summary: Build failure with gcc-11
Product: LibreOffice
Version: 7.1.3.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: ahc at tuta.io
When I try to build LO 7.1.3.2 I get this build error:
/an/duyum/etki/ld:
/libreoffice-7.1.3.2/libreoffice-7.1.3.2/workdir/CxxObject/xmloff/source/core/xmlimp.o:
in function `SvXMLImport::SetAutoStyles(SvXMLStylesContext*)':
xmlimp.cxx:(.text+0x8ec0): undefined reference to `non-virtual thunk to
cppu::WeakImplHelper<com::sun::star::xml::sax::XFastAttributeList,
com::sun::star::util::XCloneable>::acquire()'
collect2: error: ld returned 1 exit status
make[1]: *** [/libreoffice-7.1.3.2/libreoffice-7.1.3.2/xmloff/Library_xo.mk:20:
/libreoffice-7.1.3.2/libreoffice-7.1.3.2/instdir/program/libxolo.so] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:274: build] Error 2
I've tried to add these lines into the xmloff/source/core/xmlimp.cxx file:
template class uno::Reference< io::XInputStream > ;
template class ::cppu::WeakImplHelper< css::io::XInputStream >;
I still get the same error. Any ideas how to fix this? I'm compiling with
gcc-11.1.0 on custom musl based distribution(similar to void linux/alpine
linux).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210523/4fddbaf1/attachment.htm>
More information about the Libreoffice-bugs
mailing list