Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957296 - app-office/libreoffice: sdpptwrp.cxx:(.text+0x1663): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()
Summary: app-office/libreoffice: sdpptwrp.cxx:(.text+0x1663): undefined reference to `...
Status: RESOLVED DUPLICATE of bug 727188
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-07 01:49 UTC by dave@dave3.xyz
Modified: 2025-06-07 07:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.tar.bz2 (build.log.tar.bz2,380.71 KB, application/x-bzip2)
2025-06-07 01:49 UTC, dave@dave3.xyz
Details
emerge info (emerge-info.txt,7.53 KB, text/plain)
2025-06-07 01:50 UTC, dave@dave3.xyz
Details
emerge pqv (emerge-pqv.txt,430 bytes, text/plain)
2025-06-07 01:50 UTC, dave@dave3.xyz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dave@dave3.xyz 2025-06-07 01:49:09 UTC
Created attachment 930934 [details]
build.log.tar.bz2

Error during linking phase:

#####

/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-office/libreoffice-25.2.4.2/work/libreoffice-25.2.4.2/workdir/CxxObject/sd/source/filter/xml/sdxmlwrp.o: in function `TestImportPPTX':
sdxmlwrp.cxx:(.text+0x22f0): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-office/libreoffice-25.2.4.2/work/libreoffice-25.2.4.2/workdir/CxxObject/sd/source/filter/xml/sdxmlwrp.o: in function `TestImportFODP':
sdxmlwrp.cxx:(.text+0x26c7): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-office/libreoffice-25.2.4.2/work/libreoffice-25.2.4.2/workdir/CxxObject/sd/source/filter/sdpptwrp.o: in function `SdPPTFilter::Export()':
sdpptwrp.cxx:(.text+0xe37): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-office/libreoffice-25.2.4.2/work/libreoffice-25.2.4.2/workdir/CxxObject/sd/source/filter/sdpptwrp.o: in function `SdPPTFilter::Import()':
sdpptwrp.cxx:(.text+0x1663): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
collect2: error: ld returned 1 exit status

#####

This failure only happens with gcc and did not occur when I used to use llvm.
Comment 1 dave@dave3.xyz 2025-06-07 01:50:13 UTC
Created attachment 930935 [details]
emerge info
Comment 2 dave@dave3.xyz 2025-06-07 01:50:28 UTC
Created attachment 930936 [details]
emerge pqv
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-07 01:56:27 UTC
It's because of -Oz.

*** This bug has been marked as a duplicate of bug 727188 ***
Comment 4 dave@dave3.xyz 2025-06-07 07:05:02 UTC
compiled and ran successfully with `-O2`.  Thank you Sam James!
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-07 07:09:02 UTC
(In reply to dave@dave3.xyz from comment #4)
> compiled and ran successfully with `-O2`.  Thank you Sam James!

You're welcome! :)