https://bugs.documentfoundation.org/show_bug.cgi?id=156210
Bug ID: 156210
Summary: Build failure with gcc-11
Product: LibreOffice
Version: 7.5.4.2 release
Hardware: Other
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
I tried to build libreoffice 7.5.4 with gcc 12.3.0 on riscv64 but it failed:
/usr/bin/ld:
/home/infinity/libreoffice-build/workdir/CxxObject/xmloff/source/core/xmlimp.o:
in function `.LEHB218':
xmlimp.cxx:(.text+0x6256): 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]: *** [/home/infinity/libreoffice-build/xmloff/Library_xo.mk:20:
/home/infinity/libreoffice
-build/instdir/program/libxolo.so] Error 1
make: *** [Makefile:289: build] Error 2
The error log is almost same with bug 142442[1] and bug 145656[2].
Although in bug 142442 gcc-10 patch[3] was mentioned, but it seems that the
patch solved another problem[4] about 'XSeekable', which is different to
'XCloneable'. I have applied the patch, it does not help with this error.
I tried to modify 'xmloff/source/core/xmlimp.cxx' but it doesn't work:
+template class css::uno::Reference < css::util::XCloneable >;
[1] https://bugs.documentfoundation.org/show_bug.cgi?id=142442
[2] https://bugs.documentfoundation.org/show_bug.cgi?id=145656
[3] https://bug-attachments.documentfoundation.org/attachment.cgi?id=172646
[4] https://bugs.gentoo.org/727188
Steps to Reproduce:
On riscv64, run
./autogen.sh --with-system-firebird --with-galleries=no --disable-skia
Actual Results:
None
Expected Results:
None
Reproducible: Always
User Profile Reset: No
Additional Info:
None
--
You are receiving this mail because:
You are the assignee for the bug.