Upgrade to valgrind 3.11.0.TEST1

This commit is contained in:
Mark Wielaard 2015-09-10 22:46:51 +02:00
parent 893352c152
commit 3e3d8c9653
4 changed files with 9 additions and 36 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
/valgrind-3.10.1.tar.bz2 /valgrind-3.10.1.tar.bz2
/valgrind-3.10.1-svn20150817r15561.tar.bz2 /valgrind-3.10.1-svn20150817r15561.tar.bz2
/valgrind-3.10.1-svn20150825r15589.tar.bz2 /valgrind-3.10.1-svn20150825r15589.tar.bz2
/valgrind-3.11.0.TEST1.tar.bz2

View File

@ -1 +1 @@
2ac79449dac83b10347f825e7a869c0d valgrind-3.10.1-svn20150825r15589.tar.bz2 6a858b4a1e98db8c82bc6bc9c760873b valgrind-3.11.0.TEST1.tar.bz2

View File

@ -1,11 +0,0 @@
--- a/gdbserver_tests/filter_stderr (revision 15586)
+++ b/gdbserver_tests/filter_stderr (working copy)
@@ -10,4 +10,5 @@
-e '/\/path\/to\/gdb/d' \
-e '/and then give GDB the following command/d' \
-e '/target remote |/d' \
- -e '/pid is optional if only one valgrind process is running/d'
+ -e '/pid is optional if only one valgrind process is running/d' \
+ -e '/warning: remote target does not support file transfer, attempting to access files from local filesystem./d'

View File

@ -1,12 +1,9 @@
%{?scl:%scl_package valgrind} %{?scl:%scl_package valgrind}
%define svn_date 20150825
%define svn_rev 15589
Summary: Tool for finding memory management bugs in programs Summary: Tool for finding memory management bugs in programs
Name: %{?scl_prefix}valgrind Name: %{?scl_prefix}valgrind
Version: 3.10.1 Version: 3.11.0
Release: 22.svn%{?svn_date}r%{?svn_rev}%{?dist} Release: 0.1.TEST1%{?dist}
Epoch: 1 Epoch: 1
License: GPLv2+ License: GPLv2+
URL: http://www.valgrind.org/ URL: http://www.valgrind.org/
@ -47,18 +44,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%define _find_debuginfo_dwz_opts %{nil} %define _find_debuginfo_dwz_opts %{nil}
%undefine _include_minidebuginfo %undefine _include_minidebuginfo
#Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2 Source0: http://www.valgrind.org/downloads/valgrind-%{version}.TEST1.tar.bz2
#
# svn co svn://svn.valgrind.org/valgrind/trunk valgrind
# cd valgrind
# ./autogen.sh
# ./configure
# make dist
# tar jxf valgrind-3.11.0.SVN.tar.bz2
# mv valgrind-3.11.0.SVN valgrind-3.10.1-svn%{svn_date}r%{svn_rev}
# tar jcf valgrind-3.10.1-svn%{svn_date}r%{svn_rev}.tar.bz2 valgrind-3.10.1-svn%{svn_date}r%{svn_rev}
Source0: valgrind-%{version}-svn%{svn_date}r%{svn_rev}.tar.bz2
# Needs investigation and pushing upstream # Needs investigation and pushing upstream
Patch1: valgrind-3.9.0-cachegrind-improvements.patch Patch1: valgrind-3.9.0-cachegrind-improvements.patch
@ -69,9 +55,6 @@ Patch2: valgrind-3.9.0-helgrind-race-supp.patch
# Make ld.so supressions slightly less specific. # Make ld.so supressions slightly less specific.
Patch3: valgrind-3.9.0-ldso-supp.patch Patch3: valgrind-3.9.0-ldso-supp.patch
# Filter out new gdb warning
Patch4: valgrind-3.10.1-gdb-file-warning.patch
%if %{build_multilib} %if %{build_multilib}
# Ensure glibc{,-devel} is installed for both multilib arches # Ensure glibc{,-devel} is installed for both multilib arches
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
@ -174,13 +157,11 @@ See the section on Debugging MPI Parallel Programs with Valgrind in the
Valgrind User Manual for details. Valgrind User Manual for details.
%prep %prep
#%setup -q -n %{?scl:%{pkg_name}}%{!?scl:%{name}}-%{version} %setup -q -n %{?scl:%{pkg_name}}%{!?scl:%{name}}-%{version}.TEST1
%setup -q -n %{?scl:%{pkg_name}}%{!?scl:%{name}}-%{version}-svn%{svn_date}r%{svn_rev}
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
%patch4 -p1
%build %build
# We need to use the software collection compiler and binutils if available. # We need to use the software collection compiler and binutils if available.
@ -350,8 +331,10 @@ echo ===============END TESTING===============
%endif %endif
%changelog %changelog
* Fri Sep 04 2015 Mark Wielaard <mjw@redhat.com> * Thu Sep 10 2015 Mark Wielaard <mjw@redhat.com> - 3.11.0-0.1.TEST1
- Add BuildRequires perl(Getopt::Long) - Add BuildRequires perl(Getopt::Long)
- Upgrade to valgrind 3.11.0.TEST1
- Remove upstreamed valgrind-3.10.1-gdb-file-warning.patch
* Tue Aug 25 2015 Mark Wielaard <mjw@redhat.com> - 3.10.1-22.svn20150825r15589 * Tue Aug 25 2015 Mark Wielaard <mjw@redhat.com> - 3.10.1-22.svn20150825r15589
- Drop valgrind-3.9.0-stat_h.patch. - Drop valgrind-3.9.0-stat_h.patch.