ports/176967: editors/libreoffice crashes
Gabor Pali
pgj at FreeBSD.org
Sun Apr 28 08:30:01 UTC 2013
The following reply was made to PR ports/176967; it has been noted by GNATS.
From: Gabor Pali <pgj at FreeBSD.org>
To: Dwayne MacKinnon <dmk at ncf.ca>
Cc: bug-followup at freebsd.org, office at freebsd.org
Subject: Re: ports/176967: editors/libreoffice crashes
Date: Sun, 28 Apr 2013 10:22:18 +0200
--089e0115eb726de91904db6777f1
Content-Type: text/plain; charset=ISO-8859-1
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.)
--089e0115eb726de91904db6777f1
Content-Type: application/octet-stream; name="libreoffice4-gcc-default.diff"
Content-Disposition: attachment; filename="libreoffice4-gcc-default.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hg1y7pth0
SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIE1ha2VmaWxlCShyZXZpc2lvbiAzMTY3MDUp
CisrKyBNYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMzQ3LDEwICszNDcsNyBAQAogCiAuaW5j
bHVkZSA8YnNkLnBvcnQucHJlLm1rPgogCi0uaWYgZGVmaW5lZChXSVRIX0dDQykKLVVTRV9HQ0M9
CTQuNisKLUNPTkZJR1VSRV9FTlYrPQlDWFhDUFA9IiR7Q1BQfSIKLS5lbHNlCisuaWYgZGVmaW5l
ZChXSVRIX0NMQU5HKQogLmlmIGV4aXN0cygvdXNyL2Jpbi9jbGFuZykgJiYgJHtPU1ZFUlNJT059
ID4gOTAxNTAyCiBDQz0JCS91c3IvYmluL2NsYW5nCiBDUFA9CQkvdXNyL2Jpbi9jbGFuZy1jcHAK
QEAgLTM2NSw2ICszNjIsOSBAQAogQ1hYPQkJJHtMT0NBTEJBU0V9L2Jpbi9jbGFuZysrCiBDT05G
SUdVUkVfRU5WKz0JQ1hYQ1BQPSIke0NYWH0gLUUiCiAuZW5kaWYKKy5lbHNlCitVU0VfR0NDPQk0
LjYrCitDT05GSUdVUkVfRU5WKz0JQ1hYQ1BQPSIke0NQUH0iCiAuZW5kaWYKIAogLmlmICR7T1NW
RVJTSU9OfSA8IDkwMDUwNgo=
--089e0115eb726de91904db6777f1--
More information about the freebsd-office
mailing list