From owner-freebsd-current@FreeBSD.ORG Sat Jun 9 12:53:00 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BD8B1065672; Sat, 9 Jun 2012 12:53:00 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 06BF58FC1B; Sat, 9 Jun 2012 12:53:00 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:ac9c:8782:4659:6790] (unknown [IPv6:2001:7b8:3a7:0:ac9c:8782:4659:6790]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 46A6F5C37; Sat, 9 Jun 2012 14:52:59 +0200 (CEST) Message-ID: <4FD34731.3090502@andric.com> Date: Sat, 09 Jun 2012 14:53:05 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120529 Thunderbird/13.0 MIME-Version: 1.0 To: "O. Hartmann" References: <4FD33E24.9060408@zedat.fu-berlin.de> In-Reply-To: <4FD33E24.9060408@zedat.fu-berlin.de> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Current FreeBSD , Ports FreeBSD Subject: Re: mail/thunderbird: FreeBSD 10.0-CURRENT/amd64 and CLANG fail to build Thunderbird 13 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 12:53:00 -0000 On 2012-06-09 14:14, O. Hartmann wrote: > My FreeBSD 10-CURRENT/amd64 boxes fail to build Thunderbird 13 compiling > with CLANG. The error is very much the same as when I try compiling > Firefox 13 on the same box with CLANG. ... I'm not sure this problem is related to clang at all, see below. > I tried to track down the problem, but I failed. Bot systems are used to > have very similar setups and ports, both boxes have FreeBSD > 10.0-CURRENT/amd64 (FreeBSD 10.0-CURRENT #0 r236694: Wed Jun 6 23:06:12 > CEST 2012), both OSes have been compiled with CLANG. The box in question > is a very new Sandy-Bridge-E system with 32GB RAM, while the box > compiling well is a older Core2Duo (I mention this since I read about > differences in how LLVM/CLANG 3.1 may behave on different CPUs, even > with -O2 enabled). > > I'm confused about this, since Firefox 13 and even 12 fail at the same > point with a very similar error message in this "xpcom" module. ... > /usr/ports/mail/thunderbird/work/comm-release/mozilla/xpcom/base/nsStackWalk.cpp:1196:29: > error: use of undeclared identifier '_Unwind_Backtrace' > _Unwind_Reason_Code t = _Unwind_Backtrace(unwind_callback, &info); This simply looks like a problem in nsStackWalk.cpp; it should include to get the proper declaration for _Unwind_Backtrace(). I don't have the time to look into this at the moment, but my suspicion would be that whatever Mozilla uses for its configuration scripts is not finding the proper unwind.h header.