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: [email protected]
Reporter: [email protected]
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs