From 902853a90170fbe2ac1ee9c0f948b8641661b9ffd0d358b8ff359a1340252ac2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 Oct 2012 11:37:00 +0000 Subject: [PATCH] - raise seglimit to make it more useful for some apps OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=85 --- raise-segnames-limit.diff | 11 +++++++++++ valgrind.changes | 5 +++++ valgrind.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 raise-segnames-limit.diff diff --git a/raise-segnames-limit.diff b/raise-segnames-limit.diff new file mode 100644 index 0000000..1bb4f8b --- /dev/null +++ b/raise-segnames-limit.diff @@ -0,0 +1,11 @@ +--- coregrind/m_aspacemgr/aspacemgr-linux.c ++++ coregrind/m_aspacemgr/aspacemgr-linux.c +@@ -268,7 +268,7 @@ + #define VG_N_SEGMENTS 5000 + + /* Max number of segment file names we can track. */ +-#define VG_N_SEGNAMES 1000 ++#define VG_N_SEGNAMES 4000 + + /* Max length of a segment file name. */ + #define VG_MAX_SEGNAMELEN 1000 diff --git a/valgrind.changes b/valgrind.changes index 7b8ec74..d60e6c2 100644 --- a/valgrind.changes +++ b/valgrind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 4 11:36:36 UTC 2012 - dmueller@suse.com + +- raise seglimit to make it more useful for some apps + ------------------------------------------------------------------- Thu Sep 20 16:34:47 UTC 2012 - burnus@net-b.de diff --git a/valgrind.spec b/valgrind.spec index 0968ed9..8499c43 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -39,6 +39,7 @@ Source0: %{name}-%{version}.tar.bz2 # svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_5_0 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_5_BRANCH > 3_5_BRANCH.diff # svn di svn://svn.valgrind.org/vex/tags/VEX_3_5_0 svn://svn.valgrind.org/vex/branches/VEX_3_5_BRANCH > VEX_3_5_BRANCH.diff Patch1: jit-register-unregister.diff +Patch2: raise-segnames-limit.diff # during building the major version of glibc is built into the suppression file %define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1) %define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2) @@ -136,6 +137,7 @@ Authors: cd VEX cd .. %patch1 +%patch2 %build %ifarch %arm