3.8.1-12 add valgrind-3.8.1-text-segment.patch KDE#317091

This commit is contained in:
Mark Wielaard 2013-03-20 17:17:01 +01:00
parent 58b00ca4e3
commit 72ae2f30d0
2 changed files with 1054 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
Summary: Tool for finding memory management bugs in programs
Name: %{?scl_prefix}valgrind
Version: 3.8.1
Release: 11%{?dist}
Release: 12%{?dist}
Epoch: 1
License: GPLv2
URL: http://www.valgrind.org/
@ -150,6 +150,9 @@ Patch36: valgrind-3.8.1-static-variables.patch
# KDE#316144, KDE#315959, KDE#316145 - various manpage fixes
Patch37: valgrind-3.8.1-manpages.patch
# KDE#317091 Use -Wl,-Ttext-segment when static linking to keep build-ids
Patch38: valgrind-3.8.1-text-segment.patch
%ifarch x86_64 ppc64
# 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
@ -204,11 +207,6 @@ ExclusiveArch: %{ix86} x86_64 ppc ppc64 s390x %{arm}
%define valsecarch %{nil}
%endif
# Don't barf on mising build-ids when creating the -debuginfo package.
# See coregrind/link_tool_exe_linux.in, which links the tool executables
# statically and at an alternative load address.
%undefine _missing_build_ids_terminate_build
%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
@ -287,6 +285,7 @@ touch ./none/tests/amd64/bmi.stderr.exp
touch ./memcheck/tests/linux/getregset.stderr.exp
%patch36 -p1
%patch37 -p1
%patch38 -p1
# To suppress eventual automake warnings/errors
rm -f gdbserver_tests/filter_gdb.orig
@ -436,6 +435,10 @@ echo ===============END TESTING===============
%endif
%changelog
* Wed Mar 20 2013 Mark Wielaard <mjw@redhat.com> 3.8.1-12
- Add valgrind-3.8.1-text-segment.patch
- Don't undefine _missing_build_ids_terminate_build.
* Tue Mar 12 2013 Mark Wielaard <mjw@redhat.com> 3.8.1-11
- Add valgrind-3.8.1-manpages.patch