Hello community,
here is the log from the commit of package valgrind for openSUSE:Factory
checked in at 2019-12-02 11:32:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/valgrind (Old)
and /work/SRC/openSUSE:Factory/.valgrind.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "valgrind"
Mon Dec 2 11:32:16 2019 rev:120 rq:751340 version:3.15.0
Changes:
--------
New Changes file:
--- /dev/null 2019-11-14 08:11:24.559789422 +0100
+++
/work/SRC/openSUSE:Factory/.valgrind.new.4691/valgrind-client-headers-source.changes
2019-12-02 11:37:42.106452606 +0100
@@ -0,0 +1,1198 @@
+-------------------------------------------------------------------
+Wed Nov 27 14:17:11 UTC 2019 - Dirk Mueller <[email protected]>
+
+- remove jit-register-unregister.diff (fails patch not applied check)
+
+-------------------------------------------------------------------
+Tue Oct 29 12:10:39 UTC 2019 - Dirk Mueller <[email protected]>
+
+- move s390-*xml files to main package (bsc#1147071)
+
+-------------------------------------------------------------------
+Tue Oct 22 16:46:06 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Use _multibuild for creating the client-headers subpackage. As
+ the headers are just copied over, the package has no substantial
+ build dependencies.
+
+-------------------------------------------------------------------
+Thu Oct 17 22:43:21 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Move the BSD-style licensed client headers to a subpackage.
+ Packages only requiring e.g. valgrind.h during build no longer
+ need the full valgrind and valgrind-devel packages then.
+- Clean up documentation a bit:
+ + use %build_cond, drop unused docbook_4 BuildRequires
+ + remove the Postscript Valgrind manual in favor of the PDF one.
+- Add GFDL-1.2 to the License, relevant for man pages and Valgrind
+ PDF/HTML manual.
+
+-------------------------------------------------------------------
+Wed May 8 15:36:12 UTC 2019 - Dirk Mueller <[email protected]>
+
+- update to 3.15.0 (fate#327402) (jira SLE-5861):
+ 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
+ sort the caller/callee lists in the call tree.
+
+ * Massif:
+
+ - The default value for --read-inline-info is now "yes" on
+ Linux/Android/Solaris. It is still "no" on other OS.
+
+ * Memcheck:
+
+ - The option --xtree-leak=yes (to output leak result in xtree format)
+ automatically activates the option --show-leak-kinds=all, as xtree
+ visualisation tools such as kcachegrind can in any case select what kind
+ of leak to visualise.
+
+ - There has been further work to avoid false positives. In particular,
+ integer equality on partially defined inputs (C == and !=) is now handled
+ better.
+
+- remove 0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch
+ 0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch
+ 0001-Bug-397187-s390x-Add-vector-register-support-for-vgd.patch
+ 0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch
+ 0001-Bug-400490-s390x-Fix-register-allocation-for-VRs-vs-.patch
+ 0001-Bug-400491-s390x-Sign-extend-immediate-operand-of-LO.patch
+ 0001-Bug-402519-POWER-3.0-addex-instruction-incorrectly-i.patch
+ 0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch
+ 0001-s390x-more-fixes.patch
+ Implement-emulated-system-registers.-Fixes-392146.patch (all upstream)
+
+-------------------------------------------------------------------
+Wed Apr 24 17:43:06 UTC 2019 - Martin Liška <[email protected]>
+
+- Disable LTO (boo#1133288).
+
+-------------------------------------------------------------------
+Tue Feb 19 21:54:58 UTC 2019 - Dirk Mueller <[email protected]>
+
+- add 0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch
+ 0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch
+ 0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch
+ 0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch (bsc#1124111)
+
+-------------------------------------------------------------------
+Sat Feb 9 08:41:25 UTC 2019 - [email protected]
+
+- Don't package files twice on ppc64
+
+-------------------------------------------------------------------
+Wed Jan 16 16:23:35 UTC 2019 - Michal Suchanek <[email protected]>
+
+- Fix POWER9 addex instruction emulation (bsc#1121025).
+ 0001-Bug-402519-POWER-3.0-addex-instruction-incorrectly-i.patch
+
+-------------------------------------------------------------------
+Fri Jan 11 12:30:42 UTC 2019 - Dirk Mueller <[email protected]>
+
+- split into a -32bit subpackage, fix buildrequires for older distros
+
+-------------------------------------------------------------------
+Thu Dec 6 02:53:30 UTC 2018 - Bernhard Wiedemann <[email protected]>
+
+- drop unreproducible unused .a files to make the package build
+ reproducible (boo#1118163)
+
+-------------------------------------------------------------------
+Sun Nov 25 21:06:20 UTC 2018 - [email protected]
+
+- update valgrind.xen.patch to branch bug390553-20181125-ddfc274b2
+
+-------------------------------------------------------------------
+Thu Nov 22 09:21:45 UTC 2018 - Dirk Mueller <[email protected]>
+
+- build against Toolchain module for SLE12
+- add 0001-Bug-397187-s390x-Add-vector-register-support-for-vgd.patch
+ 0001-Bug-400490-s390x-Fix-register-allocation-for-VRs-vs-.patch,
+ 0001-Bug-400491-s390x-Sign-extend-immediate-operand-of-LO.patch,
+ 0001-s390x-more-fixes.patch,
+ Implement-emulated-system-registers.-Fixes-392146.patch (FATE#326355)
+- enable check (poo#36751)
+
+-------------------------------------------------------------------
+Wed Nov 21 11:51:45 UTC 2018 - Dirk Mueller <[email protected]>
+
+- update to 3.14.0 (bsc#1114575, FATE#326355):
+ see http://www.valgrind.org/docs/manual/dist.news.html
+ * The new option --keep-debuginfo=no|yes (default no) can be used to retain
+ debug info for unloaded code. This allows saved stack traces (e.g. for
+ memory leaks) to include file/line info for code that has been dlclose'd
(or
+ similar). See the user manual for more information and known limitations.
+ * Ability to specify suppressions based on source file name and line number.
+ * Majorly overhauled register allocator. No end-user changes, but the JIT
+ generates code a bit more quickly now.
+ * Preliminary support for macOS 10.13 has been added.
+ * mips: support for MIPS32/MIPS64 Revision 6 has been added.
+ * mips: support for MIPS SIMD architecture (MSA) has been added.
+ * mips: support for MIPS N32 ABI has been added.
+ * s390: partial support for vector instructions (integer and string) has been
+ added.
+ * Helgrind: Addition of a flag
+ --delta-stacktrace=no|yes [yes on linux amd64/x86]
+ which specifies how full history stack traces should be computed.
+ Setting this to =yes can speed up Helgrind by 25% when using
+ --history-level=full.
+ * Memcheck: reduced false positive rate for optimised code created by Clang 6
+ / LLVM 6 on x86, amd64 and arm64. In particular, Memcheck analyses code
+ blocks more carefully to determine where it can avoid expensive definedness
+ checks without loss of precision. This is controlled by the flag
+ --expensive-definedness-checks=no|auto|yes [auto].
+ * Valgrind is now buildable with link-time optimisation (LTO). A new
+ configure option --enable-lto=yes allows building Valgrind with LTO. If
the
+ toolchain supports it, this produces a smaller/faster Valgrind (up to 10%).
+ Note that if you are doing Valgrind development, --enable-lto=yes massively
+ slows down the build process.
+- remove epoll-wait-fix.patch,
+ Fix-access-to-time-base-register-to-return-64-bits.patch,
+ 0001-Accept-read-only-PT_LOAD-segments-and-.rodata.patch (upstream),
+
+-------------------------------------------------------------------
+Tue Sep 25 16:32:22 UTC 2018 - Michal Suchanek <[email protected]>
+
++++ 1001 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Factory/.valgrind.new.4691/valgrind-client-headers-source.changes
--- /work/SRC/openSUSE:Factory/valgrind/valgrind.changes 2019-11-03
10:57:57.406953637 +0100
+++ /work/SRC/openSUSE:Factory/.valgrind.new.4691/valgrind.changes
2019-12-02 11:37:42.130452611 +0100
@@ -1,0 +2,5 @@
+Wed Nov 27 14:17:11 UTC 2019 - Dirk Mueller <[email protected]>
+
+- remove jit-register-unregister.diff (fails patch not applied check)
+
+-------------------------------------------------------------------
@@ -4,0 +10,7 @@
+
+-------------------------------------------------------------------
+Tue Oct 22 16:46:06 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Use _multibuild for creating the client-headers subpackage. As
+ the headers are just copied over, the package has no substantial
+ build dependencies.
Old:
----
jit-register-unregister.diff
New:
----
_multibuild
valgrind-client-headers-source.changes
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ valgrind.spec ++++++
--- /var/tmp/diff_new_pack.1rN97W/_old 2019-12-02 11:37:42.758452743 +0100
+++ /var/tmp/diff_new_pack.1rN97W/_new 2019-12-02 11:37:42.762452745 +0100
@@ -1,7 +1,7 @@
#
# spec file for package valgrind
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,21 +20,27 @@
%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)
+%global flavor @BUILD_FLAVOR@%{nil}
+
+%if "%{flavor}" == "client-headers"
+%define psuffix -client-headers-source
+%endif
+
%bcond_without docs
-Name: valgrind
+Name: valgrind%{?psuffix}
Version: 3.15.0
Release: 0
Summary: Memory Management Debugger
License: GPL-2.0-or-later AND GFDL-1.2-only
Group: Development/Tools/Debuggers
-Url: http://valgrind.org/
+URL: http://valgrind.org/
Source0: ftp://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2
# https://bugs.kde.org/show_bug.cgi?id=390553
#
https://github.com/olafhering/valgrind/compare/olh-base-master...olh-fixes-master
Patch0: valgrind.xen.patch
-Patch1: jit-register-unregister.diff
Patch2: armv6-support.diff
+%if "%{flavor}" == ""
%if %{with docs}
BuildRequires: docbook-xsl-stylesheets
BuildRequires: libxslt
@@ -60,6 +66,8 @@
%endif
BuildRequires: glibc-devel-32bit
%endif
+%else
+%endif
%description
Valgrind checks all memory operations in an application, like read,
@@ -91,7 +99,7 @@
%description devel
This package contains the Valgrind header files.
-%package client-headers
+%package -n valgrind-client-headers
Summary: Header files for for Valgrind
# The client headers are permissively licensed under a BSD-style
# license. SPDX License Request filed.
@@ -99,8 +107,9 @@
License: GPL-2.0-or-later AND GFDL-1.2-only
Group: Development/Tools/Debuggers
Provides: valgrind-devel:%{_includedir}/valgrind/valgrind.h
+BuildArch: noarch
-%description client-headers
+%description -n valgrind-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
@@ -138,13 +147,12 @@
%endif
%prep
-%setup -q
+%setup -q -n valgrind-%{version}
%patch0 -p1
-# needs porting to 3.11
-##%patch1
%patch2
%build
+%if "%{flavor}" == ""
%define _lto_cflags %{nil}
%if 0%{?suse_version} < 1320
export CC="%{_bindir}/gcc-8"
@@ -184,8 +192,10 @@
make FAQ.txt man-pages html-docs
popd
%endif
+%endif
%install
+%if "%{flavor}" == ""
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}/%{_libdir}/valgrind/lib*.a # drop unreproducible unused files
to fix boo#1118163
@@ -197,7 +207,20 @@
fi
mkdir -p %{buildroot}%{_docdir}/%{name}
+rm
%{buildroot}/%{_includedir}/valgrind/{valgrind,callgrind,drd,helgrind,memcheck}.h
+
+%else
+install -m 755 -d %{buildroot}/%{_includedir}/valgrind
+install -m 644 -t %{buildroot}/%{_includedir}/valgrind \
+ include/valgrind.h \
+ callgrind/callgrind.h \
+ drd/drd.h \
+ helgrind/helgrind.h \
+ memcheck/memcheck.h
+%endif
+
%check
+%if "%{flavor}" == ""
# OBS doesn't have a z13
%ifnarch s390x
# has too many spurious failures
@@ -205,27 +228,22 @@
#patent pending self test
VALGRIND_LIB=$PWD/.in_place VALGRIND_LIB_INNER=$PWD/.in_place
./coregrind/valgrind /usr/bin/perl -wc tests/vg_regtest
%endif
+%endif
+%if "%{flavor}" == ""
%files devel
+%dir %{_includedir}/valgrind
%{_includedir}/valgrind/config.h
%{_includedir}/valgrind/vki
%{_includedir}/valgrind/libvex*.h
%{_includedir}/valgrind/pub_tool*.h
%{_libdir}/pkgconfig/valgrind.pc
-%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
-
-%files
+%files -n valgrind
%license COPYING COPYING.DOCS
%{_bindir}/*
%doc README* NEWS AUTHORS
-%doc %{_defaultdocdir}/%{name}/
+%doc %{_defaultdocdir}/%{name}/*
%doc %{_mandir}/*/*
%dir %{_libdir}/valgrind
%ifarch aarch64
@@ -346,4 +364,14 @@
%{_libdir}/valgrind/powerpc-altivec64l-valgrind.xml
%{_libdir}/valgrind/powerpc-altivec64l.xml
+%else
+%files -n valgrind-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
+%endif
+
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>client-headers</package>
</multibuild>