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

            Bug ID: 97712
           Summary: Build failure with clang++/libc++ on Linux x86_64
           Product: LibreOffice
           Version: 5.1.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

I'm trying to build Libreoffice using clang++ and libc++ on Linux.

libc++ itself uses LLVM's libc++abi as the ABI library. The problem arises
because Libreoffice code tries to use __cxa_exception, which isn't made public
in libc++abi, leading to build failure.

/home/armin/src/libreoffice-5.1.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx:144:17:
error: no type named '__cxa_exception' in namespace '__cxxabiv1'
    __cxxabiv1::__cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno );
    ~~~~~~~~~~~~^
/home/armin/src/libreoffice-5.1.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx:84:5:
error: use of undeclared identifier '__cxa_exception'; did you mean
'__cxa_free_exception'?

Is there a way libreoffice can move from this code to a more generic one?

-- 
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

Reply via email to