--- libreoffice-6.4.2.2-orig/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx 2020-03-12 00:18:35.000000000 +0800 +++ libreoffice-6.4.2.2/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx 2020-04-11 10:46:57.547292863 +0800 @@ -108,6 +108,16 @@ struct __cxa_exception { #if defined _LIBCPPABI_VERSION // detect libc++abi #if defined __LP64__ || LIBCXXABI_ARM_EHABI + + // This is a new field added with LLVM 10 + // + // "[libcxxabi] Insert padding in __cxa_exception struct for compatibility". + + // Now _Unwind_Exception is marked with __attribute__((aligned)), + // which implies __cxa_exception is also aligned. Insert padding + // in the beginning of the struct, rather than before unwindHeader. + void *reserve; + std::size_t referenceCount; #endif