From owner-freebsd-ports@FreeBSD.ORG Fri Jul 13 10:39:18 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05030106566B; Fri, 13 Jul 2012 10:39:18 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 960608FC08; Fri, 13 Jul 2012 10:39:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6DAd9J8052764; Fri, 13 Jul 2012 04:39:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6DAd8UU052761; Fri, 13 Jul 2012 04:39:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 13 Jul 2012 04:39:08 -0600 (MDT) From: Warren Block To: Baptiste Daroussin In-Reply-To: <20120713102704.GF49382@ithaqua.etoilebsd.net> Message-ID: References: <4FF15A89.3000204@eskk.nu> <4FF2E349.5000202@FreeBSD.org> <20120704191351.GB70705@server.rulingia.com> <4FF49F51.8070600@FreeBSD.org> <4FFBD734.5030909@FreeBSD.org> <4FFFE2B7.7040303@FreeBSD.org> <20120713102704.GF49382@ithaqua.etoilebsd.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 13 Jul 2012 04:39:09 -0600 (MDT) Cc: Olivier Smedts , Dimitry Andric , 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: Fri, 13 Jul 2012 10:39:18 -0000 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 : >>> 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.