From owner-freebsd-ports@FreeBSD.ORG Wed Aug 21 15:29:35 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 34738DA9 for ; Wed, 21 Aug 2013 15:29:35 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE141242F for ; Wed, 21 Aug 2013 15:29:34 +0000 (UTC) Received: from coleburn.avinity.tv (host-229-161-243.77.avinity.tv [77.243.161.229]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 904F65C43; Wed, 21 Aug 2013 17:29:29 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: building seamonkey with clang From: Dimitry Andric In-Reply-To: <20130821112312.GA18426@SDF.ORG> Date: Wed, 21 Aug 2013 17:29:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130819225440.GA18160@SDF.ORG> <5AF5CDE0-8684-4A9E-9A85-E3F2CF8D0F58@FreeBSD.org> <20130821065045.GA8976@SDF.ORG> <20130821112312.GA18426@SDF.ORG> To: Cary X-Mailer: Apple Mail (2.1508) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 15:29:35 -0000 On Aug 21, 2013, at 13:23, Cary wrote: > On Wed, Aug 21, 2013 at 06:50:45AM +0000, Cary wrote: >> On Tue, Aug 20, 2013 at 11:05:42PM +0200, Dimitry Andric=20 >> wrote: >>> On Aug 20, 2013, at 00:54, Cary wrote: >>>> Several attempts to build the current port of seamonkey on = 9.1-release have=20 >>>> all failed at the same point. >>>> I have rebuilt clang and have no idea what else >>>> can be done. >>>> Here is the error: >>>>=20 >>>>=20 >>>> Assertion failed: (isa(Val) && "Unknown live-in to the = entry block"), >>>> function solveBlockValueNonLocal, file = /usr/src/lib/clang/libllvmanalysis/../../ >>>> ../contrib/llvm/lib/Analysis/LazyValueInfo.cpp, line 605. >>>=20 >>> This is clang 3.1, so meanwhile the assert will most likely have = been >>> fixed. Can you try building one of the lang/clang ports, and build = the >>> seamonkey port with that instead? >>>=20 >>> -Dimitry >>>=20 >>>=20 >> At the moment I am using clang-3.3_1 to build the seamonkey port. > No, I wasn't. Sorry. Trying again. Ok, I will assume a newer clang version will have this problem fixed. Please let us know whether it works for you now. However, out of interest, I would like to determine the exact upstream revision which fixed it. Could you please send me files that clang++ mentioned in your original post (if you still have them): clang++: note: diagnostic msg: /tmp/nsMsgMaildirStore-SbFLtj.ii clang++: note: diagnostic msg: /tmp/nsMsgMaildirStore-SbFLtj.sh I can use these to reproduce the problem locally, without having to duplicate your build environment, and compiling all the mozilla code. -Dimitry