2007-01-16 00:40:26 +01:00
|
|
|
#
|
2011-03-16 13:17:26 +01:00
|
|
|
# spec file for package valgrind
|
2007-01-16 00:40:26 +01:00
|
|
|
#
|
2019-01-11 13:31:30 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:40:26 +01:00
|
|
|
#
|
2008-11-07 15:52:12 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-09-28 02:16:34 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:40:26 +01:00
|
|
|
#
|
|
|
|
|
2011-12-29 09:33:12 +01:00
|
|
|
|
2015-04-02 20:28:10 +02:00
|
|
|
# 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)
|
2019-10-18 19:07:26 +02:00
|
|
|
|
|
|
|
%bcond_without docs
|
2018-08-29 20:20:28 +02:00
|
|
|
|
2015-04-02 20:28:10 +02:00
|
|
|
Name: valgrind
|
- update to 3.15.0 (fate#327402):
3.15.0 is a feature release with many improvements and the usual collection of
bug fixes.
This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,
PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,
MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,
X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12. There is also preliminary
support for X86/macOS 10.13 and AMD64/macOS 10.13.
* ==================== CORE CHANGES ===================
* The XTree Massif output format now makes use of the information obtained
when specifying --read-inline-info=yes.
* amd64 (x86_64): the RDRAND and F16C insn set extensions are now supported.
* ==================== TOOL CHANGES ====================
* DHAT:
- DHAT been thoroughly overhauled, improved, and given a GUI. As a result,
it has been promoted from an experimental tool to a regular tool. Run it
with --tool=dhat instead of --tool=exp-dhat.
- DHAT now prints only minimal data when the program ends, instead writing
the bulk of the profiling data to a file. As a result, the --show-top-n
and --sort-by options have been removed.
- Profile results can be viewed with the new viewer, dh_view.html. When
a run ends, a short message is printed, explaining how to view the result.
- See the documentation for more details.
* Cachegrind:
- cg_annotate has a new option, --show-percs, which prints percentages next
to all event counts.
* Callgrind:
- callgrind_annotate has a new option, --show-percs, which prints percentages
next to all event counts.
- callgrind_annotate now inserts commas in call counts, and
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=197
2019-05-08 17:38:55 +02:00
|
|
|
Version: 3.15.0
|
2015-04-02 20:28:10 +02:00
|
|
|
Release: 0
|
2011-12-19 07:55:25 +01:00
|
|
|
Summary: Memory Management Debugger
|
2019-10-18 19:07:26 +02:00
|
|
|
License: GPL-2.0-or-later AND GFDL-1.2-only
|
2007-01-16 00:40:26 +01:00
|
|
|
Group: Development/Tools/Debuggers
|
2015-04-02 20:28:10 +02:00
|
|
|
Url: http://valgrind.org/
|
2017-06-25 13:09:05 +02:00
|
|
|
Source0: ftp://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2
|
2018-11-21 13:11:24 +01:00
|
|
|
# https://bugs.kde.org/show_bug.cgi?id=390553
|
|
|
|
# https://github.com/olafhering/valgrind/compare/olh-base-master...olh-fixes-master
|
2018-02-22 23:48:13 +01:00
|
|
|
Patch0: valgrind.xen.patch
|
2010-01-07 13:04:11 +01:00
|
|
|
Patch1: jit-register-unregister.diff
|
2014-01-03 20:26:35 +01:00
|
|
|
Patch2: armv6-support.diff
|
2019-10-18 19:07:26 +02:00
|
|
|
%if %{with docs}
|
2015-04-02 20:28:10 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2019-10-18 19:07:26 +02:00
|
|
|
BuildRequires: libxslt
|
|
|
|
%endif
|
|
|
|
BuildRequires: automake
|
2018-11-23 10:09:55 +01:00
|
|
|
%if 0%{?suse_version} < 1320
|
2018-11-22 10:38:33 +01:00
|
|
|
BuildRequires: gcc8-c++
|
|
|
|
%else
|
2015-04-02 20:28:10 +02:00
|
|
|
BuildRequires: gcc-c++
|
2018-11-22 10:38:33 +01:00
|
|
|
%endif
|
2015-04-02 20:28:10 +02:00
|
|
|
BuildRequires: pkgconfig
|
2018-11-23 09:55:18 +01:00
|
|
|
BuildRequires: procps
|
2015-04-02 20:28:10 +02:00
|
|
|
Requires: glibc >= %{glibc_main_version}.%{glibc_major_version}
|
|
|
|
Requires: glibc < %{glibc_main_version}.%{lua:print(rpm.expand("%{glibc_major_version}")+1)}
|
|
|
|
Provides: callgrind = %{version}
|
|
|
|
Obsoletes: callgrind < %{version}
|
2014-04-24 10:55:37 +02:00
|
|
|
ExclusiveArch: aarch64 %ix86 x86_64 ppc ppc64 ppc64le s390x armv7l armv7hl armv6l armv6hl
|
2015-04-02 20:28:10 +02:00
|
|
|
%ifarch x86_64 ppc64
|
2019-01-11 15:56:56 +01:00
|
|
|
%if 0%{?suse_version} < 1320
|
|
|
|
BuildRequires: gcc8-c++-32bit
|
|
|
|
%else
|
|
|
|
BuildRequires: gcc-c++-32bit
|
|
|
|
%endif
|
2015-04-02 20:28:10 +02:00
|
|
|
BuildRequires: glibc-devel-32bit
|
|
|
|
%endif
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Valgrind checks all memory operations in an application, like read,
|
|
|
|
write, malloc, new, free, and delete. Valgrind can find uses of
|
|
|
|
uninitialized memory, access to already freed memory, overflows,
|
2010-10-22 10:03:08 +02:00
|
|
|
illegal stack operations, memory leaks, and any illegal
|
2007-01-16 00:40:26 +01:00
|
|
|
new/malloc/free/delete commands. Another program in the package is
|
2010-10-22 10:03:08 +02:00
|
|
|
"cachegrind," a profiler based on the valgrind engine.
|
2007-09-14 16:28:27 +02:00
|
|
|
|
2010-10-22 10:03:08 +02:00
|
|
|
To use valgrind you should compile your application with "-g -O0"
|
|
|
|
compiler options. Afterwards you can use it with:
|
2007-01-16 00:40:26 +01:00
|
|
|
|
2010-10-22 10:03:08 +02:00
|
|
|
valgrind --tool=memcheck --sloppy-malloc=yes --leak-check=yes
|
|
|
|
--db-attach=yes my_application, for example.
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
More valgrind options can be listed via "valgrind --help". There is
|
2015-04-02 20:28:10 +02:00
|
|
|
also complete documentation in the %{_docdir}/valgrind/
|
2007-01-16 00:40:26 +01:00
|
|
|
directory. A debugged application runs slower and needs much more
|
2010-10-22 10:03:08 +02:00
|
|
|
memory, but is usually still usable. Valgrind is still in development,
|
|
|
|
but it has been successfully used to optimize several KDE applications.
|
2007-01-16 00:40:26 +01:00
|
|
|
|
2007-04-06 00:31:09 +02:00
|
|
|
%package devel
|
2019-10-18 19:07:26 +02:00
|
|
|
Summary: Header files for for Valgrind
|
|
|
|
License: GPL-2.0-or-later
|
2012-04-27 11:25:20 +02:00
|
|
|
Group: Development/Tools/Debuggers
|
2015-04-02 20:28:10 +02:00
|
|
|
Requires: %{name} = %{version}
|
2019-10-18 19:07:26 +02:00
|
|
|
Requires: %{name}-client-headers = %{version}
|
2007-04-06 00:31:09 +02:00
|
|
|
|
|
|
|
%description devel
|
2019-10-18 19:07:26 +02:00
|
|
|
This package contains the Valgrind header files.
|
2007-04-06 00:31:09 +02:00
|
|
|
|
2019-10-18 19:07:26 +02:00
|
|
|
%package client-headers
|
|
|
|
Summary: Header files for for Valgrind
|
|
|
|
# The client headers are permissively licensed under a BSD-style
|
|
|
|
# license. SPDX License Request filed.
|
|
|
|
# License: BSD-3-Clause
|
|
|
|
License: GPL-2.0-or-later AND GFDL-1.2-only
|
|
|
|
Group: Development/Tools/Debuggers
|
|
|
|
Provides: valgrind-devel:%{_includedir}/valgrind/valgrind.h
|
2007-04-06 00:31:09 +02:00
|
|
|
|
2019-10-18 19:07:26 +02:00
|
|
|
%description client-headers
|
|
|
|
This package contains the BSD-style licensed Valgrind header
|
|
|
|
files for inclusion into regular programs. The program can
|
|
|
|
detect if it is running under Valgrind and interact with the
|
|
|
|
Valgrind core and plugins.
|
2007-04-06 00:31:09 +02:00
|
|
|
|
2019-01-11 13:31:30 +01:00
|
|
|
%ifarch x86_64 ppc64 s390x
|
|
|
|
%package 32bit
|
|
|
|
Summary: Memory Management Debugger
|
2019-10-18 19:07:26 +02:00
|
|
|
License: GPL-2.0-or-later
|
2019-01-11 13:31:30 +01:00
|
|
|
Group: Development/Tools/Debuggers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: valgrind:%{_libdir}/valgrind/32bit-core.xml
|
|
|
|
|
|
|
|
%description 32bit
|
|
|
|
Valgrind checks all memory operations in an application, like read,
|
|
|
|
write, malloc, new, free, and delete. Valgrind can find uses of
|
|
|
|
uninitialized memory, access to already freed memory, overflows,
|
|
|
|
illegal stack operations, memory leaks, and any illegal
|
|
|
|
new/malloc/free/delete commands. Another program in the package is
|
|
|
|
"cachegrind," a profiler based on the valgrind engine.
|
|
|
|
|
|
|
|
To use valgrind you should compile your application with "-g -O0"
|
|
|
|
compiler options. Afterwards you can use it with:
|
|
|
|
|
|
|
|
valgrind --tool=memcheck --sloppy-malloc=yes --leak-check=yes
|
|
|
|
--db-attach=yes my_application, for example.
|
|
|
|
|
|
|
|
More valgrind options can be listed via "valgrind --help". There is
|
|
|
|
also complete documentation in the %{_docdir}/valgrind/
|
|
|
|
directory. A debugged application runs slower and needs much more
|
|
|
|
memory, but is usually still usable. Valgrind is still in development,
|
|
|
|
but it has been successfully used to optimize several KDE applications.
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
%prep
|
2015-04-02 20:28:10 +02:00
|
|
|
%setup -q
|
2018-02-22 23:48:13 +01:00
|
|
|
%patch0 -p1
|
2016-02-15 21:39:51 +01:00
|
|
|
# needs porting to 3.11
|
|
|
|
##%patch1
|
2014-01-03 20:26:35 +01:00
|
|
|
%patch2
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
%build
|
2019-04-25 14:50:06 +02:00
|
|
|
%define _lto_cflags %{nil}
|
2018-11-23 10:09:55 +01:00
|
|
|
%if 0%{?suse_version} < 1320
|
2018-11-22 10:38:33 +01:00
|
|
|
export CC="%{_bindir}/gcc-8"
|
|
|
|
export CXX="%{_bindir}/g++-8"
|
|
|
|
%endif
|
|
|
|
|
2016-02-15 17:07:18 +01:00
|
|
|
export FLAGS="%{optflags}"
|
2011-10-11 21:13:19 +02:00
|
|
|
%ifarch %arm
|
|
|
|
# Valgrind doesn't support compiling for Thumb yet. Remove when it gets
|
|
|
|
# native thumb support.
|
2016-02-15 17:07:18 +01:00
|
|
|
FLAGS=${FLAGS/-mthumb/-mthumb-interwork -marm}
|
2011-10-11 21:13:19 +02:00
|
|
|
%endif
|
2011-11-09 22:32:50 +01:00
|
|
|
# not a good idea to build valgrind with fortify, as it does not link glibc
|
2016-02-15 17:07:18 +01:00
|
|
|
FLAGS="${FLAGS/-D_FORTIFY_SOURCE=2/}"
|
2016-04-19 18:09:56 +02:00
|
|
|
FLAGS="${FLAGS/-fstack-protector-strong/}"
|
2016-04-20 14:07:42 +02:00
|
|
|
FLAGS="${FLAGS/-fstack-protector/}"
|
2018-08-29 20:20:28 +02:00
|
|
|
# -m64 / -m32 is set explicitly everywhere, do not override it
|
|
|
|
FLAGS="${FLAGS/-m64/}"
|
2016-02-15 17:07:18 +01:00
|
|
|
export CFLAGS="$FLAGS"
|
|
|
|
export CXXFLAGS="$FLAGS"
|
|
|
|
export FFLAGS="$FLAGS"
|
2007-01-16 00:40:26 +01:00
|
|
|
autoreconf -fi
|
2018-08-29 20:20:28 +02:00
|
|
|
|
2015-04-02 20:28:10 +02:00
|
|
|
export GDB=%{_bindir}/gdb
|
2014-04-24 10:55:37 +02:00
|
|
|
%configure \
|
2018-11-21 13:11:24 +01:00
|
|
|
--enable-lto=yes \
|
2014-04-24 10:55:37 +02:00
|
|
|
%ifarch aarch64
|
2019-02-11 12:42:26 +01:00
|
|
|
--enable-only64bit \
|
2014-04-24 10:55:37 +02:00
|
|
|
%endif
|
2019-02-11 12:42:26 +01:00
|
|
|
%{nil}
|
2014-04-24 10:55:37 +02:00
|
|
|
|
2015-04-02 20:28:10 +02:00
|
|
|
make %{?_smp_mflags}
|
2019-10-18 19:07:26 +02:00
|
|
|
%if %{with docs}
|
- update to 3.6.0 snapshot:
- Valgrind runs much faster when the --smc-check=all option is given.
- Cachegrind has a new processing script, cg_diff, which finds the
difference between two profiles. It's very useful for evaluating the
performance effects of a change in a program.
Related to this change, the meaning of cg_annotate's (rarely-used)
--threshold option has changed; this is unlikely to affect many people, if
you do use it please see the user manual for details.
- Callgrind now can do branch prediction simulation, similar to Cachegrind.
In addition, it optionally can count the number of executed global bus events.
Both can be used for a better approximation of a "Cycle Estimation" as
derived event (you need to update the event formula in KCachegrind yourself).
- Cachegrind and Callgrind now refer to the LL (last-level) cache rather
than the L2 cache. This is to accommodate machines with three levels of
caches -- if Cachegrind/Callgrind auto-detects the cache configuration of
such a machine it will run the simulation as if the L2 cache isn't
present. This means the results are less likely to match the true result
for the machine, but Cachegrind/Callgrind's results are already only
approximate, and should not be considered authoritative. The results are
still useful for giving a general idea about a program's locality.
- Massif has a new option, --pages-as-heap, which is disabled by default.
When enabled, instead of tracking allocations at the level of heap blocks
(as allocated with malloc/new/new[]), it instead tracks memory allocations
at the level of memory pages (as mapped by mmap, brk, etc). Each mapped
page is treated as its own block. Interpreting the page-level output is
harder than the heap-level output, but this option is useful if you want
to account for every byte of memory used by a program.
- Added new memcheck command-line option --show-possibly-lost.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=17
2010-10-13 13:43:20 +02:00
|
|
|
pushd docs
|
|
|
|
#make all-docs
|
2010-10-22 10:03:08 +02:00
|
|
|
# building the docs needs network access at the moment :-(
|
- update to 3.6.0 snapshot:
- Valgrind runs much faster when the --smc-check=all option is given.
- Cachegrind has a new processing script, cg_diff, which finds the
difference between two profiles. It's very useful for evaluating the
performance effects of a change in a program.
Related to this change, the meaning of cg_annotate's (rarely-used)
--threshold option has changed; this is unlikely to affect many people, if
you do use it please see the user manual for details.
- Callgrind now can do branch prediction simulation, similar to Cachegrind.
In addition, it optionally can count the number of executed global bus events.
Both can be used for a better approximation of a "Cycle Estimation" as
derived event (you need to update the event formula in KCachegrind yourself).
- Cachegrind and Callgrind now refer to the LL (last-level) cache rather
than the L2 cache. This is to accommodate machines with three levels of
caches -- if Cachegrind/Callgrind auto-detects the cache configuration of
such a machine it will run the simulation as if the L2 cache isn't
present. This means the results are less likely to match the true result
for the machine, but Cachegrind/Callgrind's results are already only
approximate, and should not be considered authoritative. The results are
still useful for giving a general idea about a program's locality.
- Massif has a new option, --pages-as-heap, which is disabled by default.
When enabled, instead of tracking allocations at the level of heap blocks
(as allocated with malloc/new/new[]), it instead tracks memory allocations
at the level of memory pages (as mapped by mmap, brk, etc). Each mapped
page is treated as its own block. Interpreting the page-level output is
harder than the heap-level output, but this option is useful if you want
to account for every byte of memory used by a program.
- Added new memcheck command-line option --show-possibly-lost.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=17
2010-10-13 13:43:20 +02:00
|
|
|
make FAQ.txt man-pages html-docs
|
|
|
|
popd
|
2010-10-22 10:03:08 +02:00
|
|
|
%endif
|
|
|
|
|
2007-01-16 00:40:26 +01:00
|
|
|
%install
|
2015-04-02 20:28:10 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2018-12-07 10:00:59 +01:00
|
|
|
rm %{buildroot}/%{_libdir}/valgrind/lib*.a # drop unreproducible unused files to fix boo#1118163
|
2019-10-18 19:07:26 +02:00
|
|
|
|
2015-04-02 20:28:10 +02:00
|
|
|
mkdir -p %{buildroot}/%{_defaultdocdir}
|
|
|
|
if test -d %{buildroot}%{_datadir}/doc/valgrind; then
|
2019-10-18 19:07:26 +02:00
|
|
|
# Remove Postscript manual (20 MByte), there are PDF and HTML versions
|
|
|
|
rm %{buildroot}%{_datadir}/doc/valgrind/valgrind_manual.ps
|
2015-04-02 20:28:10 +02:00
|
|
|
mv %{buildroot}%{_datadir}/doc/valgrind %{buildroot}/%{_defaultdocdir}
|
2010-10-22 16:21:29 +02:00
|
|
|
fi
|
2015-04-02 20:28:10 +02:00
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
2007-01-16 00:40:26 +01:00
|
|
|
|
2018-11-23 09:55:18 +01:00
|
|
|
%check
|
2018-11-26 15:10:40 +01:00
|
|
|
# OBS doesn't have a z13
|
|
|
|
%ifnarch s390x
|
2018-11-23 09:55:18 +01:00
|
|
|
# has too many spurious failures
|
|
|
|
# make %{?_smp_mflags} regtest
|
|
|
|
#patent pending self test
|
|
|
|
VALGRIND_LIB=$PWD/.in_place VALGRIND_LIB_INNER=$PWD/.in_place ./coregrind/valgrind /usr/bin/perl -wc tests/vg_regtest
|
2018-11-26 15:10:40 +01:00
|
|
|
%endif
|
2018-11-23 09:55:18 +01:00
|
|
|
|
2019-01-11 13:31:30 +01:00
|
|
|
%files devel
|
2019-10-18 19:07:26 +02:00
|
|
|
%{_includedir}/valgrind/config.h
|
|
|
|
%{_includedir}/valgrind/vki
|
|
|
|
%{_includedir}/valgrind/libvex*.h
|
|
|
|
%{_includedir}/valgrind/pub_tool*.h
|
2019-01-11 13:31:30 +01:00
|
|
|
%{_libdir}/pkgconfig/valgrind.pc
|
|
|
|
|
2019-10-18 19:07:26 +02:00
|
|
|
%files client-headers
|
|
|
|
%dir %{_includedir}/valgrind
|
|
|
|
%{_includedir}/valgrind/callgrind.h
|
|
|
|
%{_includedir}/valgrind/drd.h
|
|
|
|
%{_includedir}/valgrind/helgrind.h
|
|
|
|
%{_includedir}/valgrind/memcheck.h
|
|
|
|
%{_includedir}/valgrind/valgrind.h
|
|
|
|
|
2007-01-16 00:40:26 +01:00
|
|
|
%files
|
2018-11-21 13:11:24 +01:00
|
|
|
%license COPYING COPYING.DOCS
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_bindir}/*
|
2019-10-18 19:07:26 +02:00
|
|
|
%doc README* NEWS AUTHORS
|
|
|
|
%doc %{_defaultdocdir}/%{name}/
|
2015-04-02 20:28:10 +02:00
|
|
|
%doc %{_mandir}/*/*
|
|
|
|
%dir %{_libdir}/valgrind
|
2014-04-24 10:55:37 +02:00
|
|
|
%ifarch aarch64
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-arm64-linux
|
2014-04-24 10:55:37 +02:00
|
|
|
%endif
|
2011-08-24 00:53:39 +02:00
|
|
|
%ifarch x86_64
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-amd64-linux
|
2011-08-24 00:53:39 +02:00
|
|
|
%endif
|
2019-01-11 13:31:30 +01:00
|
|
|
%ifarch %ix86
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-x86-linux
|
2011-08-24 00:53:39 +02:00
|
|
|
%endif
|
2019-02-11 12:42:26 +01:00
|
|
|
%ifarch ppc
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-ppc32-linux
|
2011-10-25 15:16:31 +02:00
|
|
|
%endif
|
2014-09-17 10:25:05 +02:00
|
|
|
%ifarch ppc64
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-ppc64be-linux
|
2014-09-17 10:25:05 +02:00
|
|
|
%endif
|
2014-01-13 18:13:15 +01:00
|
|
|
%ifarch ppc64le
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-ppc64le-linux
|
2014-01-13 18:13:15 +01:00
|
|
|
%endif
|
2012-09-05 17:11:33 +02:00
|
|
|
%ifarch s390x
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-s390x-linux
|
2011-08-24 00:53:39 +02:00
|
|
|
%endif
|
2011-10-11 21:13:19 +02:00
|
|
|
%ifarch %arm
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-arm-linux
|
2011-10-11 21:13:19 +02:00
|
|
|
%endif
|
- update to 3.15.0 (fate#327402):
3.15.0 is a feature release with many improvements and the usual collection of
bug fixes.
This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,
PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,
MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,
X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12. There is also preliminary
support for X86/macOS 10.13 and AMD64/macOS 10.13.
* ==================== CORE CHANGES ===================
* The XTree Massif output format now makes use of the information obtained
when specifying --read-inline-info=yes.
* amd64 (x86_64): the RDRAND and F16C insn set extensions are now supported.
* ==================== TOOL CHANGES ====================
* DHAT:
- DHAT been thoroughly overhauled, improved, and given a GUI. As a result,
it has been promoted from an experimental tool to a regular tool. Run it
with --tool=dhat instead of --tool=exp-dhat.
- DHAT now prints only minimal data when the program ends, instead writing
the bulk of the profiling data to a file. As a result, the --show-top-n
and --sort-by options have been removed.
- Profile results can be viewed with the new viewer, dh_view.html. When
a run ends, a short message is printed, explaining how to view the result.
- See the documentation for more details.
* Cachegrind:
- cg_annotate has a new option, --show-percs, which prints percentages next
to all event counts.
* Callgrind:
- callgrind_annotate has a new option, --show-percs, which prints percentages
next to all event counts.
- callgrind_annotate now inserts commas in call counts, and
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=197
2019-05-08 17:38:55 +02:00
|
|
|
%dir /usr/lib/valgrind
|
|
|
|
/usr/lib/valgrind/dh_view*
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/*-linux.so
|
|
|
|
%{_libdir}/valgrind/*.supp
|
|
|
|
%{_libdir}/valgrind/64bit-core.xml
|
|
|
|
%{_libdir}/valgrind/64bit-linux.xml
|
|
|
|
%{_libdir}/valgrind/64bit-sse.xml
|
|
|
|
%{_libdir}/valgrind/64bit-core-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/64bit-linux-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/64bit-sse-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/amd64-coresse-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/amd64-linux-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/power64-core-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/power64-core.xml
|
2016-12-28 08:51:29 +01:00
|
|
|
%{_libdir}/valgrind/power64-core2-valgrind-s*.xml
|
2015-04-02 20:28:10 +02:00
|
|
|
%{_libdir}/valgrind/power64-linux-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/power64-linux.xml
|
|
|
|
%{_libdir}/valgrind/64bit-avx-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/64bit-avx.xml
|
|
|
|
%{_libdir}/valgrind/amd64-avx-coresse-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/amd64-avx-coresse.xml
|
|
|
|
%{_libdir}/valgrind/amd64-avx-linux-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/amd64-avx-linux.xml
|
|
|
|
%{_libdir}/valgrind/mips64-cp0-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/mips64-cp0.xml
|
|
|
|
%{_libdir}/valgrind/mips64-cpu-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/mips64-cpu.xml
|
|
|
|
%{_libdir}/valgrind/mips64-fpu-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/mips64-fpu.xml
|
|
|
|
%{_libdir}/valgrind/mips64-linux-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/mips64-linux.xml
|
|
|
|
%{_libdir}/valgrind/power-core-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/s390x-core64-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/s390x-core64.xml
|
|
|
|
%{_libdir}/valgrind/s390x-generic-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/s390x-generic.xml
|
|
|
|
%{_libdir}/valgrind/s390x-linux64-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/s390x-linux64.xml
|
2018-11-23 14:55:34 +01:00
|
|
|
%{_libdir}/valgrind/s390x-vx-linux-valgrind.xml
|
2018-11-25 21:47:10 +01:00
|
|
|
%{_libdir}/valgrind/s390x-vx-linux.xml
|
|
|
|
|
2019-01-11 13:31:30 +01:00
|
|
|
%ifarch x86_64 ppc64 s390x
|
|
|
|
%files 32bit
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
%{_libdir}/valgrind/*-x86-linux
|
|
|
|
%endif
|
|
|
|
%ifarch ppc ppc64
|
|
|
|
%{_libdir}/valgrind/*-ppc32-linux
|
|
|
|
%endif
|
|
|
|
%{_libdir}/valgrind/s390-acr-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/s390-acr.xml
|
|
|
|
%{_libdir}/valgrind/s390-fpr-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/s390-fpr.xml
|
|
|
|
%{_libdir}/valgrind/s390-vx-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/s390-vx.xml
|
|
|
|
%{_libdir}/valgrind/mips-cp0-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/mips-cp0.xml
|
|
|
|
%{_libdir}/valgrind/mips-cpu-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/mips-cpu.xml
|
|
|
|
%{_libdir}/valgrind/mips-fpu-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/mips-fpu.xml
|
|
|
|
%{_libdir}/valgrind/mips-linux-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/mips-linux.xml
|
|
|
|
%{_libdir}/valgrind/32bit-core.xml
|
|
|
|
%{_libdir}/valgrind/32bit-linux.xml
|
|
|
|
%{_libdir}/valgrind/32bit-sse.xml
|
|
|
|
%{_libdir}/valgrind/arm-core-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/arm-core.xml
|
|
|
|
%{_libdir}/valgrind/arm-vfpv3-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/arm-vfpv3.xml
|
|
|
|
%{_libdir}/valgrind/arm-with-vfpv3-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/arm-with-vfpv3.xml
|
|
|
|
%{_libdir}/valgrind/32bit-core-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/32bit-linux-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/32bit-sse-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/i386-coresse-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/i386-linux-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/power-altivec-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/power-altivec.xml
|
|
|
|
%{_libdir}/valgrind/power-core.xml
|
|
|
|
%{_libdir}/valgrind/power-fpu-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/power-fpu.xml
|
|
|
|
%{_libdir}/valgrind/power-linux-valgrind-s*.xml
|
|
|
|
%{_libdir}/valgrind/power-linux.xml
|
|
|
|
%{_libdir}/valgrind/power-vsx-valgrind-s1.xml
|
|
|
|
%{_libdir}/valgrind/power-vsx-valgrind-s2.xml
|
|
|
|
%{_libdir}/valgrind/power-vsx.xml
|
|
|
|
%{_libdir}/valgrind/powerpc-altivec32l-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/powerpc-altivec32l.xml
|
|
|
|
%{_libdir}/valgrind/powerpc-altivec64l-valgrind.xml
|
|
|
|
%{_libdir}/valgrind/powerpc-altivec64l.xml
|
2007-04-06 00:31:09 +02:00
|
|
|
|
2007-03-30 11:43:37 +02:00
|
|
|
%changelog
|