On Fri, 13 Jul 2012, Baptiste Daroussin wrote:

On Fri, Jul 13, 2012 at 12:10:25PM +0200, Olivier Smedts wrote:
2012/7/13 Dimitry Andric <d...@freebsd.org>:
On 2012-07-10 09:18, Dimitry Andric wrote:
...
It turned out this particular bug was yet another issue, but it was
fixed by upstream now.  I have a patch ready for -CURRENT, but if anyone
can try it out, and confirm it now allows you to build LibreOffice
without this particular assertion, that would be great. :)

Apply attached patch to your src tree, then build and install clang as
follows (or just do a buildworld/installworld, if you have CPU to
spare):

  make -C /usr/src/lib/clang all
  make -C /usr/src/usr.bin/clang/clang all install

Then retry building the LibreOffice port.  Any feedback appreciated!

Did anybody try this yet?  Unfortunately I don't have the resources to
build LibreOffice, so I cannot verify whether the fix I posted actually
works.

Yes, this works. Libreoffice 3.5.4 builds and installs at the first
try with the clang assert patch and WITH_SYSTEM_CLANG.

Now Calc core dumps at me whereas it was working fine with 3.5.2, but
I think that's another problem.

Building with clang from ports on 9.0 amd64 and i386 (my desktops), I try calc
and it works, could the segfault be related to the fix?

With the patch and base clang/llvm on two amd64 systems here, 'libreoffice --calc' shows the startup screen, then exits with status 139. No core dump or anything, it just quits. Other modules all seem to work.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to