make failed for editors/libreoffice

Dimitry Andric dim at FreeBSD.org
Tue Jul 10 07:18:15 UTC 2012


On 2012-07-04 21:53, Dimitry Andric wrote:
> On 2012-07-04 21:13, Peter Jeremy wrote:
>> On 2012-Jul-03 14:19:21 +0200, Dimitry Andric <dim at freebsd.org> wrote:
>>> On 2012-07-02 10:23, Leslie Jensen wrote:
>>> ...
>>>> Assertion failed: (EST != EST_Delayed && EST != EST_Uninstantiated), 
>>>> function isNothrow, file 
>>>> /usr/ports/lang/clang/work/llvm-3.1.src/tools/clang/lib/CodeGen/../../include/clang/AST/Type.h, 
>>>> line 2873.
...
> I have been mailed a set of .ii files, and I was able to reproduce the
> assert, not only with clang 3.1 release, but also with clang trunk,
> unfortunately.  So it seems a regression; it only happens when you pass
> -std=gnu++11 (or c++11).
> 
> I'm reducing the testcase as I mail this, and I will add it to
> http://llvm.org/bugs/show_bug.cgi?id=12763 (which seems to be the most
> likely bug report for this).

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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-trunk-r159895.diff
Type: text/x-diff
Size: 2206 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120710/ff6fe38e/clang-trunk-r159895.bin


More information about the freebsd-ports mailing list