https://bugs.documentfoundation.org/show_bug.cgi?id=145656

            Bug ID: 145656
           Summary: libreoffice-7.2.2.2 build fails on aarch64 with
                    undefined reference to non-virtual thunk to cppu
           Product: LibreOffice
           Version: 7.2.2.2 release
          Hardware: ARM
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
libreoffice-7.2.2.2 build succeeds on x86 and x86_64 using gcc-10.2 without
needing patches

libreoffice-7.2.2.2 build fails on aarch64 using gcc-10.2 with an error
involving an undefined reference to non-virtual thunk to cppu.

Using the gcc-10 patch from here:
https://bug-attachments.documentfoundation.org/attachment.cgi?id=172646 the
above and other similar errors are fixed, but the build fails with:

[MOD] avmedia
/usr/local/bin/ld:
/mnt/sda8/usr/src/libreoffice-7.2.2.2/workdir/CxxObject/xmloff/source/core/xmlimp.o:
in function `SvXMLImport::SetAutoStyles(SvXMLStylesContext*)':
xmlimp.cxx:(.text+0x89a8): 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]: *** [/mnt/sda8/usr/src/libreoffice-7.2.2.2/xmloff/Library_xo.mk:20:
/mnt/sda8/usr/src/libreoffice-7.2.2.2/instdir/program/libxolo.so] Error 1


Steps to Reproduce:
build with:

CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++
-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" ./autogen.sh
--prefix=/usr/local --localstatedir=/var --with-lang='fr en-GB' --without-help
--without-myspell-dicts --without-junit --without-system-dicts --disable-odk
--enable-release-build=yes --enable-python=system --without-java
--with-system-boost --with-system-curl --with-system-epoxy --with-system-expat
--with-system-graphite --with-system-icu --with-system-harfbuzz
--with-system-jpeg --with-system-lcms2 --with-system-libpng
--with-system-libxml  --with-system-neon --with-system-nss
--with-system-openssl --with-system-poppler --with-system-zlib
--with-system-hunspell --with-system-sane --disable-firebird-sdbc
--without-fonts

Actual Results:
[MOD] avmedia
/usr/local/bin/ld:
/mnt/sda8/usr/src/libreoffice-7.2.2.2/workdir/CxxObject/xmloff/source/core/xmlimp.o:
in function `SvXMLImport::SetAutoStyles(SvXMLStylesContext*)':
xmlimp.cxx:(.text+0x89a8): 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]: *** [/mnt/sda8/usr/src/libreoffice-7.2.2.2/xmloff/Library_xo.mk:20:
/mnt/sda8/usr/src/libreoffice-7.2.2.2/instdir/program/libxolo.so] Error 1

Expected Results:
No errors


Reproducible: Always


User Profile Reset: No



Additional Info:
building natively on RPi4

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to