- Upgrade to version 4.7. See systemtap.spec for changelog

- Upgrade to version 4.7. See systemtap.spec for changelog 

- Upgrade to version 4.7. See systemtap.spec for changelog 
- Remove patches (upstream):
    Handle-user-supplied-sdt-probe-argument-template.patch
    PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
    buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
    gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
    gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
    gcc12-warning-suppression.patch
    sys-sdt.h-fp-constraints-aarch64-s390.patch
    sys-sdt.h-fp-constraints-arm32.patch
    sys-sdt.h-fp-constraints-x86_64.patch

- Update to version 4.7
  Release notes: https://sourceware.org/pipermail/systemtap/2022q2/027491.html
- Remove patches (upstream):
    Handle-user-supplied-sdt-probe-argument-template.patch
    PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
    buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
    gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
    gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
    gcc12-warning-suppression.patch
    sys-sdt.h-fp-constraints-aarch64-s390.patch
    sys-sdt.h-fp-constraints-arm32.patch
    sys-sdt.h-fp-constraints-x86_64.patch
- Update systemtap.keyring

OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=138
This commit is contained in:
Tony Jones 2022-09-13 01:07:15 +00:00 committed by Git OBS Bridge
parent f0cadb895f
commit 18485ffdc4
22 changed files with 95 additions and 485 deletions

View File

@ -1,126 +0,0 @@
From ecab2afea46099b4e7dfd551462689224afdbe3a Mon Sep 17 00:00:00 2001
From: Stan Cox <scox@redhat.com>
Date: Wed, 1 Dec 2021 16:19:22 -0500
Subject: [PATCH] Handle user supplied sdt probe argument template
User supplied templates were erroneously removed by commit eaa15b047,
which complicated the template expansion. To do the above the
expansion of STAP_PROBE_ASM(provider, fooprobe,
STAP_PROBE_ASM_TEMPLATE(3)) adds an unused argument:
STAP_PROBE_ASM(provider, fooprobe, /*template expansion*/ "%[SDT..]..",
"use _SDT_ASM_TEMPLATE") A supplied template
STAP_PROBE_ASM(provider, fooprobe, "4@%rdx 8@%rax") is left alone. If
the varargs has 2 args (the fake "use ..") then macro expansion
inserts the expanded string, otherwise "4@.." becomes an ascii op.
---
includes/sys/sdt.h | 14 ++++++++++----
testsuite/systemtap.base/sdt_casm.c | 5 +++++
testsuite/systemtap.base/sdt_casm.exp | 3 ++-
testsuite/systemtap.base/sdt_casm.stp | 8 ++++++++
4 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index 28d236d91..24d5e01c3 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -290,7 +290,7 @@ __extension__ extern unsigned long long __sdt_unsp;
_SDT_ASM_1(.purgem _SDT_TYPE_) \
_SDT_ASM_1(.purgem _SDT_TYPE)
-#define _SDT_ASM_BODY(provider, name, pack_args, args) \
+#define _SDT_ASM_BODY(provider, name, pack_args, args, ...) \
_SDT_DEF_MACROS \
_SDT_ASM_1(990: _SDT_NOP) \
_SDT_ASM_3( .pushsection .note.stapsdt,_SDT_ASM_AUTOGROUP,"note") \
@@ -417,9 +417,9 @@ __extension__ extern unsigned long long __sdt_unsp;
counted, so we don't have to worry about the behavior of macros
called without any arguments. */
-#ifdef SDT_USE_VARIADIC
#define _SDT_NARG(...) __SDT_NARG(__VA_ARGS__, 12,11,10,9,8,7,6,5,4,3,2,1,0)
#define __SDT_NARG(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12, N, ...) N
+#ifdef SDT_USE_VARIADIC
#define _SDT_PROBE_N(provider, name, N, ...) \
_SDT_PROBE(provider, name, N, (__VA_ARGS__))
#define STAP_PROBEV(provider, name, ...) \
@@ -468,9 +468,15 @@ __extension__ extern unsigned long long __sdt_unsp;
Note that these can use operand templates like %0 or %[name],
and likewise they must write %%reg for a literal operand of %reg. */
+#define _SDT_ASM_BODY_1(p,n,...) _SDT_ASM_BODY(p,n,_SDT_ASM_SUBSTR,(__VA_ARGS__))
+#define _SDT_ASM_BODY_2(p,n,...) _SDT_ASM_BODY(p,n,/*_SDT_ASM_STRING */,__VA_ARGS__)
+#define _SDT_ASM_BODY_N2(p,n,no,...) _SDT_ASM_BODY_ ## no(p,n,__VA_ARGS__)
+#define _SDT_ASM_BODY_N1(p,n,no,...) _SDT_ASM_BODY_N2(p,n,no,__VA_ARGS__)
+#define _SDT_ASM_BODY_N(p,n,...) _SDT_ASM_BODY_N1(p,n,_SDT_NARG(0, __VA_ARGS__),__VA_ARGS__)
+
#if __STDC_VERSION__ >= 199901L
# define STAP_PROBE_ASM(provider, name, ...) \
- _SDT_ASM_BODY(provider, name, /*_SDT_ASM_STRING */, __VA_ARGS__) \
+ _SDT_ASM_BODY_N(provider, name, __VA_ARGS__) \
_SDT_ASM_BASE
# define STAP_PROBE_ASM_OPERANDS(n, ...) _SDT_ASM_OPERANDS_##n(__VA_ARGS__)
#else
@@ -478,7 +484,7 @@ __extension__ extern unsigned long long __sdt_unsp;
_SDT_ASM_BODY(provider, name, /* _SDT_ASM_STRING */, (args)) \
_SDT_ASM_BASE
#endif
-#define STAP_PROBE_ASM_TEMPLATE(n) _SDT_ASM_TEMPLATE_##n
+#define STAP_PROBE_ASM_TEMPLATE(n) _SDT_ASM_TEMPLATE_##n,"use _SDT_ASM_TEMPLATE_"
/* DTrace compatible macro names. */
diff --git a/testsuite/systemtap.base/sdt_casm.c b/testsuite/systemtap.base/sdt_casm.c
index 1cff23c5f..9b357086c 100644
--- a/testsuite/systemtap.base/sdt_casm.c
+++ b/testsuite/systemtap.base/sdt_casm.c
@@ -3,6 +3,7 @@
int main()
{
int x = 42;
+ int y = 43;
__asm__ __volatile__ (
STAP_PROBE_ASM(testsuite, probe0, STAP_PROBE_ASM_TEMPLATE(0))
);
@@ -10,5 +11,9 @@ int main()
STAP_PROBE_ASM(testsuite, probe1, STAP_PROBE_ASM_TEMPLATE(1))
:: STAP_PROBE_ASM_OPERANDS(1, x)
);
+ // Create a template to test explicit template support
+ __asm__ __volatile__ (
+ STAP_PROBE_ASM(testsuite, probe2, -4@%[ARG1] -4@%[ARG2])
+ :: [ARG1] "rm" (x), [ARG2] "rm" (y));
return 0;
}
diff --git a/testsuite/systemtap.base/sdt_casm.exp b/testsuite/systemtap.base/sdt_casm.exp
index 5791cb2b9..0cd1cb517 100644
--- a/testsuite/systemtap.base/sdt_casm.exp
+++ b/testsuite/systemtap.base/sdt_casm.exp
@@ -18,7 +18,8 @@ proc cleanup_handler { verbose } {
set script $srcdir/$subdir/$test.stp
set ::result_string {PASS: probe0
-PASS: probe1}
+PASS: probe1
+PASS: probe2}
set asm_flags [sdt_includes]
set asm_flags "$asm_flags additional_flags=-std=c99"
diff --git a/testsuite/systemtap.base/sdt_casm.stp b/testsuite/systemtap.base/sdt_casm.stp
index 4f2539c93..530a79175 100644
--- a/testsuite/systemtap.base/sdt_casm.stp
+++ b/testsuite/systemtap.base/sdt_casm.stp
@@ -10,3 +10,11 @@ probe process.mark("probe1")
else
printf("FAIL: %s (%d != 42)\n", $$name, $arg1)
}
+
+probe process.mark("probe2")
+{
+ if ($arg1 == 42 && $arg2 == 43)
+ printf("PASS: %s\n", $$name)
+ else
+ printf("FAIL: %s (%d/%d != 42/43)\n", $$name, $arg1, $arg2)
+}
--
2.35.0

