From owner-freebsd-ports@FreeBSD.ORG Tue Jul 10 07:21:33 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 4BDF3106564A; Tue, 10 Jul 2012 07:21:33 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 297C714DB9A; Tue, 10 Jul 2012 07:21:32 +0000 (UTC) Message-ID: <4FFBD7FB.3010002@FreeBSD.org> Date: Tue, 10 Jul 2012 00:21:31 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: Dimitry Andric References: <4FF15A89.3000204@eskk.nu> <4FF2E349.5000202@FreeBSD.org> <20120704191351.GB70705@server.rulingia.com> <4FF49F51.8070600@FreeBSD.org> <4FFBD734.5030909@FreeBSD.org> In-Reply-To: <4FFBD734.5030909@FreeBSD.org> X-Enigmail-Version: 1.4.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Peter Jeremy , freebsd-ports@FreeBSD.org, Leslie Jensen Subject: Re: make failed for editors/libreoffice X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 07:21:33 -0000 Dimitry, Thanks for looking into this. Did you see my message where I reported that clang from ports works fine for LO on -current, but the base clang fails? How does this change compare to the code that's already in the clang port? Doug On 07/10/2012 00:18, Dimitry Andric wrote: > 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 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! > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > -- Change is hard.