ports/176967: editors/libreoffice crashes
Gabor Pali
pgj at FreeBSD.org
Sun Apr 28 08:22:24 UTC 2013
Hi there,
On Tue, Apr 23, 2013 at 5:10 PM, Dwayne MacKinnon <dmk at ncf.ca> wrote:
> I'm sorry to say that this bug still exists for i386 in version 4.0.2.
Yes, I can confirm this too. I have studied the problem and it seems
it is mainly because Clang is used for compilation. I tried to debug
the source of the problem but it turned out that gdb(1) (not even the
recents versions of it) cannot fully debug the Clang-generated
binaries and I could not make lldb (Clang's own debugger) work on
FreeBSD, and that is not even in the Ports Collection officially.
I then discovered there is a knob, WITH_GCC that enables you to
fallback to building LibreOffice with GCC 4.6 or later. Building with
this setting finally I was able to launch LO on my machine and it even
worked. So I would recommend to pass this knob to the Makefile upon
build:
# make install clean BATCH=yes WITH_GCC=yes
For maintainers: Although it said that it is possible to build
LibreOffice on the TDF wiki, this applies to version 3.6.x only. For
4.0.x, there is no such information, so I would like to ask you to
switch back to building with GCC by default. (See a patch attached
that reverses the current logic in the port.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libreoffice4-gcc-default.diff
Type: application/octet-stream
Size: 587 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-office/attachments/20130428/e940c715/attachment.obj>
More information about the freebsd-office
mailing list