View File

@ -1,44 +0,0 @@
From: "Frank Ch. Eigler" <fche@redhat.com>
Date: Thu, 13 Jan 2022 18:33:15 -0500
Subject: PR28778: gcc warning tweak for sprintf precision parameter
Git-repo: git://sourceware.org/git/systemtap.git
Git-commit: b0422e9e5a539164af75cddcaeb01bceca56bf12
References: bsc#1196583
A precision=-1 sentinel value got interpreted as UINT_MAX in a
context, leading to diagnostics like:
/usr/share/systemtap/runtime/vsprintf.c:341:23: error: 'strnlen' specified bound 4294967295 may exceed maximum object size 2147483647 [-Werror=stringop-overread]
Adding a clamp_t() around the parameter field to keep it limited to
STP_BUFFER_SIZE (8K by default), which is apprx. the limit for a
single printf.
Signed-off-by: Tony Jones <tonyj@suse.de>
---
runtime/vsprintf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtime/vsprintf.c b/runtime/vsprintf.c
index cd31a938b..606f685e8 100644
--- a/runtime/vsprintf.c
+++ b/runtime/vsprintf.c
@@ -338,7 +338,7 @@ _stp_vsprint_memory(char * str, char * end, const char * ptr,
if (format == 's') {
if ((unsigned long)ptr < PAGE_SIZE)
ptr = "<NULL>";
- len = strnlen(ptr, precision);
+ len = strnlen(ptr, clamp_t(size_t, precision, 0, STP_BUFFER_SIZE));
}
else if (precision > 0)
len = precision;
@@ -410,7 +410,7 @@ _stp_vsprint_memory_size(const char * ptr, int width, int precision,
if (format == 's') {
if ((unsigned long)ptr < PAGE_SIZE)
ptr = "<NULL>";
- len = strnlen(ptr, precision);
+ len = strnlen(ptr, clamp_t(size_t, precision, 0, STP_BUFFER_SIZE));
}
else if (precision > 0)
len = precision;

View File

@ -1,30 +0,0 @@
From: "Frank Ch. Eigler" <fche@redhat.com>
Date: Mon, 7 Feb 2022 13:59:54 -0500
Subject: buildrun: for LKM backend, add -Wno-infinite-recursion
Git-repo: git://sourceware.org/git/systemtap.git
Git-commit: 9295f6046518dc15678032ac54abb8a4e2916f33
References: bsc#1196583
On GCC12 / fedora rawhide, this diagnostic is currently generating
false positives w.r.t. a few memcpy type functions.
Signed-off-by: Tony Jones <tonyj@suse.de>
---
buildrun.cxx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/buildrun.cxx b/buildrun.cxx
index 2a18fe3b7..ecaeedaac 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -601,6 +601,9 @@ compile_pass (systemtap_session& s)
// Accept extra diagnostic-suppression pragmas etc.
o << "EXTRA_CFLAGS += -Wno-pragmas" << endl;
+ // Suppress gcc12 diagnostic bug in kernel-devel for 5.16ish
+ o << "EXTRA_CFLAGS += -Wno-infinite-recursion" << endl;
+
// PR25845: Recent gcc (seen on 9.3.1) warns fairly common 32-bit pointer-conversions:
o << "EXTRA_CFLAGS += $(call cc-option,-Wno-pointer-to-int-cast)" << endl;
o << "EXTRA_CFLAGS += $(call cc-option,-Wno-int-to-pointer-cast)" << endl;

View File

@ -1,53 +0,0 @@
From: Serhei Makarov <serhei@serhei.io>
Date: Fri, 21 Jan 2022 18:21:46 -0500
Subject: gcc12 c++ compatibility re-tweak for rhel6: use function pointer
instead of lambdas instead of ptr_fun<>
Git-repo: git://sourceware.org/git/systemtap.git
Git-commit: f199d1982ef8a6c6d5c06c082d057b8793bcc6aa
References: bsc#1196583
Saving 2 lines in ltrim/rtrim is probably not a good reason to drop
compatibility with the RHEL6 system compiler. Actually declaring a
named function and passing the function pointer is compatible with
everything.
Signed-off-by: Tony Jones <tonyj@suse.de>
---
util.cxx | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/util.cxx b/util.cxx
index e9286eca3..ad36259c9 100644
--- a/util.cxx
+++ b/util.cxx
@@ -1757,21 +1757,24 @@ flush_to_stream (const string &fname, ostream &o)
return 1; // Failure
}
+int
+not_isspace(unsigned char c)
+{
+ return !std::isspace(c);
+}
+
// trim from start (in place)
void
ltrim(std::string &s)
{
- s.erase(s.begin(),
- std::find_if(s.begin(), s.end(),
- [](unsigned char c) { return !std::isspace(c); }));
+ s.erase(s.begin(), std::find_if(s.begin(), s.end(), not_isspace));
}
// trim from end (in place)
void
rtrim(std::string &s)
{
- s.erase(std::find_if(s.rbegin(), s.rend(),
- [](unsigned char c) { return !std::isspace(c); }).base(), s.end());
+ s.erase(std::find_if(s.rbegin(), s.rend(), not_isspace).base(), s.end());
}
// trim from both ends (in place)

View File

@ -1,38 +0,0 @@
From: Jonathan Wakely <jwakely.gcc@gmail.com>
Date: Tue, 18 Jan 2022 15:52:18 -0500
Subject: gcc12 c++ compatibility tweak: use lambdas instead of ptr_fun<>
Git-repo: git://sourceware.org/git/systemtap.git
Git-commit: 56c498d95c4749f15980da73b4933e7443b3f26c
References: bsc#1196583
Even while stap is a c++11 code base, such cleanups make code
nicer to look at.
Signed-off-by: Tony Jones <tonyj@suse.de>
---
util.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util.cxx b/util.cxx
index c20f76003..e9286eca3 100644
--- a/util.cxx
+++ b/util.cxx
@@ -1763,7 +1763,7 @@ ltrim(std::string &s)
{
s.erase(s.begin(),
std::find_if(s.begin(), s.end(),
- std::not1(std::ptr_fun<int, int>(std::isspace))));
+ [](unsigned char c) { return !std::isspace(c); }));
}
// trim from end (in place)
@@ -1771,7 +1771,7 @@ void
rtrim(std::string &s)
{
s.erase(std::find_if(s.rbegin(), s.rend(),
- std::not1(std::ptr_fun<int, int>(std::isspace))).base(), s.end());
+ [](unsigned char c) { return !std::isspace(c); }).base(), s.end());
}
// trim from both ends (in place)

View File

@ -1,33 +0,0 @@
From: "Frank Ch. Eigler" <fche@redhat.com>
Date: Thu, 24 Feb 2022 20:05:41 -0500
Subject: gcc12 warning suppression
Git-repo: git://sourceware.org/git/systemtap.git
Git-commit: 1549784e9c71e5bf80860d314e15e6019f899de4
References: bsc#1196583
The translator emits a pair of type declarations that alternate
between a char[] and a char*, depending on the size of strings
involved. The polymorphic client code includes pointer null-checking,
which -Waddress code rejects for the char[] case. The simplest
workaround is just to disable that particular diagnostic.
Signed-off-by: Tony Jones <tonyj@suse.de>
---
buildrun.cxx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/buildrun.cxx b/buildrun.cxx
index 70ccfc30e..492f6bc47 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -604,6 +604,9 @@ compile_pass (systemtap_session& s)
// Suppress gcc12 diagnostic bug in kernel-devel for 5.16ish
o << "EXTRA_CFLAGS += -Wno-infinite-recursion" << endl;
+
+ // Suppress gcc12 diagnostic about STAP_KPROBE_PROBE_STR_* null checks
+ o << "EXTRA_CFLAGS += -Wno-address" << endl;
// PR25845: Recent gcc (seen on 9.3.1) warns fairly common 32-bit pointer-conversions:
o << "EXTRA_CFLAGS += $(call cc-option,-Wno-pointer-to-int-cast)" << endl;

