Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2012 12:20:05 GMT
From:      Jan Beich <jbeich@tormail.org>
To:        gecko@FreeBSD.org
Subject:   Re: ports/168978: mail/thunderbird: /base/nsStackWalk.cpp:1196:29: error: use of undeclared identifier '_Unwind_Backtrace' _Unwind_Reason_Code t = _Unwind_Backtrace(unwind_callback, &info); 
Message-ID:  <201206141220.q5ECK54o005437@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/168978; it has been noted by GNATS.

From: Jan Beich <jbeich@tormail.org>
To: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/168978: mail/thunderbird: /base/nsStackWalk.cpp:1196:29: error: use of undeclared identifier '_Unwind_Backtrace' _Unwind_Reason_Code t = _Unwind_Backtrace(unwind_callback, &info);
Date: Thu, 14 Jun 2012 20:11:18 +0800

 "O. Hartmann" <ohartman@zedat.fu-berlin.de> writes:
 
 > Deleting port devel/libunwind by force and subsequently trying to
 > recompile/update port www/firefox ends up in the following error
 > message. In /etc/src.conf, I use
 >
 > WITH_LIBCPLUSPLUS=      YES
 
 It's unused unless you build with -stdlib=libc++.
 http://wiki.freebsd.org/NewC++Stack
 
 >
 > [...]
 > clang++ -o nsDirPrefs.o -c -I../../../mozilla/dist/stl_wrappers
 [...]
 > nsDirPrefs.cpp:404:9: error: case value evaluates to 2147483649, which
 > cannot be narrowed to type 'PRInt32' (aka 'int') [-Wc++11-narrowing]
 >    case DIR_POS_DELETE:
 >         ^
 > nsDirPrefs.cpp:96:44: note: expanded from macro 'DIR_POS_DELETE'
 > #define DIR_POS_DELETE                     0x80000001
 >                                            ^
 > nsDirPrefs.cpp:378:9: error: case value evaluates to 2147483648, which
 > cannot be narrowed to type 'PRInt32' (aka 'int') [-Wc++11-narrowing]
 >    case DIR_POS_APPEND:
 >         ^
 > nsDirPrefs.cpp:95:44: note: expanded from macro 'DIR_POS_APPEND'
 > #define DIR_POS_APPEND                     0x80000000
 >                                            ^
 
 thunderbird is known to be currently broken with clang.
 http://lists.freebsd.org/pipermail/freebsd-gecko/2012-June/002273.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206141220.q5ECK54o005437>