2012-09-20 09:31:41 +00:00
|
|
|
%{?scl:%scl_package valgrind}
|
|
|
|
|
2004-09-09 13:55:15 +00:00
|
|
|
Summary: Tool for finding memory management bugs in programs
|
2012-09-20 09:31:41 +00:00
|
|
|
Name: %{?scl_prefix}valgrind
|
2012-09-20 14:48:45 +00:00
|
|
|
Version: 3.8.1
|
2012-10-15 12:29:28 +00:00
|
|
|
Release: 3%{?dist}
|
2004-09-09 13:55:15 +00:00
|
|
|
Epoch: 1
|
2012-03-05 22:47:05 +00:00
|
|
|
License: GPLv2
|
|
|
|
URL: http://www.valgrind.org/
|
|
|
|
Group: Development/Debuggers
|
|
|
|
|
2012-09-20 09:31:41 +00:00
|
|
|
# Only necessary for RHEL, will be ignored on Fedora
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2012-08-10 08:20:52 +00:00
|
|
|
Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2
|
2012-09-20 14:48:45 +00:00
|
|
|
|
|
|
|
Patch1: valgrind-3.8.1-cachegrind-improvements.patch
|
|
|
|
|
|
|
|
# KDE#307103 - sys_openat If pathname is absolute, then dirfd is ignored.
|
|
|
|
Patch2: valgrind-3.8.1-openat.patch
|
|
|
|
|
|
|
|
# KDE#211352 - helgrind races in helgrind's own mythread_wrapper
|
|
|
|
Patch3: valgrind-3.8.1-helgrind-race-supp.patch
|
|
|
|
|
|
|
|
Patch4: valgrind-3.8.1-stat_h.patch
|
|
|
|
|
|
|
|
# Support really ancient gcc. Check __GNUC__ >= 3 for __builtin_expect.
|
|
|
|
Patch5: valgrind-3.8.1-config_h.patch
|
|
|
|
|
|
|
|
# KDE#307101 - sys_capget second argument can be NULL
|
|
|
|
Patch6: valgrind-3.8.1-capget.patch
|
|
|
|
|
|
|
|
# KDE#263034 - Crash when loading some PPC64 binaries
|
|
|
|
Patch7: valgrind-3.8.1-pie.patch
|
|
|
|
|
|
|
|
# configure detection change from armv7* to armv[57]*.
|
|
|
|
Patch8: valgrind-3.8.1-enable-armv5.patch
|
|
|
|
|
|
|
|
Patch9: valgrind-3.8.1-ldso-supp.patch
|
|
|
|
|
|
|
|
# On x86 GCC 4.6 and later now defaults to -fomit-frame-pointer
|
|
|
|
# together with emitting unwind info (-fasynchronous-unwind-tables).
|
|
|
|
# So, try CF info first.
|
|
|
|
Patch10: valgrind-3.8.1-x86-backtrace.patch
|
|
|
|
|
|
|
|
# KDE#305431 - Use find_buildid shdr fallback for separate .debug files
|
|
|
|
Patch11: valgrind-3.8.1-find-buildid.patch
|
|
|
|
|
|
|
|
# KDE#305513 - Robustify abbrev reading (part already upstream).
|
|
|
|
Patch12: valgrind-3.8.1-abbrev-parsing.patch
|
|
|
|
|
|
|
|
# KDE#307038 - DWARF2 CFI reader: unhandled DW_OP_ opcode 0x8 (DW_OP_const1u)
|
|
|
|
Patch13: valgrind-3.8.1-cfi_dw_ops.patch
|
|
|
|
|
2012-09-21 10:10:47 +00:00
|
|
|
# On some ppc64 installs these test just hangs
|
|
|
|
Patch14: valgrind-3.8.1-gdbserver_tests-mcinvoke-ppc64.patch
|
|
|
|
|
2012-09-23 20:07:37 +00:00
|
|
|
# KDE#307285 - x86_amd64 feature test for avx in test suite is wrong
|
|
|
|
# Should test OSXSAVE first before executing XGETBV.
|
|
|
|
Patch15: valgrind-3.8.1-x86_amd64_features-avx.patch
|
|
|
|
|
2012-09-25 07:39:05 +00:00
|
|
|
# KDE#307155 - gdbserver_tests/filter_gdb should filter out syscall-template.S
|
|
|
|
# This is only a real issue when glibc-debuginfo is installed.
|
|
|
|
Patch16: valgrind-3.8.1-gdbserver_tests-syscall-template-source.patch
|
|
|
|
|
2012-09-25 07:46:21 +00:00
|
|
|
# KDE#307290 - memcheck overlap testcase needs memcpy version filter
|
|
|
|
Patch17: valgrind-3.8.1-overlap_memcpy_filter.patch
|
|
|
|
# Note: Need to make memcheck/tests/filter_memcpy executable
|
|
|
|
|
2012-10-02 15:01:43 +00:00
|
|
|
# KDE#307729 - pkgconfig support broken valgrind.pc
|
|
|
|
# valt_load_address=@VALT_LOAD_ADDRESS@
|
|
|
|
Patch18: valgrind-3.8.1-pkg-config.patch
|
2012-03-05 22:47:05 +00:00
|
|
|
|
2012-10-03 17:34:55 +00:00
|
|
|
# KDE#253519 - Memcheck reports auxv pointer accesses as invalid reads.
|
|
|
|
Patch19: valgrind-3.8.1-proc-auxv.patch
|
|
|
|
|
2012-10-04 20:46:29 +00:00
|
|
|
# KDE#307828 - SSE optimized wcscpy, wcscmp, wcsrchr and wcschr trigger
|
|
|
|
# uninitialised value and/or invalid read warnings
|
|
|
|
Patch20: valgrind-3.8.1-wcs.patch
|
|
|
|
|
2012-09-13 09:43:49 +00:00
|
|
|
# KDE#305728 - Add support for AVX2, BMI1, BMI2 and FMA instructions
|
|
|
|
# Combined patch for:
|
|
|
|
# - valgrind-avx2-1.patch
|
|
|
|
# - valgrind-avx2-2.patch
|
|
|
|
# - valgrind-avx2-3.patch
|
|
|
|
# - valgrind-avx2-4.patch
|
|
|
|
# - valgrind-bmi-1.patch
|
|
|
|
# - valgrind-bmi-2.patch
|
|
|
|
# - valgrind-bmi-3.patch
|
|
|
|
# - valgrind-fma-1.patch
|
|
|
|
# - valgrind-memcheck-avx2-bmi-fma.patch
|
|
|
|
# - valgrind-vmaskmov-load.patch
|
|
|
|
# - valgrind-avx2-5.patch
|
|
|
|
# - valgrind-bmi-4.patch
|
|
|
|
# - valgrind-avx2-bmi-fma-tests.tar.bz2
|
|
|
|
#
|
|
|
|
# NOTE: Need to touch empty files from tar file:
|
|
|
|
# ./none/tests/amd64/avx2-1.stderr.exp
|
|
|
|
# ./none/tests/amd64/fma.stderr.exp
|
|
|
|
# ./none/tests/amd64/bmi.stderr.exp
|
2012-09-20 14:48:45 +00:00
|
|
|
Patch21: valgrind-3.8.1-avx2-bmi-fma.patch.gz
|
2012-09-13 17:27:23 +00:00
|
|
|
# Small fixup for above patch, just a configure check.
|
|
|
|
# This is equivalent to valgrind-bmi-5.patch from KDE#305728
|
2012-09-20 14:48:45 +00:00
|
|
|
Patch22: valgrind-3.8.1-bmi-conf-check.patch
|
2012-09-14 14:44:02 +00:00
|
|
|
# Partial backport of upstream revision 12884 without it AVX2 VPBROADCASTB
|
|
|
|
# insn is broken under memcheck.
|
2012-09-20 14:48:45 +00:00
|
|
|
Patch23: valgrind-3.8.1-memcheck-mc_translate-Iop_8HLto16.patch
|
|
|
|
# vgtest files should prereq that the binary is there (for old binutils).
|
|
|
|
Patch24: valgrind-3.8.1-avx2-prereq.patch
|
2012-09-13 09:43:49 +00:00
|
|
|
|
2012-10-13 14:22:14 +00:00
|
|
|
# KDE#308321 - testsuite memcheck filter interferes with gdb_filter
|
|
|
|
Patch25: valgrind-3.8.1-filter_gdb.patch
|
|
|
|
|
2012-10-13 20:38:31 +00:00
|
|
|
# KDE#308341 - vgdb should report process exit (or fatal signal)
|
|
|
|
Patch26: valgrind-3.8.1-gdbserver_exit.patch
|
|
|
|
|
2012-10-14 19:57:16 +00:00
|
|
|
# KDE#164485 - VG_N_SEGNAMES and VG_N_SEGMENTS are (still) too small
|
|
|
|
Patch27: valgrind-3.8.1-aspacemgr_VG_N_SEGs.patch
|
2012-09-19 13:32:16 +00:00
|
|
|
|
2012-10-15 12:17:58 +00:00
|
|
|
# KDE#308427 - s390 memcheck reports tsearch conditional jump or move
|
|
|
|
# depends on uninitialized value [workaround, suppression]
|
|
|
|
Patch28: valgrind-3.8.1-s390_tsearch_supp.patch
|
|
|
|
|
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
|
2011-01-28 12:42:00 +00:00
|
|
|
%if 0%{?fedora} >= 15
|
2011-06-08 16:32:00 +00:00
|
|
|
BuildRequires: glibc-devel >= 2.14
|
2010-06-14 14:40:25 +00:00
|
|
|
%else
|
2012-09-20 09:31:41 +00:00
|
|
|
%if 0%{?rhel} >= 6
|
2011-01-28 12:42:00 +00:00
|
|
|
BuildRequires: glibc-devel >= 2.12
|
2012-09-20 09:31:41 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: glibc-devel >= 2.5
|
|
|
|
%endif
|
2010-06-14 14:40:25 +00:00
|
|
|
%endif
|
2012-03-05 22:47:05 +00:00
|
|
|
%ifarch %{ix86} x86_64 ppc ppc64
|
2010-04-12 13:17:41 +00:00
|
|
|
BuildRequires: openmpi-devel >= 1.3.3
|
2010-11-12 14:24:03 +00:00
|
|
|
%endif
|
2012-09-20 09:31:41 +00:00
|
|
|
|
|
|
|
# For %%build and %%check.
|
|
|
|
# In case of a software collection, pick the matching gdb and binutils.
|
|
|
|
BuildRequires: %{?scl_prefix}gdb
|
|
|
|
BuildRequires: %{?scl_prefix}binutils
|
|
|
|
|
|
|
|
%{?scl:Requires:%scl_runtime}
|
|
|
|
|
2012-03-05 22:47:05 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc ppc64 s390x %{arm}
|
2008-03-03 12:58:38 +00:00
|
|
|
%ifarch %{ix86}
|
|
|
|
%define valarch x86
|
|
|
|
%define valsecarch %{nil}
|
|
|
|
%endif
|
|
|
|
%ifarch x86_64
|
|
|
|
%define valarch amd64
|
|
|
|
%define valsecarch x86
|
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
|
|
|
%define valarch ppc32
|
|
|
|
%define valsecarch ppc64
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64
|
|
|
|
%define valarch ppc64
|
|
|
|
%define valsecarch ppc32
|
|
|
|
%endif
|
2010-11-12 14:24:03 +00:00
|
|
|
%ifarch s390x
|
|
|
|
%define valarch s390x
|
|
|
|
%define valsecarch %{nil}
|
|
|
|
%endif
|
2012-03-05 22:47:05 +00:00
|
|
|
%ifarch armv7hl
|
|
|
|
%define valarch armv7hl
|
|
|
|
%define valsecarch %{nil}
|
|
|
|
%endif
|
|
|
|
%ifarch armv5tel
|
|
|
|
%define valarch armv5tel
|
|
|
|
%define valsecarch %{nil}
|
|
|
|
%endif
|
2004-09-09 13:55:15 +00:00
|
|
|
|
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 || :
|
|
|
|
|
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.
|
|
|
|
|
2008-03-03 12:58:38 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for valgrind
|
|
|
|
Group: Development/Debuggers
|
2012-09-20 09:31:41 +00:00
|
|
|
Requires: %{?scl_prefix}valgrind = %{epoch}:%{version}-%{release}
|
2008-03-03 12:58:38 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Header files and libraries for development of valgrind aware programs
|
|
|
|
or valgrind plugins.
|
|
|
|
|
2010-04-12 13:17:41 +00:00
|
|
|
%package openmpi
|
|
|
|
Summary: OpenMPI support for valgrind
|
|
|
|
Group: Development/Debuggers
|
2012-09-20 09:31:41 +00:00
|
|
|
Requires: %{?scl_prefix}valgrind = %{epoch}:%{version}-%{release}
|
2010-04-12 13:17:41 +00:00
|
|
|
|
|
|
|
%description openmpi
|
|
|
|
A wrapper library for debugging OpenMPI parallel programs with valgrind.
|
2012-09-20 09:31:41 +00:00
|
|
|
See file:///usr/share/doc/%{?scl_prefix}valgrind-%{version}/html/mc-manual.html#mc-manual.mpiwrap
|
2010-04-12 13:17:41 +00:00
|
|
|
for details.
|
|
|
|
|
2004-09-09 13:55:15 +00:00
|
|
|
%prep
|
2012-09-20 09:31:41 +00:00
|
|
|
%setup -q %{?scl:-n %{pkg_name}-%{version}}
|
2012-09-20 14:48:45 +00:00
|
|
|
|
2004-09-09 13:55:26 +00:00
|
|
|
%patch1 -p1
|
2006-09-26 21:15:53 +00:00
|
|
|
%patch2 -p1
|
2009-07-13 11:41:40 +00:00
|
|
|
%patch3 -p1
|
2010-04-07 14:39:29 +00:00
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
2012-09-20 14:48:45 +00:00
|
|
|
%patch8 -p1
|
2010-04-07 14:39:29 +00:00
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
2012-08-10 10:27:57 +00:00
|
|
|
%patch11 -p1
|
2012-08-19 13:37:33 +00:00
|
|
|
%patch12 -p1
|
2012-08-27 09:38:22 +00:00
|
|
|
%patch13 -p1
|
2012-09-21 10:10:47 +00:00
|
|
|
%patch14 -p1
|
2012-09-23 20:07:37 +00:00
|
|
|
%patch15 -p1
|
2012-09-25 07:39:05 +00:00
|
|
|
%patch16 -p1
|
2012-09-25 07:46:21 +00:00
|
|
|
%patch17 -p1
|
|
|
|
chmod 755 memcheck/tests/filter_memcpy
|
2012-10-02 15:01:43 +00:00
|
|
|
%patch18 -p1
|
2012-10-03 17:34:55 +00:00
|
|
|
%patch19 -p1
|
2012-10-04 20:46:29 +00:00
|
|
|
%patch20 -p1
|
2004-09-09 13:55:15 +00:00
|
|
|
|
2012-09-20 14:48:45 +00:00
|
|
|
# Add support for AVX2, BMI1, BMI2 and FMA instructions
|
|
|
|
%patch21 -p1
|
2012-09-13 09:43:49 +00:00
|
|
|
touch ./none/tests/amd64/avx2-1.stderr.exp
|
|
|
|
touch ./none/tests/amd64/fma.stderr.exp
|
|
|
|
touch ./none/tests/amd64/bmi.stderr.exp
|
2012-09-20 14:48:45 +00:00
|
|
|
%patch22 -p1
|
|
|
|
%patch23 -p1
|
|
|
|
%patch24 -p1
|
2012-09-19 19:05:41 +00:00
|
|
|
|
2012-10-13 14:22:14 +00:00
|
|
|
%patch25 -p1
|
2012-10-13 20:38:31 +00:00
|
|
|
%patch26 -p1
|
2012-10-14 19:57:16 +00:00
|
|
|
%patch27 -p1
|
2012-10-15 12:17:58 +00:00
|
|
|
%ifarch s390x
|
|
|
|
%patch28 -p1
|
|
|
|
%endif
|
2012-10-13 14:22:14 +00:00
|
|
|
|
2012-10-13 22:09:45 +00:00
|
|
|
# To suppress eventual automake warnings/errors
|
|
|
|
rm -f gdbserver_tests/filter_gdb.orig
|
|
|
|
|
2004-09-09 13:55:15 +00:00
|
|
|
%build
|
2012-09-20 09:31:41 +00:00
|
|
|
# We need to use the software collection compiler and binutils if available.
|
|
|
|
# The configure checks might otherwise miss support for various newer
|
|
|
|
# assembler instructions.
|
|
|
|
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
|
|
|
|
|
2010-11-12 14:24:03 +00:00
|
|
|
CC=gcc
|
2006-06-15 15:09:25 +00:00
|
|
|
%ifarch x86_64 ppc64
|
2006-01-10 10:36:37 +00:00
|
|
|
# Ugly hack - libgcc 32-bit package might not be installed
|
|
|
|
mkdir -p libgcc/32
|
2010-04-07 14:39:29 +00:00
|
|
|
ar r libgcc/32/libgcc_s.a
|
|
|
|
ar r libgcc/libgcc_s_32.a
|
2010-11-12 14:24:03 +00:00
|
|
|
CC="gcc -B `pwd`/libgcc/"
|
2006-01-10 10:36:37 +00:00
|
|
|
%endif
|
2012-09-20 09:31:41 +00:00
|
|
|
|
|
|
|
# Old openmpi-devel has version depended paths for mpicc.
|
|
|
|
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
|
|
|
|
%define mpiccpath %{!?scl:%{_libdir}}%{?scl:%{_root_libdir}}/openmpi/bin/mpicc
|
|
|
|
%else
|
|
|
|
%define mpiccpath %{!?scl:%{_libdir}}%{?scl:%{_root_libdir}}/openmpi/*/bin/mpicc
|
|
|
|
%endif
|
|
|
|
|
2012-08-10 09:55:34 +00:00
|
|
|
# Filter out some flags that cause lots of valgrind test failures.
|
|
|
|
# Also filter away -O2, valgrind adds it wherever suitable, but
|
|
|
|
# not for tests which should be -O0, as they aren't meant to be
|
|
|
|
# compiled with -O2 unless explicitely requested.
|
|
|
|
OPTFLAGS="`echo " %{optflags} " | sed 's/ -m\(64\|3[21]\) / /g;s/ -fexceptions / /g;s/ -fstack-protector / / g;s/ -Wp,-D_FORTIFY_SOURCE=2 / /g;s/ -O2 / /g;s/^ //;s/ $//'`"
|
2012-08-10 08:58:07 +00:00
|
|
|
%configure CC="$CC" CFLAGS="$OPTFLAGS" CXXFLAGS="$OPTFLAGS" \
|
2012-03-05 22:47:05 +00:00
|
|
|
%ifarch %{ix86} x86_64 ppc ppc64
|
2012-09-20 09:31:41 +00:00
|
|
|
--with-mpicc=%{mpiccpath} \
|
2010-11-12 14:24:03 +00:00
|
|
|
%endif
|
2012-08-07 13:51:10 +00:00
|
|
|
GDB=%{_bindir}/gdb
|
2005-08-12 14:43:08 +00:00
|
|
|
|
2004-10-05 08:57:51 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 13:55:26 +00:00
|
|
|
|
2004-09-09 13:55:37 +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
|
|
|
|
|
2009-08-21 14:48:26 +00:00
|
|
|
# XXX pth_cancel2 hangs on x86_64
|
|
|
|
echo 'int main (void) { return 0; }' > none/tests/pth_cancel2.c
|
|
|
|
|
2004-09-09 13:55:15 +00:00
|
|
|
%install
|
2012-09-20 09:31:41 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2004-09-09 13:55:47 +00:00
|
|
|
mkdir docs.installed
|
|
|
|
mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
|
2005-08-12 14:43:08 +00:00
|
|
|
rm -f docs.installed/*.ps
|
2004-09-09 13:55:15 +00:00
|
|
|
|
2008-03-03 12:58:38 +00:00
|
|
|
%if "%{valsecarch}" != ""
|
2009-08-21 14:48:26 +00:00
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/valgrind/
|
|
|
|
rm -f *-%{valsecarch}-* || :
|
|
|
|
for i in *-%{valarch}-*; do
|
|
|
|
j=`echo $i | sed 's/-%{valarch}-/-%{valsecarch}-/'`
|
2007-08-03 15:24:35 +00:00
|
|
|
%ifarch ppc
|
2009-08-21 14:48:26 +00:00
|
|
|
ln -sf ../../lib64/valgrind/$j $j
|
2008-03-03 12:58:38 +00:00
|
|
|
%else
|
2009-08-21 14:48:26 +00:00
|
|
|
ln -sf ../../lib/valgrind/$j $j
|
2008-03-03 12:58:38 +00:00
|
|
|
%endif
|
2009-08-21 14:48:26 +00:00
|
|
|
done
|
|
|
|
popd
|
2007-08-03 15:24:35 +00:00
|
|
|
%endif
|
|
|
|
|
2009-02-10 16:51:53 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/valgrind/*.supp.in
|
|
|
|
|
2012-08-15 14:51:39 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
# To avoid multilib clashes in between i?86 and x86_64,
|
|
|
|
# tweak installed <valgrind/config.h> a little bit.
|
|
|
|
for i in HAVE_PTHREAD_CREATE_GLIBC_2_0 \
|
2012-08-15 16:34:24 +00:00
|
|
|
%if 0%{?rhel} == 5
|
2012-08-15 14:51:39 +00:00
|
|
|
HAVE_BUILTIN_ATOMIC HAVE_BUILTIN_ATOMIC_CXX \
|
|
|
|
%endif
|
|
|
|
; do
|
|
|
|
sed -i -e 's,^\(#define '$i' 1\|/\* #undef '$i' \*/\)$,#ifdef __x86_64__\n# define '$i' 1\n#endif,' \
|
|
|
|
$RPM_BUILD_ROOT%{_includedir}/valgrind/config.h
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2011-06-08 16:32:00 +00:00
|
|
|
%check
|
2012-09-20 09:31:41 +00:00
|
|
|
# Build the test files with the software collection compiler if available.
|
|
|
|
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
|
2011-06-08 16:32:00 +00:00
|
|
|
make %{?_smp_mflags} check || :
|
|
|
|
echo ===============TESTING===================
|
|
|
|
./close_fds make regtest || :
|
2012-10-13 22:09:45 +00:00
|
|
|
# Make sure test failures show up in build.log
|
|
|
|
# Gather up the diffs (at most the first 20 lines for each one)
|
|
|
|
MAX_LINES=20
|
|
|
|
diff_files=`find . -name '*.diff' | sort`
|
|
|
|
if [ z"$diff_files" = z ] ; then
|
|
|
|
echo "Congratulations, all tests passed!" >> diffs
|
|
|
|
else
|
|
|
|
for i in $diff_files ; do
|
|
|
|
echo "=================================================" >> diffs
|
|
|
|
echo $i >> diffs
|
|
|
|
echo "=================================================" >> diffs
|
|
|
|
if [ `wc -l < $i` -le $MAX_LINES ] ; then
|
|
|
|
cat $i >> diffs
|
|
|
|
else
|
|
|
|
head -n $MAX_LINES $i >> diffs
|
|
|
|
echo "<truncated beyond $MAX_LINES lines>" >> diffs
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
cat diffs
|
2011-06-08 16:32:00 +00:00
|
|
|
echo ===============END TESTING===============
|
|
|
|
|
2004-09-09 13:55:15 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-08-21 14:48:26 +00:00
|
|
|
%doc COPYING NEWS README_*
|
2005-08-12 14:43:08 +00:00
|
|
|
%doc docs.installed/html docs.installed/*.pdf
|
2004-09-09 13:55:15 +00:00
|
|
|
%{_bindir}/*
|
2008-03-03 12:58:38 +00:00
|
|
|
%dir %{_libdir}/valgrind
|
2010-04-12 13:17:41 +00:00
|
|
|
%{_libdir}/valgrind/*[^ao]
|
|
|
|
%{_libdir}/valgrind/[^l]*o
|
2009-08-21 14:48:26 +00:00
|
|
|
%{_mandir}/man1/*
|
2008-03-03 12:58:38 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 13:55:26 +00:00
|
|
|
%{_includedir}/valgrind
|
2008-03-03 12:58:38 +00:00
|
|
|
%dir %{_libdir}/valgrind
|
2009-08-21 14:48:26 +00:00
|
|
|
%{_libdir}/valgrind/*.a
|
2004-09-09 13:55:26 +00:00
|
|
|
%{_libdir}/pkgconfig/*
|
2004-09-09 13:55:15 +00:00
|
|
|
|
2012-03-05 22:47:05 +00:00
|
|
|
%ifarch %{ix86} x86_64 ppc ppc64
|
2010-04-12 13:17:41 +00:00
|
|
|
%files openmpi
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/valgrind
|
|
|
|
%{_libdir}/valgrind/libmpiwrap*.so
|
2010-11-12 14:24:03 +00:00
|
|
|
%endif
|
2010-04-12 13:17:41 +00:00
|
|
|
|
2004-09-09 13:55:15 +00:00
|
|
|
%changelog
|
2012-10-15 12:29:28 +00:00
|
|
|
* Mon Oct 15 2012 Mark Wielaard <mjw@redhat.com> 3.8.1-3
|
2012-09-23 20:07:37 +00:00
|
|
|
- Add valgrind-3.8.1-x86_amd64_features-avx.patch (KDE#307285)
|
2012-09-25 07:39:05 +00:00
|
|
|
- Add valgrind-3.8.1-gdbserver_tests-syscall-template-source.patch (KDE#307155)
|
2012-09-25 07:46:21 +00:00
|
|
|
- Add valgrind-3.8.1-overlap_memcpy_filter.patch (KDE#307290)
|
2012-10-02 15:01:43 +00:00
|
|
|
- Add valgrind-3.8.1-pkg-config.patch (#827219, KDE#307729)
|
2012-10-03 17:34:55 +00:00
|
|
|
- Add valgrind-3.8.1-proc-auxv.patch (KDE#253519)
|
2012-10-04 20:46:29 +00:00
|
|
|
- Add valgrind-3.8.1-wcs.patch (#755242, KDE#307828)
|
2012-10-13 14:22:14 +00:00
|
|
|
- Add valgrind-3.8.1-filter_gdb.patch (KDE#308321)
|
2012-10-13 20:38:31 +00:00
|
|
|
- Add valgrind-3.8.1-gdbserver_exit.patch (#862795, KDE#308341)
|
2012-10-14 19:57:16 +00:00
|
|
|
- Add valgrind-3.8.1-aspacemgr_VG_N_SEGs.patch (#730303, KDE#164485)
|
2012-10-15 12:17:58 +00:00
|
|
|
- Add valgrind-3.8.1-s390_tsearch_supp.patch (#816244, KDE#308427)
|
2012-09-23 20:07:37 +00:00
|
|
|
|
2012-09-21 13:01:12 +00:00
|
|
|
* Fri Sep 20 2012 Mark Wielaard <mjw@redhat.com> 3.8.1-2
|
2012-09-21 10:10:47 +00:00
|
|
|
- Add valgrind-3.8.1-gdbserver_tests-mcinvoke-ppc64.patch
|
2012-09-21 10:12:32 +00:00
|
|
|
- Replace valgrind-3.8.1-cfi_dw_ops.patch with version as committed upstream.
|
2012-09-21 11:02:36 +00:00
|
|
|
- Remove erroneous printf change from valgrind-3.8.1-abbrev-parsing.patch.
|
2012-09-21 12:16:03 +00:00
|
|
|
- Add scalar testcase change to valgrind-3.8.1-capget.patch.
|
2012-09-21 10:10:47 +00:00
|
|
|
|
2012-09-20 14:48:45 +00:00
|
|
|
* Thu Sep 20 2012 Mark Wielaard <mjw@redhat.com> 3.8.1-1
|
2012-09-14 14:44:02 +00:00
|
|
|
- Add partial backport of upstream revision 12884
|
|
|
|
valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
|
|
|
|
without it AVX2 VPBROADCASTB insn is broken under memcheck.
|
2012-09-19 13:32:16 +00:00
|
|
|
- Add valgrind-3.8.0-cfi_dw_ops.patch (KDE#307038)
|
|
|
|
DWARF2 CFI reader: unhandled DW_OP_ opcode 0x8 (DW_OP_const1u and friends)
|
2012-09-19 19:05:41 +00:00
|
|
|
- Add valgrind-3.8.0-avx2-prereq.patch.
|
2012-09-20 08:43:50 +00:00
|
|
|
- Remove accidentially included diffs for gdbserver_tests and helgrind/tests
|
|
|
|
Makefile.in from valgrind-3.8.0-avx2-bmi-fma.patch.gz
|
2012-09-20 11:31:55 +00:00
|
|
|
- Remove valgrind-3.8.0-tests.patch tests no longer hang.
|
2012-09-20 09:31:41 +00:00
|
|
|
- Added SCL macros to support building as part of a Software Collection.
|
2012-09-20 14:48:45 +00:00
|
|
|
- Upgrade to valgrind 3.8.1.
|
2012-09-14 14:44:02 +00:00
|
|
|
|
2012-09-13 17:27:23 +00:00
|
|
|
* Wed Sep 12 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-8
|
|
|
|
- Add configure fixup valgrind-3.8.0-bmi-conf-check.patch
|
|
|
|
|
2012-09-13 09:43:49 +00:00
|
|
|
* Wed Sep 12 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-7
|
|
|
|
- Add valgrind-3.8.0-avx2-bmi-fma.patch (KDE#305728)
|
|
|
|
|
2012-09-11 09:47:31 +00:00
|
|
|
* Tue Sep 11 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-6
|
2012-09-11 09:23:49 +00:00
|
|
|
- Add valgrind-3.8.0-lzcnt-tzcnt-bugfix.patch (KDE#295808)
|
2012-09-11 09:37:39 +00:00
|
|
|
- Add valgrind-3.8.0-avx-alignment-check.patch (KDE#305926)
|
2012-09-11 09:23:49 +00:00
|
|
|
|
2012-08-27 09:38:22 +00:00
|
|
|
* Mon Aug 27 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-5
|
|
|
|
- Add valgrind-3.8.0-abbrev-parsing.patch for #849783 (KDE#305513).
|
|
|
|
|
2012-08-19 13:37:33 +00:00
|
|
|
* Sun Aug 19 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-4
|
|
|
|
- Add valgrind-3.8.0-find-buildid.patch workaround bug #849435 (KDE#305431).
|
|
|
|
|
2012-08-15 16:34:24 +00:00
|
|
|
* Wed Aug 15 2012 Jakub Jelinek <jakub@redhat.com> 3.8.0-3
|
|
|
|
- fix up last change
|
|
|
|
|
2012-08-15 14:51:39 +00:00
|
|
|
* Wed Aug 15 2012 Jakub Jelinek <jakub@redhat.com> 3.8.0-2
|
|
|
|
- tweak up <valgrind/config.h> to allow simultaneous installation
|
|
|
|
of valgrind-devel.{i686,x86_64} (#848146)
|
|
|
|
|
2012-08-10 08:20:52 +00:00
|
|
|
* Fri Aug 10 2012 Jakub Jelinek <jakub@redhat.com> 3.8.0-1
|
|
|
|
- update to 3.8.0 release
|
|
|
|
- from CFLAGS/CXXFLAGS filter just fortification flags, not arch
|
|
|
|
specific flags
|
2012-08-10 10:27:57 +00:00
|
|
|
- on i?86 prefer to use CFI over %ebp unwinding, as GCC 4.6+
|
|
|
|
defaults to -fomit-frame-pointer
|
2012-08-10 08:20:52 +00:00
|
|
|
|
2012-08-07 22:24:14 +00:00
|
|
|
* Tue Aug 07 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-0.1.TEST1.svn12858
|
|
|
|
- Update to 3.8.0-TEST1
|
|
|
|
- Clear CFLAGS CXXFLAGS LDFLAGS.
|
|
|
|
- Fix \ line continuation in configure line.
|
|
|
|
|
2012-08-03 20:43:04 +00:00
|
|
|
* Fri Aug 03 2012 Mark Wielaard <mjw@redhat.com> 3.7.0-7
|
|
|
|
- Fixup shadowing warnings valgrind-3.7.0-dwz.patch
|
|
|
|
- Add valgrind-3.7.0-ref_addr.patch (#842659, KDE#298864)
|
|
|
|
|
2012-07-25 11:17:49 +00:00
|
|
|
* Mon Jul 25 2012 Mark Wielaard <mjw@redhat.com> 3.7.0-6
|
|
|
|
- handle dwz DWARF compressor output (#842659, KDE#302901)
|
2012-07-25 13:48:47 +00:00
|
|
|
- allow glibc 2.16.
|
2012-07-25 11:17:49 +00:00
|
|
|
|
2012-07-22 02:23:49 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.7.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-07 11:59:51 +00:00
|
|
|
* Mon May 7 2012 Jakub Jelinek <jakub@redhat.com> 3.7.0-4
|
2012-05-07 09:07:32 +00:00
|
|
|
- adjust suppressions so that it works even with ld-2.15.so (#806854)
|
2012-05-07 09:35:28 +00:00
|
|
|
- handle DW_TAG_unspecified_type and DW_TAG_rvalue_reference_type
|
|
|
|
(#810284, KDE#278313)
|
2012-05-07 09:07:32 +00:00
|
|
|
- handle .debug_types sections (#810286, KDE#284124)
|
|
|
|
|
|
|
|
* Sun Mar 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> 3.7.0-2
|
2012-03-05 22:47:05 +00:00
|
|
|
- Fix building on ARM platform
|
|
|
|
|
2012-01-27 16:56:53 +00:00
|
|
|
* Fri Jan 27 2012 Jakub Jelinek <jakub@redhat.com> 3.7.0-1
|
|
|
|
- update to 3.7.0 (#769213, #782910, #772343)
|
|
|
|
- handle some further SCSI ioctls (#783936)
|
|
|
|
- handle fcntl F_SETOWN_EX and F_GETOWN_EX (#770746)
|
2012-01-14 07:44:23 +00:00
|
|
|
|
2011-08-17 15:15:53 +00:00
|
|
|
* Wed Aug 17 2011 Adam Jackson <ajax@redhat.com> 3.6.1-6
|
|
|
|
- rebuild for rpm 4.9.1 trailing / bug
|
|
|
|
|
2011-07-21 16:36:16 +00:00
|
|
|
* Thu Jul 21 2011 Jakub Jelinek <jakub@redhat.com> 3.6.1-5
|
|
|
|
- handle PLT unwind info (#723790, KDE#277045)
|
|
|
|
|
2011-06-13 15:47:30 +00:00
|
|
|
* Mon Jun 13 2011 Jakub Jelinek <jakub@redhat.com> 3.6.1-4
|
|
|
|
- fix memcpy/memmove redirection on x86_64 (#705790)
|
|
|
|
|
2011-06-08 17:14:11 +00:00
|
|
|
* Wed Jun 8 2011 Jakub Jelinek <jakub@redhat.com> 3.6.1-3
|
|
|
|
- fix testing against glibc 2.14
|
|
|
|
|
2011-06-08 16:32:00 +00:00
|
|
|
* Wed Jun 8 2011 Jakub Jelinek <jakub@redhat.com> 3.6.1-2
|
|
|
|
- fix build on ppc64 (#711608)
|
|
|
|
- don't fail if s390x support patch hasn't been applied,
|
|
|
|
move testing into %%check (#708522)
|
|
|
|
- rebuilt against glibc 2.14
|
|
|
|
|
2011-02-23 11:20:36 +00:00
|
|
|
* Wed Feb 23 2011 Jakub Jelinek <jakub@redhat.com> 3.6.1-1
|
|
|
|
- update to 3.6.1
|
|
|
|
|
2011-02-08 00:53:37 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.6.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-28 12:42:00 +00:00
|
|
|
* Fri Jan 28 2011 Jakub Jelinek <jakub@redhat.com> 3.6.0-2
|
|
|
|
- rebuilt against glibc 2.13 (#673046)
|
|
|
|
- hook in pwrite64 syscall on ppc64 (#672858)
|
|
|
|
- fix PIE handling on ppc/ppc64 (#665289)
|
|
|
|
|
2010-11-12 14:24:03 +00:00
|
|
|
* Fri Nov 12 2010 Jakub Jelinek <jakub@redhat.com> 3.6.0-1
|
|
|
|
- update to 3.6.0
|
|
|
|
- add s390x support (#632354)
|
|
|
|
- provide a replacement for str{,n}casecmp{,_l} (#626470)
|
|
|
|
|
2010-06-14 14:40:25 +00:00
|
|
|
* Tue May 18 2010 Jakub Jelinek <jakub@redhat.com> 3.5.0-18
|
|
|
|
- rebuilt against glibc 2.12
|
|
|
|
|
2010-04-12 13:17:41 +00:00
|
|
|
* Mon Apr 12 2010 Jakub Jelinek <jakub@redhat.com> 3.5.0-16
|
|
|
|
- change pub_tool_basics.h not to include config.h (#579283)
|
|
|
|
- add valgrind-openmpi package for OpenMPI support (#565541)
|
|
|
|
- allow NULL second argument to capget (#450976)
|
|
|
|
|
2010-04-07 14:39:29 +00:00
|
|
|
* Wed Apr 7 2010 Jakub Jelinek <jakub@redhat.com> 3.5.0-15
|
|
|
|
- handle i686 nopw insns with more than one data16 prefix (#574889)
|
|
|
|
- DWARF4 support
|
|
|
|
- handle getcpu and splice syscalls
|
|
|
|
|
|
|
|
* Wed Jan 20 2010 Jakub Jelinek <jakub@redhat.com> 3.5.0-14
|
|
|
|
- fix build against latest glibc headers
|
|
|
|
|
|
|
|
* Wed Jan 20 2010 Jakub Jelinek <jakub@redhat.com> 3.5.0-13
|
|
|
|
- DW_OP_mod is unsigned modulus instead of signed
|
|
|
|
- fix up valgrind.pc (#551277)
|
|
|
|
|
|
|
|
* Mon Dec 21 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-12
|
|
|
|
- don't require offset field to be set in adjtimex's
|
|
|
|
ADJ_OFFSET_SS_READ mode (#545866)
|
|
|
|
|
|
|
|
* Wed Dec 2 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-10
|
|
|
|
- add handling of a bunch of recent syscalls and fix some
|
|
|
|
other syscall wrappers (Dodji Seketeli)
|
|
|
|
- handle prelink created split of .bss into .dynbss and .bss
|
|
|
|
and similarly for .sbss and .sdynbss (#539874)
|
|
|
|
|
|
|
|
* Wed Nov 4 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-9
|
|
|
|
- rebuilt against glibc 2.11
|
|
|
|
- use upstream version of the ifunc support
|
|
|
|
|
|
|
|
* Wed Oct 28 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-8
|
|
|
|
- add preadv/pwritev syscall support
|
|
|
|
|
|
|
|
* Tue Oct 27 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-7
|
|
|
|
- add perf_counter_open syscall support (#531271)
|
|
|
|
- add handling of some sbb/adc insn forms on x86_64 (KDE#211410)
|
|
|
|
|
|
|
|
* Fri Oct 23 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-6
|
|
|
|
- ppc and ppc64 fixes
|
|
|
|
|
|
|
|
* Thu Oct 22 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-5
|
|
|
|
- add emulation of 0x67 prefixed loop* insns on x86_64 (#530165)
|
|
|
|
|
|
|
|
* Wed Oct 21 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-4
|
|
|
|
- handle reading of .debug_frame in addition to .eh_frame
|
|
|
|
- ignore unknown DWARF3 expressions in evaluate_trivial_GX
|
|
|
|
- suppress helgrind race errors in helgrind's own mythread_wrapper
|
|
|
|
- fix compilation of x86 tests on x86_64 and ppc tests
|
|
|
|
|
|
|
|
* Wed Oct 14 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-3
|
|
|
|
- handle many more DW_OP_* ops that GCC now uses
|
|
|
|
- handle the more compact form of DW_AT_data_member_location
|
|
|
|
- don't strip .debug_loc etc. from valgrind binaries
|
|
|
|
|
|
|
|
* Mon Oct 12 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-2
|
|
|
|
- add STT_GNU_IFUNC support (Dodji Seketeli, #518247)
|
|
|
|
- wrap inotify_init1 syscall (Dodji Seketeli, #527198)
|
|
|
|
- fix mmap/mprotect handling in memcheck (KDE#210268)
|
|
|
|
|
2009-08-21 14:48:26 +00:00
|
|
|
* Fri Aug 21 2009 Jakub Jelinek <jakub@redhat.com> 3.5.0-1
|
|
|
|
- update to 3.5.0
|
|
|
|
|
2009-07-28 10:47:08 +00:00
|
|
|
* Tue Jul 28 2009 Jakub Jelinek <jakub@redhat.com> 3.4.1-7
|
|
|
|
- handle futex ops newly added during last 4 years (#512121)
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 3.4.1-6
|
2009-07-27 06:43:06 +00:00
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-13 14:17:46 +00:00
|
|
|
* Mon Jul 13 2009 Jakub Jelinek <jakub@redhat.com> 3.4.1-5
|
|
|
|
- add support for DW_CFA_{remember,restore}_state
|
|
|
|
|
2009-07-13 11:41:40 +00:00
|
|
|
* Mon Jul 13 2009 Jakub Jelinek <jakub@redhat.com> 3.4.1-4
|
|
|
|
- handle version 3 .debug_frame, .eh_frame, .debug_info and
|
|
|
|
.debug_line (#509197)
|
|
|
|
|
|
|
|
* Mon May 11 2009 Jakub Jelinek <jakub@redhat.com> 3.4.1-3
|
|
|
|
- rebuilt against glibc 2.10.1
|
|
|
|
|
|
|
|
* Wed Apr 22 2009 Jakub Jelinek <jakub@redhat.com> 3.4.1-2
|
|
|
|
- redirect x86_64 ld.so strlen early (#495645)
|
|
|
|
|
2009-03-09 12:50:44 +00:00
|
|
|
* Mon Mar 9 2009 Jakub Jelinek <jakub@redhat.com> 3.4.1-1
|
|
|
|
- update to 3.4.1
|
2009-02-25 23:44:24 +00:00
|
|
|
|
2009-02-10 16:51:53 +00:00
|
|
|
* Tue Feb 9 2009 Jakub Jelinek <jakub@redhat.com> 3.4.0-3
|
2009-02-07 11:51:28 +00:00
|
|
|
- update to 3.4.0
|
|
|
|
|
2008-04-16 15:03:58 +00:00
|
|
|
* Wed Apr 16 2008 Jakub Jelinek <jakub@redhat.com> 3.3.0-3
|
|
|
|
- add suppressions for glibc 2.8
|
|
|
|
- add a bunch of syscall wrappers (#441709)
|
|
|
|
|
2008-03-03 22:55:13 +00:00
|
|
|
* Mon Mar 3 2008 Jakub Jelinek <jakub@redhat.com> 3.3.0-2
|
|
|
|
- add _dl_start suppression for ppc/ppc64
|
|
|
|
|
2008-03-03 12:58:38 +00:00
|
|
|
* Mon Mar 3 2008 Jakub Jelinek <jakub@redhat.com> 3.3.0-1
|
|
|
|
- update to 3.3.0
|
|
|
|
- split off devel bits into valgrind-devel subpackage
|
2008-02-19 05:43:22 +00:00
|
|
|
|
2007-10-18 00:56:34 +00:00
|
|
|
* Thu Oct 18 2007 Jakub Jelinek <jakub@redhat.com> 3.2.3-7
|
|
|
|
- add suppressions for glibc >= 2.7
|
|
|
|
|
2007-08-31 08:18:44 +00:00
|
|
|
* Fri Aug 31 2007 Jakub Jelinek <jakub@redhat.com> 3.2.3-6
|
|
|
|
- handle new x86_64 nops (#256801, KDE#148447)
|
|
|
|
- add support for private futexes (KDE#146781)
|
|
|
|
- update License tag
|
|
|
|
|
2007-08-03 15:24:35 +00:00
|
|
|
* Fri Aug 3 2007 Jakub Jelinek <jakub@redhat.com> 3.2.3-5
|
|
|
|
- add ppc64-linux symlink in valgrind ppc.rpm, so that when
|
|
|
|
rpm prefers 32-bit binaries over 64-bit ones 32-bit
|
|
|
|
/usr/bin/valgrind can find 64-bit valgrind helper binaries
|
|
|
|
(#249773)
|
|
|
|
- power5+ and power6 support (#240762)
|
|
|
|
|
2007-06-28 10:21:19 +00:00
|
|
|
* Thu Jun 28 2007 Jakub Jelinek <jakub@redhat.com> 3.2.3-4
|
|
|
|
- pass GDB=%{_prefix}/gdb to configure to fix default
|
|
|
|
--db-command (#220840)
|
|
|
|
|
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
|
|
|
|
2006-01-10 10:36:37 +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
|
|
|
|
|
2005-09-11 19:44:18 +00:00
|
|
|
* 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
|
|
|
|
|
2005-08-12 14:43:08 +00:00
|
|
|
* 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
|
2004-09-09 13:56:01 +00:00
|
|
|
- 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
|
2004-09-09 13:55:47 +00:00
|
|
|
- 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
|
2004-09-09 13:55:37 +00:00
|
|
|
- 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
|
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
|