View File

@ -1,26 +0,0 @@
From: Stan Cox <scox@redhat.com>
Date: Tue Dec 7 09:55:01 2021 -0500
Subject: sys/sdt.h fp constraints: aarch64, s390
Git-commit: 209b5a19c6ee30c2db3f6c849620544a851013e8
References: https://build.suse.de/request/show/263498
Signed-off-by: Tony Jones <tonyj@suse.de>
sys/sdt.h fp constraints: aarch64, s390
Remove float constraints as per commit 1d3653936 but for aarch64 and s390.
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index 3e1f00b6c..48cb7263f 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -102,10 +102,6 @@
# define STAP_SDT_ARG_CONSTRAINT nZr
# elif defined __x86_64__
# define STAP_SDT_ARG_CONSTRAINT norx
-# elif defined __aarch64__
-# define STAP_SDT_ARG_CONSTRAINT norw
-# elif defined __s390__ || defined __s390x__
-# define STAP_SDT_ARG_CONSTRAINT norf
# elif defined __arm__
# define STAP_SDT_ARG_CONSTRAINT g
# else

View File

@ -1,23 +0,0 @@
From: Frank Ch. Eigler <fche@redhat.com>
Date: Wed Dec 1 10:59:27 2021 -0500
Subject: RHBZ2026858: on __arm__ (arm32), use STAP_SDT_ARG_CONSTRAINT = G
Git-commit: 34facf7ee6b43dae66cc109973a4eda42e439163
References: https://build.suse.de/request/show/263498
Signed-off-by: Tony Jones <tonyj@suse.de>
RHBZ2026858: on __arm__ (arm32), use STAP_SDT_ARG_CONSTRAINT = g
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index 9ecb1cb6f..28d236d91 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -106,6 +106,8 @@
# define STAP_SDT_ARG_CONSTRAINT norw
# elif defined __s390__ || defined __s390x__
# define STAP_SDT_ARG_CONSTRAINT norf
+# elif defined __arm__
+# define STAP_SDT_ARG_CONSTRAINT g
# else
# define STAP_SDT_ARG_CONSTRAINT nor
# endif

View File

@ -1,31 +0,0 @@
From: Frank Ch. Eigler <fche@redhat.com>
Date: Mon Dec 6 12:06:06 2021 -0500
Subject: sys/sdt.h fp constraints cont'd, x86-64 edition
Git-commit: 1d3653936fc1fd13135a723a27e6c7e959793ad0
References: https://build.suse.de/request/show/263498
Signed-off-by: Tony Jones <tonyj@suse.de>
sys/sdt.h fp constraints cont'd, x86-64 edition
It appears that various versions of gcc continue to show signs of
confusion at our newly offered asm-operand alternatives for floating
point sdt.h marker parameters.
e.g., https://bugzilla.redhat.com/show_bug.cgi?id=2028798
We may need to restore previous constraints broadly, forcing the
compiler to plop floating point parameters into integer storage.
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index 24d5e01c3..3e1f00b6c 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -101,7 +101,7 @@
# if defined __powerpc__
# define STAP_SDT_ARG_CONSTRAINT nZr
# elif defined __x86_64__
-# define STAP_SDT_ARG_CONSTRAINT norfxy
+# define STAP_SDT_ARG_CONSTRAINT norx
# elif defined __aarch64__
# define STAP_SDT_ARG_CONSTRAINT norw
# elif defined __s390__ || defined __s390x__

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80fb7309232b21349db3db2eea6f1561795225e79c1364c4ada8a66e4412faae
size 5588126

