[valgrind] Don't run dwz or generate minisymtab.

Mark Wielaard mjw at fedoraproject.org
Sun Sep 7 22:03:37 UTC 2014


commit 939642578a8b9979e055fa127ea22beff939241e
Author: Mark Wielaard <mjw at redhat.com>
Date:   Mon Sep 8 00:03:09 2014 +0200

    Don't run dwz or generate minisymtab.

 valgrind.spec |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/valgrind.spec b/valgrind.spec
index f18093c..0c6de0b 100644
--- a/valgrind.spec
+++ b/valgrind.spec
@@ -27,6 +27,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %global build_openmpi 0
 %endif
 
+# Don't run dwz or generate minisymtab, valgrind doesn't handle compressed
+# DWARF very well and it might read its own vgpreload libraries. Generating
+# minisymtabs doesn't really work for the staticly linked tools.
+%define _find_debuginfo_dwz_opts %{nil}
+%undefine _include_minidebuginfo
+
 #Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2
 Source0: valgrind-3.10.0.BETA1.tar.bz2
 
@@ -303,6 +309,9 @@ echo ===============END TESTING===============
 %endif
 
 %changelog
+* Mon Sep  8 2014 Mark Wielaard <mjw at redhat.com>
+- Don't run dwz or generate minisymtab.
+
 * Tue Sep  2 2014 Mark Wielaard <mjw at redhat.com> - 3.10.0-0.1.BETA1
 - Update to official upstream 3.10.0 BETA1.
   - Enables inlined frames in stacktraces.


More information about the scm-commits mailing list