building seamonkey with clang

Dimitry Andric dim at FreeBSD.org
Wed Aug 21 15:29:35 UTC 2013


On Aug 21, 2013, at 13:23, Cary <cary at SDF.ORG> 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 
>> wrote:
>>> On Aug 20, 2013, at 00:54, Cary <cary at SDF.ORG> wrote:
>>>> Several attempts to build the current port of seamonkey on 9.1-release have 
>>>> all failed at the same point.
>>>> I have rebuilt clang and have no idea what else
>>>> can be done.
>>>> Here is the error:
>>>> 
>>>> 
>>>> Assertion failed: (isa<Argument>(Val) && "Unknown live-in to the entry block"),
>>>> function solveBlockValueNonLocal, file /usr/src/lib/clang/libllvmanalysis/../../
>>>> ../contrib/llvm/lib/Analysis/LazyValueInfo.cpp, line 605.
>>> 
>>> 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?
>>> 
>>> -Dimitry
>>> 
>>> 
>> 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



More information about the freebsd-ports mailing list