View File

@ -1,14 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQHIBAABCAAyFiEEFZsN9xFQuKhTmogC18JWRDzGN8oFAmGSb48UHHNtYWthcm92
QHJlZGhhdC5jb20ACgkQ18JWRDzGN8rRLAwAv7zFrSNpSGpTF/LuYvJy8cweaXco
FL2NR9sCP3u1U8GChsdIfGLY8lzXCl8fsn6H3x4GJOUxCwxIAFMzdoIAVBeR/Xnr
CVgkZQXVodELNrDschkZBe3wkeJybjPXkVeJ3gFE83bc3ug8gjzy30FoPi4PtUX3
kTtVt/EgGO28v3DCd2LNh3aWXmSGa/V/oi5LIG3da6XaIBk044jCCnyy54qPYmYo
I9adxGr+PTOMyGBx1aHCn6aAdIVSIokHjLztRAoWh6zdwknogQm74yYegBwztOHf
DzUyDppompSZ5nwPqLAb+lAJzkj5/ieSE1O+YfH5ecs8UH4946MaSTzNc+ZyxbZ9
zS5N0XflpZ4+oi0kxQQlDAe3CG1i5gNKecGuwpSEJ5V/w5H9KixnGh4R0jZCnErE
YsUiSbOU6Yc4ALmMinOa0AAKyxD2hZjAis5o+FUc42M3uSNOeuZis9/2DayY2Sa8
84Q1jFCzlWUwRgu21HSEfX5ue0zsf4g0grT/
=Q+X0
-----END PGP SIGNATURE-----

3
systemtap-4.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43a0a3db91aa4d41e28015b39a65e62059551f3cc7377ebf3a3a5ca7339e7b1f
size 5611495

BIN
systemtap-4.7.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 13 01:21:04 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.7. See systemtap.spec for changelog
-------------------------------------------------------------------
Thu Jan 27 23:26:36 UTC 2022 - Tony Jones <tonyj@suse.com>

View File

@ -17,14 +17,14 @@
Name: systemtap-docs
Version: 4.6
Version: 4.7
Release: 0
Summary: Documents and examples for systemtap
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: https://sourceware.org/systemtap/
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.sig
Source2: systemtap.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 13 01:21:04 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.7. See systemtap.spec for changelog
-------------------------------------------------------------------
Thu Apr 21 23:43:35 UTC 2022 - Tony Jones <tonyj@suse.com>

View File

@ -20,14 +20,14 @@
%define _rundir %{_localstatedir}/run
%endif
Name: systemtap-dtrace
Version: 4.6
Version: 4.7
Release: 0
Summary: SystemTap dtrace utility
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: http://sourceware.org/systemtap/
Source0: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source1: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.sig
Source2: systemtap.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Sep 13 01:21:04 UTC 2022 - Tony Jones <tonyj@suse.com>
- Upgrade to version 4.7. See systemtap.spec for changelog
- Remove patches (upstream):
Handle-user-supplied-sdt-probe-argument-template.patch
PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
gcc12-warning-suppression.patch
sys-sdt.h-fp-constraints-aarch64-s390.patch
sys-sdt.h-fp-constraints-arm32.patch
sys-sdt.h-fp-constraints-x86_64.patch
-------------------------------------------------------------------
Wed Mar 2 19:19:36 UTC 2022 - Tony Jones <tonyj@suse.com>

View File

