[kernel] Linux v3.15-rc1-113-g6ca2a88ad820

Josh Boyer jwboyer at fedoraproject.org
Fri Apr 18 11:40:34 UTC 2014


commit 4f60176946559ae67f6b3fc91e023aea42b5ae88
Author: Josh Boyer <jwboyer at fedoraproject.org>
Date:   Fri Apr 18 06:58:29 2014 -0400

    Linux v3.15-rc1-113-g6ca2a88ad820
    
    - Build perf with unwind support via libdw (rhbz 1025603)

 disable-libdw-unwind-on-non-x86.patch |   15 +++++++++++++++
 kernel.spec                           |    6 ++++++
 2 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/disable-libdw-unwind-on-non-x86.patch b/disable-libdw-unwind-on-non-x86.patch
new file mode 100644
index 0000000..445fc19
--- /dev/null
+++ b/disable-libdw-unwind-on-non-x86.patch
@@ -0,0 +1,15 @@
+diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
+index ee21fa9..19ee413 100644
+--- a/tools/perf/config/Makefile
++++ b/tools/perf/config/Makefile
+@@ -34,6 +34,10 @@ ifeq ($(ARCH),arm)
+   LIBUNWIND_LIBS = -lunwind -lunwind-arm
+ endif
+ 
++ifneq ($(ARCH),x86)
++  NO_LIBDW_DWARF_UNWIND := 1
++endif
++
+ ifeq ($(LIBUNWIND_LIBS),)
+   NO_LIBUNWIND := 1
+ else
diff --git a/kernel.spec b/kernel.spec
index 9f97857..3ad8677 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -635,6 +635,9 @@ Patch25049: 0001-synaptics-Add-min-max-quirk-for-ThinkPad-T431s-L440-.patch
 Patch25061: gpio-ACPI-Dont-crash-on-NULL-chip-dev.patch
 Patch25062: gpio-ich-set-regs-and-reglen-for-i3100-and-ich6-chipset.patch
 
+#rhbz 1025603
+Patch25063: disable-libdw-unwind-on-non-x86.patch
+
 # END OF PATCH DEFINITIONS
 
 %endif
@@ -1279,6 +1282,9 @@ ApplyPatch 0001-synaptics-Add-min-max-quirk-for-ThinkPad-T431s-L440-.patch
 ApplyPatch gpio-ACPI-Dont-crash-on-NULL-chip-dev.patch
 ApplyPatch gpio-ich-set-regs-and-reglen-for-i3100-and-ich6-chipset.patch
 
+#rhbz 1025603
+ApplyPatch disable-libdw-unwind-on-non-x86.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif


More information about the scm-commits mailing list