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

            Bug ID: 156076
           Summary: LibreOffice-7.5.3.2 hangs on oosplash when built with
                    clang and lto on Gentoo
           Product: LibreOffice
           Version: 7.5.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 188103
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188103&action=edit
GDB backtrace when running /usr/lib64/libreoffice/programs/oosplash

Fresh install of LibreOffice 7.5.3.2 on Gentoo. When built with clang and lto,
launching the /usr/bin/libreoffice script or /usr/lib64/libreoffice/oosplash
hangs indefinitely, whilst running /usr/lib64/libreoffice/soffice.bin works.

I'm attaching a gdb backtrace. Other relevant elements:

clang --version
clang version 16.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg

/etc/clang/clang.cfg
# This configuration file is used by clang driver.
@gentoo-common.cfg

/etc/clang/gentoo-common.cfg
# This file contains flags common to clang, clang++ and clang-cpp.
@gentoo-runtimes.cfg
@gentoo-gcc-install.cfg
@gentoo-hardened.cfg
# bug #870001
-include "/usr/include/gentoo/maybe-stddefs.h"

/etc/clang/cfg/gentoo-runtimes.cfg
# This file is initially generated by sys-devel/clang-runtime.
# It is used to control the default runtimes using by clang.

--rtlib=libgcc
--unwindlib=libgcc
--stdlib=libstdc++
-fuse-ld=bfd

/etc/clang/gentoo-gcc-install.cfg
# This file is maintained by gcc-config.
# It is used to specify the selected GCC installation.
--gcc-install-dir="/usr/lib/gcc/x86_64-pc-linux-gnu/12"

/etc/clang/gentoo-hardened.cfg
# Some of these options are added unconditionally, regardless of
# USE=hardened, for parity with sys-devel/gcc.
-fstack-clash-protection
-fstack-protector-strong
-fPIE
-include "/usr/include/gentoo/fortify.h"


strace -p -f on the libreoffice process doesn't provide any output after
process X attached.

Relevant Gentoo bug https://bugs.gentoo.org/907905 (a little bit convoluted in
the report, one has to admit).

Let me know if I can give any additional information.

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

Reply via email to