r6190 - in glibc-package/trunk/debian: . patches patches/alpha
Author: adconrad
Date: 2014-07-02 13:34:32 +0000 (Wed, 02 Jul 2014)
New Revision: 6190
Added:
glibc-package/trunk/debian/patches/alpha/cvs-unwind-backtrace.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
debian/patches/alpha/cvs-unwind-backtrace.diff: Backport upstream
fix to enable unwind tables when building the backtrace routines.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2014-06-30 20:53:38 UTC (rev 6189)
+++ glibc-package/trunk/debian/changelog 2014-07-02 13:34:32 UTC (rev 6190)
@@ -9,6 +9,10 @@
* Rename the bootstrap stage to DEB_BUILD_PROFILES=stage1 to conform
with https://wiki.debian.org/BuildProfileSpec. (Closes: #752480)
+ [ Adam Conrad ]
+ * debian/patches/alpha/cvs-unwind-backtrace.diff: Backport upstream
+ fix to enable unwind tables when building the backtrace routines.
+
-- Aurelien Jarno <aurel32@debian.org> Mon, 23 Jun 2014 21:19:57 +0200
glibc (2.19-4) unstable; urgency=medium
Added: glibc-package/trunk/debian/patches/alpha/cvs-unwind-backtrace.diff
===================================================================
--- glibc-package/trunk/debian/patches/alpha/cvs-unwind-backtrace.diff (rev 0)
+++ glibc-package/trunk/debian/patches/alpha/cvs-unwind-backtrace.diff 2014-07-02 13:34:32 UTC (rev 6190)
@@ -0,0 +1,28 @@
+commit d77c0899db92dfc2bed535efb91cf9918478fd86
+Author: Richard Henderson <rth@twiddle.net>
+Date: Wed Apr 16 21:32:27 2014 -0700
+
+ alpha: Enable unwind tables for backtrace.c
+
+ 2014-04-16 Richard Henderson <rth@redhat.com>
+
++ * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
++ unwind tables.
++
+
+diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile
+index 1cf77fb..bf133b9 100644
+--- a/ports/sysdeps/alpha/Makefile
++++ b/ports/sysdeps/alpha/Makefile
+@@ -20,6 +20,11 @@ ifeq ($(subdir),db2)
+ CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_ALPHA=1
+ endif
+
++ifeq ($(subdir),debug)
++# Consider making this GCC's default...
++CFLAGS-backtrace.c = -fasynchronous-unwind-tables
++endif
++
+ ifeq ($(subdir),gmon)
+ sysdep_routines += _mcount
+ endif
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2014-06-30 20:53:38 UTC (rev 6189)
+++ glibc-package/trunk/debian/patches/series 2014-07-02 13:34:32 UTC (rev 6190)
@@ -46,6 +46,7 @@
alpha/local-string-functions.diff
alpha/submitted-lll_futex_timed_wait_bitset.diff
alpha/cvs-__pointer_chk_guard.diff
+alpha/cvs-unwind-backtrace.diff
amd64/submitted-rwlock-stack-imbalance.diff
Reply to: