valgrind/valgrind.spec

379 lines
12 KiB
RPMSpec
Raw Normal View History

2004-09-09 13:55:15 +00:00
Summary: Tool for finding memory management bugs in programs
Name: valgrind
2007-02-13 12:33:04 +00:00
Version: 3.2.3
2007-06-27 14:18:26 +00:00
Release: 3
2004-09-09 13:55:15 +00:00
Epoch: 1
Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2
2007-02-13 12:33:04 +00:00
Patch1: valgrind-3.2.3-openat.patch
Patch2: valgrind-3.2.3-cachegrind-improvements.patch
2007-02-13 13:07:03 +00:00
Patch3: valgrind-3.2.3-pkg-config.patch
2007-06-27 14:18:26 +00:00
Patch4: valgrind-3.2.3-glibc2_6.patch
Patch5: valgrind-3.2.3-io_destroy.patch
2004-09-09 13:55:15 +00:00
License: GPL
URL: http://www.valgrind.org/
2004-09-09 13:55:15 +00:00
Group: Development/Debuggers
BuildRoot: %{_tmppath}/%{name}-root
2006-06-15 15:09:25 +00:00
Obsoletes: valgrind-callgrind
%ifarch x86_64 ppc64
2006-05-26 16:28:42 +00:00
# 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
%endif
2006-10-01 19:46:00 +00:00
BuildRequires: glibc-devel >= 2.5
2006-06-15 15:09:25 +00:00
ExclusiveArch: %{ix86} x86_64 ppc ppc64
2004-09-09 13:55:15 +00:00
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
# Disable build root strip policy
2004-09-09 13:55:15 +00:00
%define __spec_install_post /usr/lib/rpm/brp-compress || :
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
# Disable -debuginfo package generation
%define debug_package %{nil}
2004-09-09 13:55:15 +00:00
%description
Valgrind is a tool to help you find memory-management problems in your
programs. When a program is run under Valgrind's supervision, all
reads and writes of memory are checked, and calls to
malloc/new/free/delete are intercepted. As a result, Valgrind can
detect a lot of problems that are otherwise very hard to
find/diagnose.
%prep
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
%setup -q
%patch1 -p1
2006-09-26 21:15:53 +00:00
%patch2 -p1
2007-02-13 13:07:03 +00:00
%patch3 -p1
2007-06-27 14:18:26 +00:00
%patch4 -p1
%patch5 -p1
2004-09-09 13:55:15 +00:00
%build
2006-06-15 15:09:25 +00:00
%ifarch x86_64 ppc64
# Ugly hack - libgcc 32-bit package might not be installed
mkdir -p libgcc/32
touch libgcc/32/libgcc_s.a
2006-04-13 11:33:18 +00:00
touch libgcc/libgcc_s_32.a
%configure CC="gcc -B `pwd`/libgcc/"
%else
2004-09-09 13:55:15 +00:00
%configure
%endif
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
# Force a specific set of default suppressions
2004-09-09 13:55:15 +00:00
echo -n > default.supp
2007-06-27 14:18:26 +00:00
for file in glibc-2.6.supp xfree-4.supp ; do
2004-09-09 13:55:15 +00:00
cat $file >> default.supp
done
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
2004-10-05 08:57:51 +00:00
make %{?_smp_mflags}
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
# Ensure there are no unexpected file descriptors open,
# the testsuite otherwise fails.
cat > close_fds.c <<EOF
#include <stdlib.h>
#include <unistd.h>
int main (int argc, char *const argv[])
{
int i, j = sysconf (_SC_OPEN_MAX);
if (j < 0)
exit (1);
for (i = 3; i < j; ++i)
close (i);
execvp (argv[1], argv + 1);
exit (1);
}
EOF
gcc $RPM_OPT_FLAGS -o close_fds close_fds.c
2006-06-15 15:09:25 +00:00
for i in `find . -type f \( -name *-amd64-linux -o -name *-x86-linux -o -name *-ppc*-linux \)`; do
case "`file $i`" in
*ELF*executable*statically\ linked*)
objcopy -R .debug_loc -R .debug_frame -R .debug_ranges $i
esac
done
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
# test
2005-07-12 14:02:06 +00:00
make check || :
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
echo ===============TESTING===================
./close_fds make regtest || :
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
echo ===============END TESTING===============
2004-09-09 13:55:15 +00:00
%install
rm -rf $RPM_BUILD_ROOT
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
2004-09-09 13:55:15 +00:00
%makeinstall
mkdir docs.installed
mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
rm -f docs.installed/*.ps
2004-09-09 13:55:15 +00:00
%ifarch x86_64
rm -rf $RPM_BUILD_ROOT%{_libdir}/valgrind/x86-linux
ln -sf ../../lib/valgrind/x86-linux $RPM_BUILD_ROOT%{_libdir}/valgrind/x86-linux
%endif
2006-06-15 15:09:25 +00:00
%ifarch ppc64
2006-06-16 09:28:54 +00:00
rm -rf $RPM_BUILD_ROOT%{_libdir}/valgrind/ppc32-linux
ln -sf ../../lib/valgrind/ppc32-linux $RPM_BUILD_ROOT%{_libdir}/valgrind/ppc32-linux
2006-06-15 15:09:25 +00:00
%endif
2004-09-09 13:55:15 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ACKNOWLEDGEMENTS COPYING NEWS README_*
%doc docs.installed/html docs.installed/*.pdf
2004-09-09 13:55:15 +00:00
%{_bindir}/*
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
%{_includedir}/valgrind
2004-09-09 13:55:15 +00:00
%{_libdir}/valgrind
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
%{_libdir}/pkgconfig/*
2005-03-28 14:36:03 +00:00
%{_mandir}/man1/valgrind*
2004-09-09 13:55:15 +00:00
%changelog
2007-06-27 14:18:26 +00:00
* Wed Jun 27 2007 Jakub Jelinek <jakub@redhat.com> 3.2.3-3
- add suppressions for glibc >= 2.6
- avoid valgrind internal error if io_destroy syscall is
passed a bogus argument
2007-02-13 13:07:03 +00:00
* Tue Feb 13 2007 Jakub Jelinek <jakub@redhat.com> 3.2.3-2
- fix valgrind.pc again
2007-02-13 12:33:04 +00:00
* Tue Feb 13 2007 Jakub Jelinek <jakub@redhat.com> 3.2.3-1
- update to 3.2.3
2006-11-08 17:53:58 +00:00
* Wed Nov 8 2006 Jakub Jelinek <jakub@redhat.com> 3.2.1-7
- some cachegrind improvements (Ulrich Drepper)
2006-11-06 16:57:40 +00:00
* Mon Nov 6 2006 Jakub Jelinek <jakub@redhat.com> 3.2.1-6
- fix valgrind.pc (#213149)
- handle Intel Core2 cache sizes in cachegrind (Ulrich Drepper)
2006-10-25 15:32:12 +00:00
* Wed Oct 25 2006 Jakub Jelinek <jakub@redhat.com> 3.2.1-5
- fix valgrind on ppc/ppc64 where PAGESIZE is 64K (#211598)
2006-10-01 19:46:00 +00:00
* Sun Oct 1 2006 Jakub Jelinek <jakub@redhat.com> 3.2.1-4
- adjust for glibc-2.5
2006-09-27 08:46:28 +00:00
* Wed Sep 27 2006 Jakub Jelinek <jakub@redhat.com> 3.2.1-3
- another DW_CFA_set_loc handling fix
2006-09-26 21:15:53 +00:00
* Tue Sep 26 2006 Jakub Jelinek <jakub@redhat.com> 3.2.1-2
- fix openat handling (#208097)
- fix DW_CFA_set_loc handling
2006-09-19 11:48:24 +00:00
* Tue Sep 19 2006 Jakub Jelinek <jakub@redhat.com> 3.2.1-1
- update to 3.2.1 bugfix release
- SSE3 emulation fixes, reduce memcheck false positive rate,
4 dozens of bugfixes
2006-08-21 10:29:05 +00:00
* Mon Aug 21 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-5
- handle the new i686/x86_64 nops (#203273)
2006-07-28 19:07:09 +00:00
* Fri Jul 28 2006 Jeremy Katz <katzj@redhat.com> - 1:3.2.0-4
- rebuild to bring ppc back
2006-07-12 08:39:59 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:3.2.0-3.1
- rebuild
2006-06-16 10:02:47 +00:00
* Fri Jun 16 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-3
- handle [sg]et_robust_list syscall on ppc{32,64}
2006-06-16 09:28:54 +00:00
* Fri Jun 16 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-2
- fix ppc64 symlink to 32-bit valgrind libdir
- handle a few extra ppc64 syscalls
2006-06-15 15:09:25 +00:00
* Thu Jun 15 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-1
- update to 3.2.0
- ppc64 support
2006-05-26 16:28:42 +00:00
* Fri May 26 2006 Jakub Jelinek <jakub@redhat.com> 3.1.1-3
- handle [sg]et_robust_list syscalls on i?86/x86_64
- handle *at syscalls on ppc
- ensure on x86_64 both 32-bit and 64-bit glibc{,-devel} are
installed in the buildroot (#191820)
2006-04-12 15:25:26 +00:00
* Wed Apr 12 2006 Jakub Jelinek <jakub@redhat.com> 3.1.1-2
- handle many syscalls that were unhandled before, especially on ppc
2006-04-03 16:55:06 +00:00
* Mon Apr 3 2006 Jakub Jelinek <jakub@redhat.com> 3.1.1-1
- upgrade to 3.1.1
- many bugfixes
2006-03-13 09:22:55 +00:00
* Mon Mar 13 2006 Jakub Jelinek <jakub@redhat.com> 3.1.0-2
- add support for DW_CFA_val_offset{,_sf}, DW_CFA_def_cfa_sf
and skip over DW_CFA_val_expression quietly
- adjust libc/ld.so filenames in glibc-2.4.supp for glibc 2.4
release
2006-02-07 14:12:00 +00:00
* Mon Jan 9 2006 Jakub Jelinek <jakub@redhat.com> 3.1.0-1
- upgrade to 3.1.0 (#174582)
- many bugfixes, ppc32 support
2005-12-09 22:43:44 +00:00
2005-10-12 22:16:27 +00:00
* Thu Oct 13 2005 Jakub Jelinek <jakub@redhat.com> 3.0.1-2
- remove Obsoletes for valgrind-callgrind, as it has been
ported to valgrind 3.0.x already
* Sun Sep 11 2005 Jakub Jelinek <jakub@redhat.com> 3.0.1-1
- upgrade to 3.0.1
- many bugfixes
- handle xattr syscalls on x86-64 (Ulrich Drepper)
2005-08-12 18:48:28 +00:00
* Fri Aug 12 2005 Jakub Jelinek <jakub@redhat.com> 3.0.0-3
- fix amd64 handling of cwtd instruction
- fix amd64 handling of e.g. sarb $0x4,val(%rip)
- speedup amd64 insn decoding
2005-08-12 15:35:50 +00:00
* Fri Aug 12 2005 Jakub Jelinek <jakub@redhat.com> 3.0.0-2
- lower x86_64 stage2 base from 112TB down to 450GB, so that
valgrind works even on 2.4.x kernels. Still way better than
1.75GB that stock valgrind allows
* Fri Aug 12 2005 Jakub Jelinek <jakub@redhat.com> 3.0.0-1
- upgrade to 3.0.0
- x86_64 support
- temporarily obsolete valgrind-callgrind, as it has not been
ported yet
2005-07-12 14:00:29 +00:00
* Tue Jul 12 2005 Jakub Jelinek <jakub@redhat.com> 2.4.0-3
- build some insn tests with -mmmx, -msse or -msse2 (#161572)
- handle glibc-2.3.90 the same way as 2.3.[0-5]
* Wed Mar 30 2005 Jakub Jelinek <jakub@redhat.com> 2.4.0-2
2005-03-29 22:12:08 +00:00
- resurrect the non-upstreamed part of valgrind_h patch
- remove 2.1.2-4G patch, seems to be upstreamed
- resurrect passing -fno-builtin in memcheck tests
2005-03-28 14:36:03 +00:00
* Sun Mar 27 2005 Colin Walters <walters@redhat.com> 2.4.0-1
- New upstream version
- Update valgrind-2.2.0-regtest.patch to 2.4.0; required minor
massaging
- Disable valgrind-2.1.2-4G.patch for now; Not going to touch this,
and Fedora does not ship 4G kernel by default anymore
- Remove upstreamed valgrind-2.2.0.ioctls.patch
- Remove obsolete valgrind-2.2.0-warnings.patch; Code is no longer
present
- Remove upstreamed valgrind-2.2.0-valgrind_h.patch
- Remove obsolete valgrind-2.2.0-unnest.patch and
valgrind-2.0.0-pthread-stacksize.patch; valgrind no longer
includes its own pthread library
2005-03-17 14:23:19 +00:00
* Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 2.2.0-10
2005-03-05 19:56:47 +00:00
- rebuilt with GCC 4
2005-02-08 15:06:51 +00:00
* Tue Feb 8 2005 Jakub Jelinek <jakub@redhat.com> 2.2.0-8
- avoid unnecessary use of nested functions for pthread_once
cleanup
2004-12-06 14:24:26 +00:00
* Mon Dec 6 2004 Jakub Jelinek <jakub@redhat.com> 2.2.0-7
- update URL (#141873)
2004-11-16 16:23:24 +00:00
* Tue Nov 16 2004 Jakub Jelinek <jakub@redhat.com> 2.2.0-6
2004-11-16 15:53:09 +00:00
- act as if NVALGRIND is defined when using <valgrind.h>
in non-m32/i386 programs (#138923)
- remove weak from VALGRIND_PRINTF*, make it static and
add unused attribute
2004-11-08 16:30:12 +00:00
* Mon Nov 8 2004 Jakub Jelinek <jakub@redhat.com> 2.2.0-4
- fix a printout and possible problem with local variable
usage around setjmp (#138254)
2004-10-05 08:57:51 +00:00
* Tue Oct 5 2004 Jakub Jelinek <jakub@redhat.com> 2.2.0-3
- remove workaround for buggy old makes (#134563)
2004-10-01 13:00:54 +00:00
* Fri Oct 1 2004 Jakub Jelinek <jakub@redhat.com> 2.2.0-2
- handle some more ioctls (Peter Jones, #131967)
* Thu Sep 2 2004 Jakub Jelinek <jakub@redhat.com> 2.2.0-1
- update to 2.2.0
2004-10-01 13:00:54 +00:00
* Thu Jul 22 2004 Jakub Jelinek <jakub@redhat.com> 2.1.2-3
- fix packaging of documentation
2004-10-01 13:00:54 +00:00
* Tue Jul 20 2004 Jakub Jelinek <jakub@redhat.com> 2.1.2-2
- allow tracing of 32-bit binaries on x86-64
2004-10-01 13:00:54 +00:00
* Tue Jul 20 2004 Jakub Jelinek <jakub@redhat.com> 2.1.2-1
auto-import changelog data from valgrind-2.1.2-1.src.rpm Tue Jul 20 2004 Jakub Jelinek <jakuB@redhat.com> 2.1.2-1 - update to 2.1.2 - run make regtest as part of package build - use glibc-2.3 suppressions instead of glibc-2.2 suppressions Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1 - update to 2.0.0 Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228 - update to 1.9.4 from CVS. - dwarf patch from Graydon Hoare. - sysinfo patch from Graydon Hoare, take 1. Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207 - add return codes to syscalls. - fix: set errno after syscalls. Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207 - add handling for separate debug info (+fix). - handle blocking readv/writev correctly. - comment out 4 overly zealous pthread checks. Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207 - move _pthread_desc to vg_include.h. - implement pthread_mutex_timedlock(). - implement pthread_barrier_wait(). Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207 - import all(afaik) missing functionality from linuxthreads. Sun Feb 09 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207 - import more missing functionality from linuxthreads in glibc-2.3.1. Sat Feb 08 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207 - start fixing nptl test cases. Fri Feb 07 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207 - build against current 1.9.3 with nptl hacks. Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com> - Update to 1.0.4
2004-09-09 13:55:26 +00:00
- update to 2.1.2
- run make regtest as part of package build
- use glibc-2.3 suppressions instead of glibc-2.2 suppressions
* Thu Apr 29 2004 Colin Walters <walters@redhat.com> 2.0.0-1
- update to 2.0.0
* Tue Feb 25 2003 Jeff Johnson <jbj@redhat.com> 1.9.4-0.20030228
- update to 1.9.4 from CVS.
- dwarf patch from Graydon Hoare.
- sysinfo patch from Graydon Hoare, take 1.
* Fri Feb 14 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-6.20030207
- add return codes to syscalls.
- fix: set errno after syscalls.
* Tue Feb 11 2003 Graydon Hoare <graydon@redhat.com> 1.9.3-5.20030207
- add handling for separate debug info (+fix).
- handle blocking readv/writev correctly.
- comment out 4 overly zealous pthread checks.
* Tue Feb 11 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-4.20030207
- move _pthread_desc to vg_include.h.
- implement pthread_mutex_timedlock().
- implement pthread_barrier_wait().
* Mon Feb 10 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-3.20030207
- import all(afaik) missing functionality from linuxthreads.
* Sun Feb 9 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-2.20030207
- import more missing functionality from linuxthreads in glibc-2.3.1.
* Sat Feb 8 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-1.20030207
- start fixing nptl test cases.
* Fri Feb 7 2003 Jeff Johnson <jbj@redhat.com> 1.9.3-0.20030207
- build against current 1.9.3 with nptl hacks.
* Tue Oct 15 2002 Alexander Larsson <alexl@redhat.com>
- Update to 1.0.4
2004-09-09 13:55:15 +00:00
* Fri Aug 9 2002 Alexander Larsson <alexl@redhat.com>
- Update to 1.0.0
* Wed Jul 3 2002 Alexander Larsson <alexl@redhat.com>
- Update to pre4.
* Tue Jun 18 2002 Alexander Larsson <alla@lysator.liu.se>
- Add threadkeys and extra suppressions patches. Bump epoch.
* Mon Jun 17 2002 Alexander Larsson <alla@lysator.liu.se>
- Updated to 1.0pre1
* Tue May 28 2002 Alex Larsson <alexl@redhat.com>
- Updated to 20020524. Added GLIBC_PRIVATE patch
* Thu May 9 2002 Jonathan Blandford <jrb@redhat.com>
- add missing symbol __pthread_clock_settime
* Wed May 8 2002 Alex Larsson <alexl@redhat.com>
- Update to 20020508
* Mon May 6 2002 Alex Larsson <alexl@redhat.com>
- Update to 20020503b
* Thu May 2 2002 Alex Larsson <alexl@redhat.com>
- update to new snapshot
* Mon Apr 29 2002 Alex Larsson <alexl@redhat.com> 20020428-1
- update to new snapshot
* Fri Apr 26 2002 Jeremy Katz <katzj@redhat.com> 20020426-1
- update to new snapshot
* Thu Apr 25 2002 Alex Larsson <alexl@redhat.com> 20020424-5
- Added stack patch. Commented out other patches.
* Wed Apr 24 2002 Nalin Dahyabhai <nalin@redhat.com> 20020424-4
- filter out GLIBC_PRIVATE requires, add preload patch
* Wed Apr 24 2002 Alex Larsson <alexl@redhat.com> 20020424-3
- Make glibc 2.2 and XFree86 4 the default supressions
* Wed Apr 24 2002 Alex Larsson <alexl@redhat.com> 20020424-2
- Added patch that includes atomic.h
* Wed Apr 24 2002 Alex Larsson <alexl@redhat.com> 20020424-1
- Initial build