@ -24,28 +24,19 @@
%define _rundir %{_localstatedir}/run
%endif
Name: systemtap-headers
Version: 4.6
Version: 4.7
Release: 0
Summary: SystemTap headers
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: http://sourceware.org/systemtap/
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.sig
Source2: systemtap.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING
Source5: stap-server.conf
Patch1: systemtap-build-source-dir.patch
Patch2: sys-sdt.h-fp-constraints-arm32.patch
Patch3: sys-sdt.h-fp-constraints-x86_64.patch
Patch4: sys-sdt.h-fp-constraints-aarch64-s390.patch
Patch5: Handle-user-supplied-sdt-probe-argument-template.patch
Patch6: PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
Patch7: gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
Patch8: gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
Patch9: buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
Patch10: gcc12-warning-suppression.patch
# sdt-devel provides the same header files as us, so we
# must conflict

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Sep 13 00:13:36 UTC 2022 - Tony Jones <tonyj@suse.com>
- Update to version 4.7
Release notes: https://sourceware.org/pipermail/systemtap/2022q2/027491.html
- Remove patches (upstream):
Handle-user-supplied-sdt-probe-argument-template.patch
PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
gcc12-warning-suppression.patch
sys-sdt.h-fp-constraints-aarch64-s390.patch
sys-sdt.h-fp-constraints-arm32.patch
sys-sdt.h-fp-constraints-x86_64.patch
- Update systemtap.keyring
-------------------------------------------------------------------
Wed Mar 2 19:19:36 UTC 2022 - Tony Jones <tonyj@suse.com>

View File

@ -1,41 +1,41 @@
-----BEGIN PGP PUBLIC K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Vk3PjwjHOGQvJOLR6FIpX9NvY8j8IKooRGnTuI00TYR
skQNFKRodmM7bjrRABEBAAGJAR8EGAEIAAkFAlJWrakCGyAACgkQfoNhASbcwuh+
+gf9EjXVCzVLdgcy4wz3tGBtYPfiliA4dkk+XctIZ+arxwii6R8QJ33WtUGpzYZT
++KalcOlWVEkb8hlCx/9MDurevUYIj8XQ3QeckpYBjUWD03qgrSrEQoTC9AjOxx8
oTacQ/8fEKNkoHBdSK/3HXZUyVBvYSw8kiz3iZIluWJWf6oH95W9csRmI981oBl4
UWVVfOSzo94NbsbcWVy3MfZBQtO8cHdjd4YF+j5b3Ev1oa/BeH9AIz6OLxV3t/ac
4qqP9I4dmevgOu//sZdOFcvgldcK1+Ht/oFEJK6OqRHelzo+w/RQEnmzMjeITG4S
ak8AOfGf0TkyWlnxRPU/LRr7Zg==
=B6Nz
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -20,28 +20,19 @@
%define _rundir %{_localstatedir}/run
%endif
Name: systemtap
Version: 4.6
Version: 4.7
Release: 0
Summary: Instrumentation System
License: GPL-2.0-or-later
Group: Development/Tools/Debuggers
URL: https://sourceware.org/systemtap/
Source0: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source1: https://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source3: README-BEFORE-ADDING-PATCHES
Source4: README-KEYRING
Source5: stap-server.conf
Patch1: systemtap-build-source-dir.patch
Patch2: sys-sdt.h-fp-constraints-arm32.patch
Patch3: sys-sdt.h-fp-constraints-x86_64.patch
Patch4: sys-sdt.h-fp-constraints-aarch64-s390.patch
Patch5: Handle-user-supplied-sdt-probe-argument-template.patch
Patch6: PR28778-gcc-warning-tweak-for-sprintf-precision-parameter.patch
Patch7: gcc12-c-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
Patch8: gcc12-c-compatibility-re-tweak-for-rhel6-use-function-pointer-instead-of-lambdas-instead-of-ptr_fun.patch
Patch9: buildrun-for-LKM-backend-add-Wno-infinite-recursion.patch
Patch10: gcc12-warning-suppression.patch
BuildRequires: autoconf
BuildRequires: automake
@ -141,6 +132,7 @@ install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}
%files
%defattr(-,root,root)
%{_bindir}/stap
%{_bindir}/stap-profile-annotate
%{_mandir}/man[17]/*
%{_mandir}/cs/man[17]/*
%dir %{_datadir}/%{name}