From nobody@FreeBSD.org  Thu Jun  7 09:18:23 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1FBD8106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Jun 2012 09:18:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 080348FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Jun 2012 09:18:23 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q579IMiq082998
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 7 Jun 2012 09:18:22 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q579IMvQ082997;
	Thu, 7 Jun 2012 09:18:22 GMT
	(envelope-from nobody)
Message-Id: <201206070918.q579IMvQ082997@red.freebsd.org>
Date: Thu, 7 Jun 2012 09:18:22 GMT
From: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/firefox: /usr/ports/www/firefox/work/mozilla-release/xpcom/base/nsStackWalk.cpp:1195:29: error: use of undeclared identifier '_Unwind_Backtrace'     _Unwind_Reason_Code t = _Unwind_Backtrace(unwind_callback, &info);
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         168793
>Category:       ports
>Synopsis:       www/firefox: /usr/ports/www/firefox/work/mozilla-release/xpcom/base/nsStackWalk.cpp:1195:29: error: use of undeclared identifier '_Unwind_Backtrace'     _Unwind_Reason_Code t = _Unwind_Backtrace(unwind_callback, &info);
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gecko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 07 09:20:13 UTC 2012
>Closed-Date:    Fri Jul 27 13:26:59 UTC 2012
>Last-Modified:  Fri Jul 27 13:26:59 UTC 2012
>Originator:     Oliver Hartmann
>Release:        FreeBSD 10-CURRENT/amd64 and FreeBSD 9.0-STABLE/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Compiling port www/firefox (firefox-13.0,1) on FreeBSD 10-Current/amd64 with CLANG and FreeBSD 9.0-STABLE/amd64 with CLANG ends up in the follwowing error:


[...]
nsStackWalk.cpp
clang++ -o nsStackWalk.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"FreeBSD9\" -DOSARCH=FreeBSD -DEXCLUDE_SKIA_DEPENDENCIES  -DOS_LINUX=1 -DOS_POSIX=1  -D_IMPL_NS_COM -I../../ipc/chromium/src -I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I./../build -I../../xpcom/ds  -I. -I. -I../../dist/include -I../../dist/include/nsprpub -I/usr/local/include  -I/usr/local/include/nspr -I/usr/ports/www/firefox/work/mozilla-release/dist/include/nss      -fPIC -Qunused-arguments -I/usr/local/include -fno-rtti -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-unknown-wa
 rning-option -Wno-return-type-c-linkage -O2 -pipe -O2 -fno-strict-aliasing -pipe -O3 -pipe -fno-strict-aliasing -march=native -O2 -fno-exceptions -fno-strict-aliasing -std=gnu++0x -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -fno-omit-frame-pointer  -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng15 -I/usr/local/include/drm -I/usr/local/include/gtk-unix-print-2.0    -Qunused-arguments     -I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h /usr/ports/www/firefox/work/mozilla-release/xpcom/base/nsStackWalk.cpp
/usr/ports/www/firefox/work/mozilla-release/xpcom/base/nsStackWalk.cpp:1195:29: error: use of undeclared identifier '_Unwind_Backtrace'
    _Unwind_Reason_Code t = _Unwind_Backtrace(unwind_callback, &info);
                            ^
1 error generated.
gmake[4]: *** [nsStackWalk.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom/base'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/xpcom'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [default] Error 2
*** Error code 1

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.

===>>> make failed for www/firefox
===>>> Aborting update

===>>> Update for firefox-13.0,1 failed
===>>> Aborting update

===>>> Update for firefox-i18n-13.0 failed
===>>> Aborting update

Terminated

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gecko 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 7 23:33:11 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168793 
State-Changed-From-To: open->closed 
State-Changed-By: flo 
State-Changed-When: Fri Jul 27 13:26:58 UTC 2012 
State-Changed-Why:  
Should be fixed in the latest version 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168793 
>Unformatted:
