Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 15:53:36 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r812 - in branches/experimental: mail/thunderbird3/files www/firefox36/files www/libxul19/files
Message-ID:  <201206261553.q5QFragl070278@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Jun 26 15:53:35 2012
New Revision: 812

Log:
libunwind hides _Unwind_Backtrace under _GNU_SOURCE, same as libc++ (r737)

Modified:
   branches/experimental/mail/thunderbird3/files/patch-mozilla-xpcom-base-nsStackWalk.cpp
   branches/experimental/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp
   branches/experimental/www/libxul19/files/patch-xpcom_base_nsStackWalk.cpp

Modified: branches/experimental/mail/thunderbird3/files/patch-mozilla-xpcom-base-nsStackWalk.cpp
==============================================================================
--- branches/experimental/mail/thunderbird3/files/patch-mozilla-xpcom-base-nsStackWalk.cpp	Tue Jun 26 15:48:26 2012	(r811)
+++ branches/experimental/mail/thunderbird3/files/patch-mozilla-xpcom-base-nsStackWalk.cpp	Tue Jun 26 15:53:35 2012	(r812)
@@ -8,3 +8,11 @@
  
  #if defined(_WIN32) && (defined(_M_IX86) || defined(_M_AMD64) || defined(_M_IA64)) && !defined(WINCE) // WIN32 x86 stack walking code
  
+@@ -1123,6 +1123,7 @@ NS_StackWalk(NS_WalkStackCallback aCallb
+ 
+ #elif defined(HAVE__UNWIND_BACKTRACE)
+ 
++#define _GNU_SOURCE
+ // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0
+ #include <unwind.h>
+ 

Modified: branches/experimental/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp
==============================================================================
--- branches/experimental/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp	Tue Jun 26 15:48:26 2012	(r811)
+++ branches/experimental/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp	Tue Jun 26 15:53:35 2012	(r812)
@@ -9,3 +9,11 @@
  #include <dlfcn.h>
  #endif
  
+@@ -1123,6 +1123,7 @@ NS_StackWalk(NS_WalkStackCallback aCallb
+ 
+ #elif defined(HAVE__UNWIND_BACKTRACE)
+ 
++#define _GNU_SOURCE
+ // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0
+ #include <unwind.h>
+ 

Modified: branches/experimental/www/libxul19/files/patch-xpcom_base_nsStackWalk.cpp
==============================================================================
--- branches/experimental/www/libxul19/files/patch-xpcom_base_nsStackWalk.cpp	Tue Jun 26 15:48:26 2012	(r811)
+++ branches/experimental/www/libxul19/files/patch-xpcom_base_nsStackWalk.cpp	Tue Jun 26 15:53:35 2012	(r812)
@@ -9,3 +9,11 @@
  #include <dlfcn.h>
  #endif
  
+@@ -1123,6 +1123,7 @@ NS_StackWalk(NS_WalkStackCallback aCallb
+ 
+ #elif defined(HAVE__UNWIND_BACKTRACE)
+ 
++#define _GNU_SOURCE
+ // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0
+ #include <unwind.h>
+ 



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