Summary: | app-office/libreoffice compiles incorrectly with -fomit-frame-pointer in CXXFLAGS (for x86) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Prokofiev <alexpro> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, manschwetus, ninuje, silvio.gerli |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Fixed-in: 4.0.1 | ||
Package list: | Runtime testing required: | --- |
Description
Alexander Prokofiev
2013-02-08 10:24:52 UTC
I have to thank you for this report. I was trying for days to debug this, without success. Libreoffice uses exceptions and I was able to dig out that an exception was thrown during removing of old temporary directory, during the start sequence, and that exception handling triggered segfault. I can confirm that rebuilding without -fomit-frame-pointer fixes the problem. Apparently upstream knows about this [1]. So, building without -fomit-frame-pointer is a good temporary solution, but let's make sure we don't filter this flag globally in the ebuild as a workaround which would be silly. This would needlessly slow down libreoffice on those old x86 machines which are register starved. Fixing the gb_Library_add_cxxflags calls in the bridges/*.mk files is the right way to go. Thanks Alexander for finally finding the root cause of bug #451778. Denis. [1] http://nabble.documentfoundation.org/gmake-CXXFLAGS-override-gb-Library-add-cxxflags-td4027995.html 4.0.1 in main tree so closing this as fixed. |