2007-01-16 00:40:26 +01:00
|
|
|
#
|
2024-04-28 17:50:11 +02:00
|
|
|
# spec file for package valgrind
|
2007-01-16 00:40:26 +01:00
|
|
|
#
|
2024-02-06 09:33:38 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
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
|
|
|
|
2022-04-21 13:28:03 +02:00
|
|
|
%if 0%{?!make_build:1}
|
|
|
|
%define make_build make -O %{?_smp_mflags} V=1 VERBOSE=1
|
|
|
|
%endif
|
|
|
|
|
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-11-20 14:16:58 +01:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == "client-headers"
|
|
|
|
%define psuffix -client-headers-source
|
|
|
|
%endif
|
2019-10-18 19:07:26 +02:00
|
|
|
%bcond_without docs
|
2019-11-20 14:16:58 +01:00
|
|
|
Name: valgrind%{?psuffix}
|
2024-04-28 17:50:11 +02:00
|
|
|
Version: 3.23.0
|
2015-04-02 20:28:10 +02:00
|
|
|
Release: 0
|
2011-12-19 07:55:25 +01:00
|
|
|
Summary: Memory Management Debugger
|
2021-03-20 19:34:30 +01:00
|
|
|
License: GFDL-1.2-only AND GPL-2.0-or-later
|
2007-01-16 00:40:26 +01:00
|
|
|
Group: Development/Tools/Debuggers
|
2022-04-12 21:29:23 +02:00
|
|
|
URL: https://valgrind.org/
|
|
|
|
Source0: https://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2
|
2024-04-28 17:50:11 +02:00
|
|
|
Source1: https://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2.asc
|
|
|
|
Source2: valgrind.keyring
|
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
|
2023-11-14 09:43:10 +01:00
|
|
|
# bko#276780 missing implementation for PINSRD
|
|
|
|
Patch1: VEX-x86-pinsrd.patch
|
2020-03-25 13:38:21 +01:00
|
|
|
Patch9: parallel-lto.patch
|
2020-05-11 14:14:44 +02:00
|
|
|
Patch10: dhat-use-datadir.patch
|
2022-04-13 17:18:02 +02:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: pkgconfig
|
2023-11-15 11:12:12 +01:00
|
|
|
%if %{suse_version} == 1600 && !0%{?is_opensuse}
|
|
|
|
ExclusiveArch: aarch64 x86_64 ppc64le s390x
|
|
|
|
%else
|
2022-08-03 17:21:08 +02:00
|
|
|
ExclusiveArch: aarch64 %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7l armv7hl armv6l armv6hl
|
2023-11-15 11:12:12 +01:00
|
|
|
%endif
|
2019-11-20 14:16:58 +01:00
|
|
|
%if "%{flavor}" == ""
|
2023-08-07 10:27:54 +02:00
|
|
|
Requires: (glibc >= %{glibc_main_version}.%{glibc_major_version} with glibc < %{glibc_main_version}.%{lua:print(rpm.expand("%{glibc_major_version}")+1)})
|
2022-04-13 17:18:02 +02:00
|
|
|
Provides: callgrind = %{version}
|
|
|
|
Obsoletes: callgrind < %{version}
|
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
|
2022-04-21 13:28:03 +02:00
|
|
|
%if 0%{?suse_version} < 1500
|
2018-11-22 10:38:33 +01:00
|
|
|
BuildRequires: gcc8-c++
|
2022-04-21 13:28:03 +02:00
|
|
|
%global cpp_version -8
|
2018-11-22 10:38:33 +01:00
|
|
|
%else
|
2015-04-02 20:28:10 +02:00
|
|
|
BuildRequires: gcc-c++
|
2018-11-22 10:38:33 +01:00
|
|
|
%endif
|
2023-10-25 21:06:27 +02:00
|
|
|
%if !0%{?disable_32bit}
|
2015-04-02 20:28:10 +02:00
|
|
|
%ifarch x86_64 ppc64
|
2022-04-13 17:18:02 +02:00
|
|
|
BuildRequires: glibc-devel-32bit
|
2022-04-21 13:28:03 +02:00
|
|
|
%if 0%{?suse_version} < 1500
|
2019-01-11 15:56:56 +01:00
|
|
|
BuildRequires: gcc8-c++-32bit
|
|
|
|
%else
|
|
|
|
BuildRequires: gcc-c++-32bit
|
|
|
|
%endif
|
2015-04-02 20:28:10 +02:00
|
|
|
%endif
|
2023-10-25 21:06:27 +02:00
|
|
|
%endif
|
2019-11-20 14:16:58 +01:00
|
|
|
%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-11-20 14:16:58 +01:00
|
|
|
%package -n valgrind-client-headers
|
2019-10-18 19:07:26 +02:00
|
|
|
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
|
2021-03-20 19:34:30 +01:00
|
|
|
License: GFDL-1.2-only AND GPL-2.0-or-later
|
2019-10-18 19:07:26 +02:00
|
|
|
Group: Development/Tools/Debuggers
|
|
|
|
Provides: valgrind-devel:%{_includedir}/valgrind/valgrind.h
|
2019-11-20 14:16:58 +01:00
|
|
|
BuildArch: noarch
|
2007-04-06 00:31:09 +02:00
|
|
|
|
2019-11-20 14:16:58 +01:00
|
|
|
%description -n valgrind-client-headers
|
2019-10-18 19:07:26 +02:00
|
|
|
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
|
2023-11-14 09:43:10 +01:00
|
|
|
%autosetup -p1 -n valgrind-%{version}
|
2007-01-16 00:40:26 +01:00
|
|
|
|
|
|
|
%build
|
2019-04-25 14:50:06 +02:00
|
|
|
%define _lto_cflags %{nil}
|
2023-03-29 11:02:00 +02:00
|
|
|
# The preloaded libs for intercepting rely on lazy binding (bsc#1208407)
|
|
|
|
export SUSE_ZNOW=0
|
2016-02-15 17:07:18 +01:00
|
|
|
export FLAGS="%{optflags}"
|
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/}"
|
2022-04-13 17:18:02 +02:00
|
|
|
FLAGS="${FLAGS/-D_FORTIFY_SOURCE=3/}"
|
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"
|
2022-04-21 13:28:03 +02:00
|
|
|
export CXX="g++%{?cpp_version}"
|
|
|
|
export CC="gcc%{?cpp_version}"
|
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 \
|
2023-05-18 14:59:59 +02:00
|
|
|
%ifnarch ppc64
|
2018-11-21 13:11:24 +01:00
|
|
|
--enable-lto=yes \
|
2023-05-18 14:59:59 +02:00
|
|
|
%endif
|
2022-04-13 17:18:59 +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
|
|
|
|
2022-04-13 17:18:02 +02:00
|
|
|
%if "%{flavor}" == ""
|
|
|
|
%make_build
|
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 :-(
|
2022-04-13 17:18:02 +02:00
|
|
|
%make_build FAQ.txt man-pages html-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
|
|
|
popd
|
2010-10-22 10:03:08 +02:00
|
|
|
%endif
|
2019-11-20 14:16:58 +01:00
|
|
|
%endif
|
2010-10-22 10:03:08 +02:00
|
|
|
|
2007-01-16 00:40:26 +01:00
|
|
|
%install
|
2019-11-20 14:16:58 +01:00
|
|
|
%if "%{flavor}" == ""
|
2022-04-13 17:18:02 +02:00
|
|
|
%make_install
|
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
|
|
|
|
2023-11-24 10:19:08 +01:00
|
|
|
rm %{buildroot}/%{_includedir}/valgrind/{valgrind,cachegrind,callgrind,dhat,drd,helgrind,memcheck}.h
|
2019-11-20 14:16:58 +01:00
|
|
|
|
|
|
|
%else
|
|
|
|
install -m 755 -d %{buildroot}/%{_includedir}/valgrind
|
|
|
|
install -m 644 -t %{buildroot}/%{_includedir}/valgrind \
|
|
|
|
include/valgrind.h \
|
2023-11-24 10:19:08 +01:00
|
|
|
cachegrind/cachegrind.h \
|
2019-11-20 14:16:58 +01:00
|
|
|
callgrind/callgrind.h \
|
2021-03-20 19:34:30 +01:00
|
|
|
dhat/dhat.h \
|
2019-11-20 14:16:58 +01:00
|
|
|
drd/drd.h \
|
|
|
|
helgrind/helgrind.h \
|
|
|
|
memcheck/memcheck.h
|
|
|
|
%endif
|
|
|
|
|
2018-11-23 09:55:18 +01:00
|
|
|
%check
|
2019-11-20 14:16:58 +01:00
|
|
|
%if "%{flavor}" == ""
|
2018-11-26 15:10:40 +01:00
|
|
|
# OBS doesn't have a z13
|
2022-04-13 17:18:02 +02:00
|
|
|
%ifnarch s390x %{arm}
|
2018-11-23 09:55:18 +01:00
|
|
|
# has too many spurious failures
|
|
|
|
# make %{?_smp_mflags} regtest
|
|
|
|
#patent pending self test
|
2022-04-13 17:18:02 +02:00
|
|
|
VALGRIND_LIB=$PWD/.in_place VALGRIND_LIB_INNER=$PWD/.in_place ./coregrind/valgrind %{_bindir}/perl -wc tests/vg_regtest
|
2018-11-26 15:10:40 +01:00
|
|
|
%endif
|
2019-11-20 14:16:58 +01:00
|
|
|
%endif
|
2018-11-23 09:55:18 +01:00
|
|
|
|
2019-11-20 14:16:58 +01:00
|
|
|
%if "%{flavor}" == ""
|
2019-01-11 13:31:30 +01:00
|
|
|
%files devel
|
2019-11-20 14:16:58 +01:00
|
|
|
%dir %{_includedir}/valgrind
|
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-11-20 14:16:58 +01:00
|
|
|
%files -n valgrind
|
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
|
2019-11-20 14:16:58 +01:00
|
|
|
%doc %{_defaultdocdir}/%{name}/*
|
2022-04-13 17:18:02 +02:00
|
|
|
%{_mandir}/*/*
|
2021-03-20 19:34:30 +01:00
|
|
|
%dir %{_libexecdir}/valgrind
|
2014-04-24 10:55:37 +02:00
|
|
|
%ifarch aarch64
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-arm64-linux
|
2014-04-24 10:55:37 +02:00
|
|
|
%endif
|
2011-08-24 00:53:39 +02:00
|
|
|
%ifarch x86_64
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-amd64-linux
|
2011-08-24 00:53:39 +02:00
|
|
|
%endif
|
2022-04-13 17:18:02 +02:00
|
|
|
%ifarch %{ix86}
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-x86-linux
|
2011-08-24 00:53:39 +02:00
|
|
|
%endif
|
2019-02-11 12:42:26 +01:00
|
|
|
%ifarch ppc
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-ppc32-linux
|
2011-10-25 15:16:31 +02:00
|
|
|
%endif
|
2014-09-17 10:25:05 +02:00
|
|
|
%ifarch ppc64
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-ppc64be-linux
|
2014-09-17 10:25:05 +02:00
|
|
|
%endif
|
2014-01-13 18:13:15 +01:00
|
|
|
%ifarch ppc64le
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-ppc64le-linux
|
2014-01-13 18:13:15 +01:00
|
|
|
%endif
|
2012-09-05 17:11:33 +02:00
|
|
|
%ifarch s390x
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-s390x-linux
|
2011-08-24 00:53:39 +02:00
|
|
|
%endif
|
2022-04-13 17:18:02 +02:00
|
|
|
%ifarch %{arm}
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-arm-linux
|
2011-10-11 21:13:19 +02:00
|
|
|
%endif
|
2020-05-11 14:14:44 +02:00
|
|
|
%dir %{_datadir}/valgrind
|
|
|
|
%{_datadir}/valgrind/dh_view*
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-linux.so
|
|
|
|
%{_libexecdir}/valgrind/*.supp
|
2023-05-18 14:43:57 +02:00
|
|
|
%{_libexecdir}/valgrind/valgrind-monitor-def.py
|
|
|
|
%{_libexecdir}//valgrind/valgrind-monitor.py
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/64bit-core.xml
|
|
|
|
%{_libexecdir}/valgrind/64bit-linux.xml
|
|
|
|
%{_libexecdir}/valgrind/64bit-sse.xml
|
|
|
|
%{_libexecdir}/valgrind/64bit-core-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/64bit-linux-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/64bit-sse-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/amd64-coresse-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/amd64-linux-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/power64-core-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/power64-core.xml
|
|
|
|
%{_libexecdir}/valgrind/power64-core2-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/power64-linux-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/power64-linux.xml
|
|
|
|
%{_libexecdir}/valgrind/64bit-avx-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/64bit-avx.xml
|
|
|
|
%{_libexecdir}/valgrind/amd64-avx-coresse-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/amd64-avx-coresse.xml
|
|
|
|
%{_libexecdir}/valgrind/amd64-avx-linux-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/amd64-avx-linux.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-cp0-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-cp0.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-cpu-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-cpu.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-fpu-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-fpu.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-linux-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/mips64-linux.xml
|
|
|
|
%{_libexecdir}/valgrind/power-core-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-core64-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-core64.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-generic-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-generic.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-linux64-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-linux64.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-vx-linux-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/s390x-vx-linux.xml
|
2019-10-29 13:10:56 +01:00
|
|
|
# See https://bugzilla.suse.com/show_bug.cgi?id=1147071#c0
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/s390-acr-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/s390-acr.xml
|
|
|
|
%{_libexecdir}/valgrind/s390-fpr-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/s390-fpr.xml
|
|
|
|
%{_libexecdir}/valgrind/s390-vx-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/s390-vx.xml
|
2018-11-25 21:47:10 +01:00
|
|
|
|
2019-01-11 13:31:30 +01:00
|
|
|
%ifarch x86_64 ppc64 s390x
|
|
|
|
%files 32bit
|
|
|
|
%endif
|
2022-04-13 17:18:02 +02:00
|
|
|
|
|
|
|
%ifarch %{ix86} x86_64
|
2023-10-23 15:54:54 +02:00
|
|
|
%if !0%{?disable_32bit}
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-x86-linux
|
2019-01-11 13:31:30 +01:00
|
|
|
%endif
|
2023-10-23 15:50:02 +02:00
|
|
|
%endif
|
2022-04-13 17:18:02 +02:00
|
|
|
|
2019-01-11 13:31:30 +01:00
|
|
|
%ifarch ppc ppc64
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/*-ppc32-linux
|
2019-01-11 13:31:30 +01:00
|
|
|
%endif
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_libexecdir}/valgrind/mips-cp0-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/mips-cp0.xml
|
|
|
|
%{_libexecdir}/valgrind/mips-cpu-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/mips-cpu.xml
|
|
|
|
%{_libexecdir}/valgrind/mips-fpu-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/mips-fpu.xml
|
|
|
|
%{_libexecdir}/valgrind/mips-linux-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/mips-linux.xml
|
|
|
|
%{_libexecdir}/valgrind/32bit-core.xml
|
|
|
|
%{_libexecdir}/valgrind/32bit-linux.xml
|
|
|
|
%{_libexecdir}/valgrind/32bit-sse.xml
|
|
|
|
%{_libexecdir}/valgrind/arm-core-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/arm-core.xml
|
|
|
|
%{_libexecdir}/valgrind/arm-vfpv3-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/arm-vfpv3.xml
|
|
|
|
%{_libexecdir}/valgrind/arm-with-vfpv3-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/arm-with-vfpv3.xml
|
|
|
|
%{_libexecdir}/valgrind/32bit-core-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/32bit-linux-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/32bit-sse-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/i386-coresse-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/i386-linux-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/power-altivec-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/power-altivec.xml
|
|
|
|
%{_libexecdir}/valgrind/power-core.xml
|
|
|
|
%{_libexecdir}/valgrind/power-fpu-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/power-fpu.xml
|
|
|
|
%{_libexecdir}/valgrind/power-linux-valgrind-s*.xml
|
|
|
|
%{_libexecdir}/valgrind/power-linux.xml
|
|
|
|
%{_libexecdir}/valgrind/power-vsx-valgrind-s1.xml
|
|
|
|
%{_libexecdir}/valgrind/power-vsx-valgrind-s2.xml
|
|
|
|
%{_libexecdir}/valgrind/power-vsx.xml
|
|
|
|
%{_libexecdir}/valgrind/powerpc-altivec32l-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/powerpc-altivec32l.xml
|
|
|
|
%{_libexecdir}/valgrind/powerpc-altivec64l-valgrind.xml
|
|
|
|
%{_libexecdir}/valgrind/powerpc-altivec64l.xml
|
2007-04-06 00:31:09 +02:00
|
|
|
|
2019-11-20 14:16:58 +01:00
|
|
|
%else
|
2021-03-20 19:34:30 +01:00
|
|
|
|
2019-11-20 14:16:58 +01:00
|
|
|
%files -n valgrind-client-headers
|
|
|
|
%dir %{_includedir}/valgrind
|
2023-11-24 10:19:08 +01:00
|
|
|
%{_includedir}/valgrind/cachegrind.h
|
2019-11-20 14:16:58 +01:00
|
|
|
%{_includedir}/valgrind/callgrind.h
|
2021-03-20 19:34:30 +01:00
|
|
|
%{_includedir}/valgrind/dhat.h
|
2019-11-20 14:16:58 +01:00
|
|
|
%{_includedir}/valgrind/drd.h
|
|
|
|
%{_includedir}/valgrind/helgrind.h
|
|
|
|
%{_includedir}/valgrind/memcheck.h
|
|
|
|
%{_includedir}/valgrind/valgrind.h
|
|
|
|
%endif
|
|
|
|
|
2007-03-30 11:43:37 +02:00
|
|
|
%changelog
|