Here's the backtrace. The process that segfaults is gengan.bin:
#0 0x000000081baea134 in (anonymous namespace)::cpp_mediate(unsigned long, void**, void**, long, long*)
(nOffsetAndIndex=60434681040, gpreg=0x3ffffffffffef830, fpreg=0x3ffffffffffef7c8, sp=4611686018427320272, pRegisterReturn=0x3ffffffffffef7b8)
at bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx:396
#1 0x000000081bae9f50 in privateSnippetExecutor() () at bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx:563
#2 0x00000008121de234 in cppu::throwException(com::sun:
:uno::Any const&)Python Exception <class 'gdb.error'> No type named 挀漀洀⸀猀甀渀⸀猀琀愀爀⸀甀挀戀⸀䤀渀琀攀爀愀挀琀椀瘀攀
䄀甀最洀攀渀琀攀搀䤀伀䔀砀挀攀瀀琀椀漀渀.:
(exc=) at cppuhelper/source/exc_thrower.cxx:207
#3 0x000000081672ebd4 in ucbhelper::cancelCommandExecution(com::sun:
:ucb::IOErrorCode, com::sun:
:uno::Sequence<com::sun:
:uno::Any> const&, com::sun:
:uno::Reference<com::sun:
:ucb::XCommandEnvironment> const&, rtl::OUString const&, com::sun:
:uno::Reference<com::sun:
:ucb::XCommandProcessor> const&)
(eError=com::sun:
:ucb::IOErrorCode::IOErrorCode_NOT_EXISTING, rArgs=
uno::Sequence of length 2 = {...}, xEnv=empty uno::Reference, rMessage="an error occurred during file opening", xContext=uno::Reference to (fileaccess::BaseContent *) 0x81d0b5258) at ucbhelper/source/provider/cancelcommandexecution.cxx:109
#4 0x000000081d1ac3c0 in fileaccess::throw_handler(int, int, com::sun:
:uno::Reference<com::sun:
:ucb::XCommandEnvironment> const&, rtl::OUString const&, fileaccess::BaseContent*, bool)
(errorCode=12, minorCode=2, xEnv=empty uno::Reference, aUncPath="file:///tmp/usr/ports/editors/libreoffice/work/libreoffice-6.3.2.2/workdir/Gallery/symbols/symbols", pContent=0x81d0b5220, isHandled=false) at ucb/source/ucp/file/filglob.cxx:362
#5 0x000000081d1eb260 in fileaccess::TaskManager::endTask(int, rtl::OUString const&, fileaccess::BaseContent*)
(this=0x81c84bcc0, CommandId=11, aUncPath="file:///tmp/usr/ports/editors/libreoffice/work/libreoffice-6.3.2.2/workdir/Gallery/symbols/symbols", pContent=0x81d0b5220)
at ucb/source/ucp/file/filtask.cxx:408
#6 0x000000081d18c1a8 in fileaccess::BaseContent::endTask(int) (this=0x81d0b5220, CommandId=11) at ucb/source/ucp/file/bc.cxx:1165
#7 0x000000081d189ad8 in fileaccess::BaseContent::execute(com::sun:
:ucb::Command const&, int, com::sun:
:uno::Reference<com::sun:
:ucb::XCommandEnvironment> const&)
(this=0x81d0b5220, aCommand=..., CommandId=11, Environment=empty uno::Reference) at ucb/source/ucp/file/bc.cxx:382
#8 0x00000008166fa59c in ucbhelper::Content_Impl::executeCommand(com::sun:
:ucb::Command const&) (this=0x81c82ac00, rCommand=...) at ucbhelper/source/client/content.cxx:1254
#9 0x00000008166fb42c in ucbhelper::Content::getPropertyValuesInterface(com::sun:
:uno::Sequence<rtl::OUString> const&)
(this=0x3fffffffffff0b78, rPropertyNames=uno::Sequence of length 1 = {...}) at ucbhelper/source/client/content.cxx:491
#10 0x00000008166faa28 in ucbhelper::Content::getPropertyValues(com::sun:
:uno::Sequence<rtl::OUString> const&)
(this=0x3fffffffffff0b78, rPropertyNames=uno::Sequence of length 1 = {...}) at ucbhelper/source/client/content.cxx:450
#11 0x00000008166fa894 in ucbhelper::Content::getPropertyValue(rtl::OUString const&) (this=0x3fffffffffff0b78, rPropertyName="Title") at ucbhelper/source/client/content.cxx:429
#12 0x00000008141f6324 in FileExists(INetURLObject const&) (rURL=...) at svx/source/gallery2/galmisc.cxx:228
#13 0x00000008141e9f78 in GalleryThemeEntry::ImplGetURLIgnoreCase(INetURLObject const&) (rURL=...) at svx/source/gallery2/gallery1.cxx:204
#14 0x00000008141e97a0 in GalleryThemeEntry::GalleryThemeEntry(bool, INetURLObject const&, rtl::OUString const&, bool, bool, unsigned int, bool)
(this=0x81cdfe800, bCreateUniqueURL=true, rBaseURL=..., rName="symbols", _bReadOnly=false, _bNewFile=true, _nId=0, _bThemeNameFromResource=false)
at svx/source/gallery2/gallery1.cxx:131
#15 0x00000008141eca28 in Gallery::CreateTheme(rtl::OUString const&) (this=0x81bb80800, rThemeName="symbols") at svx/source/gallery2/gallery1.cxx:608
#16 0x00000000100119dc in createTheme(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, std::__1::vector<INetURLObject, std::__1::allocator<INetURLObject> >&, bool)
(aThemeName="symbols", aGalleryURL="file:///tmp/usr/ports/editors/libreoffice/work/libreoffice-6.3.2.2/workdir/Gallery/symbols", aDestDir="file:///tmp/usr/ports/editors/libreoffice/work/libreoffice-6.3.2.2/extras/source/gallery", rFiles=std::vector of length 90 = {...}, bRelativeURLs=true) at svx/source/gengal/gengal.cxx:74
#17 0x000000001001115c in GalApp::Main() (this=0x10040048 <vclmain::createApplication()::aGalApp>) at svx/source/gengal/gengal.cxx:298
#18 0x00000008136b6208 in ImplSVMain() () at vcl/source/app/svmain.cxx:201
#19 0x00000008136b790c in SVMain() () at vcl/source/app/svmain.cxx:235
#20 0x0000000010024448 in sal_main() () at vcl/source/salmain/salmain.cxx:38
#21 0x00000000100243dc in main(int, char**) (argc=10, argv=0x3fffffffffff1b58) at vcl/source/salmain/salmain.cxx:32
Hello,
I'm trying to build LibreOffice 6.3.2 on FreeBSD/powerpc64 with LLVM 9.0.0 (elfv2 ABI).
My problem is that I'm getting those errors https://pastebin.com/dKAY28ns
I tried to patch them with https://pastebin.com/66Xhi1D1 using similar code to x86-64. But then I'm getting a segfault at postcmd stage at the end of compilation.
LibreOffice builds just fine with GCC 9.2, but this is still on elfv1. FreeBSD/powerpc* switches to LLVM for elfv2.
Thanks,
Piotr Kubaj.