systemtap: upgrade 5.0 -> 5.1
PATCH 1/1 systemtap: upgrade 5.0 -> 5.1
removed all backported patches
Signed-off-by Victor Kamensky <[email protected]>
--- ...ve-runtime-linux-uprobes-and-runtime.patch | 40 --------------- ...x-fix-build-against-upcoming-gcc-14-.patch | 40 --------------- ...-broken-libdebuginfod-library-auto-d.patch | 51 ------------------- .../0001-prerelease-datestamp-fixes.patch | 23 --------- ...d-against-upcoming-gcc-14-Werror-cal.patch | 36 ------------- .../systemtap/systemtap_git.inc | 9 +--- 6 files changed, 2 insertions(+), 197 deletions(-) delete mode 100644 meta/recipes-kernel/systemtap/systemtap/0001-Makefile.am-remove-runtime-linux-uprobes-and-runtime.patch delete mode 100644 meta/recipes-kernel/systemtap/systemtap/0001-bpf-translate.cxx-fix-build-against-upcoming-gcc-14-.patch delete mode 100644 meta/recipes-kernel/systemtap/systemtap/0001-configure.ac-fix-broken-libdebuginfod-library-auto-d.patch delete mode 100644 meta/recipes-kernel/systemtap/systemtap/0001-prerelease-datestamp-fixes.patch delete mode 100644 meta/recipes-kernel/systemtap/systemtap/0001-staprun-fix-build-against-upcoming-gcc-14-Werror-cal.patch
meta/recipes-kernel/systemtap/systemtap/0001-Makefile.am-remove-runtime-linux-uprobes-and-runtime.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 5a01e28bd806326b2143e3e6bb28d4780c5d879d Mon Sep 17 00:00:00 2001 -From: Victor Kamensky <[email protected]> -Date: Sun, 3 Dec 2023 18:40:05 -0800 -Subject: [PATCH] Makefile.am: remove runtime/linux/uprobes and - runtime/linux/uprobes2 install - -"PR30434 continuation: Removed old uprobes, uprobes2 implementation, -uprobes-inc.h & any mentions of CONFIG_UTRACE." commit removed uprobes, -and uprobes2 sources and directories, but Makefile.am still tries to -install them. In fact after failing to 'cd' into runtime/linux/uprobes -directory it copies top level *.[ch] files into -${prefix}/share/systemtap/runtime/linux/uprobes directory. - -The issue was caught by OpenEmbedded project do_package_qa checks. - -Signed-off-by: Victor Kamensky <[email protected]> - -Upstream-Status: Submitted [https://sourceware.org/pipermail/systemtap/2023q4/027880.html] ---- - Makefile.am | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 5737c6b20..2ba896088 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -277,10 +277,6 @@ endif - do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/softfloat/$$f; done) - (cd $(srcdir)/runtime/linux; for f in *.[ch]; \ - do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/linux/$$f; done) -- (cd $(srcdir)/runtime/linux/uprobes; for f in Makefile *.[ch]; \ -- do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/linux/uprobes/$$f; done) -- (cd $(srcdir)/runtime/linux/uprobes2; for f in *.[ch]; \ -- do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/linux/uprobes2/$$f; done) - (cd $(srcdir)/tapset; find . \( -name '*.stp' -o -name '*.stpm' -o -name README \) -print \ - | while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/tapset/$$f; done) - (cd $(srcdir)/testsuite/systemtap.examples; find . -type f -print \ --- -2.31.1 -
meta/recipes-kernel/systemtap/systemtap/0001-bpf-translate.cxx-fix-build-against-upcoming-gcc-14-.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From d42139cf9cd26d0c0363fcfe007716baeb8de517 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich <[email protected]> -Date: Fri, 22 Dec 2023 19:42:38 +0000 -Subject: [PATCH] bpf-translate.cxx: fix build against upcoming `gcc-14` - (`-Werror=calloc-transposed-args`) - -`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It -detected minor infelicity in `calloc()` API usage in `systemtap`: - - bpf-translate.cxx: In function 'bpf::BPF_Section* bpf::output_probe(BPF_Output&, program&, const std::string&, unsigned int)': - bpf-translate.cxx:5044:39: error: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] - 5044 | bpf_insn *buf = (bpf_insn*) calloc (sizeof(bpf_insn), ninsns); - | ^~~~~~~~~~~~~~~~ - bpf-translate.cxx:5044:39: note: earlier argument should specify number of elements, later size of each element - -Upstream-Status: Backport [https://sourceware.org/git/?p=systemtap.git;a=commit;h=d42139cf9cd26d0c0363fcfe007716baeb8de517] -Signed-off-by: Khem Raj <[email protected]> ---- - bpf-translate.cxx | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/bpf-translate.cxx b/bpf-translate.cxx -index 1a9302463..aa8ef65ce 100644 ---- a/bpf-translate.cxx -+++ b/bpf-translate.cxx -@@ -5041,9 +5041,9 @@ output_probe(BPF_Output &eo, program &prog, - } - } - -- bpf_insn *buf = (bpf_insn*) calloc (sizeof(bpf_insn), ninsns); -+ bpf_insn *buf = (bpf_insn*) calloc (ninsns, sizeof(bpf_insn)); - assert (buf); -- Elf64_Rel *rel = (Elf64_Rel*) calloc (sizeof(Elf64_Rel), nreloc); -+ Elf64_Rel *rel = (Elf64_Rel*) calloc (nreloc, sizeof(Elf64_Rel)); - assert (rel); - - unsigned i = 0, r = 0; --- -2.43.0 -
meta/recipes-kernel/systemtap/systemtap/0001-configure.ac-fix-broken-libdebuginfod-library-auto-d.patch deleted +0 -51
51 lines not on this page · raw message
meta/recipes-kernel/systemtap/systemtap/0001-prerelease-datestamp-fixes.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From cfc2c1d53924face11e3fab78ded61c359778eb9 Mon Sep 17 00:00:00 2001 -From: "Frank Ch. Eigler" <[email protected]> -Date: Sat, 4 Nov 2023 12:19:59 -0400 -Subject: [PATCH] prerelease datestamp fixes - -Upstream-Status: Backport ---- - NEWS | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/NEWS b/NEWS -index c7f31e8b7..f0f9056c4 100644 ---- a/NEWS -+++ b/NEWS -@@ -1,4 +1,4 @@ --* What's new in version 5.0, 2023-11-03 -+* What's new in version 5.0, 2023-11-04 - - - Performance improvements in uprobe registration and module startup. - --- -2.31.1 -
meta/recipes-kernel/systemtap/systemtap/0001-staprun-fix-build-against-upcoming-gcc-14-Werror-cal.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 52596f023652114642faba5726c99488529029ce Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich <[email protected]> -Date: Thu, 21 Dec 2023 10:00:06 +0000 -Subject: [PATCH] staprun: fix build against upcoming `gcc-14` - (`-Werror=calloc-transposed-args`) - -`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It -detected minor infelicity in `calloc()` API usage in `systemtap`: - - staprun.c: In function 'main': - staprun.c:550:50: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] - 550 | char ** new_argv = calloc(sizeof(char *),argc+2); - | ^~~~ - -Upstream-Status: Backport [https://sourceware.org/git/?p=systemtap.git;a=commit;h=52596f023652114642faba5726c99488529029ce] -Signed-off-by: Khem Raj <[email protected]> ---- - staprun/staprun.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/staprun/staprun.c b/staprun/staprun.c -index 8437f3af6..d1b0b221b 100644 ---- a/staprun/staprun.c -+++ b/staprun/staprun.c -@@ -547,7 +547,7 @@ int main(int argc, char **argv) - us to extend argv[], with all the C fun that entails. */ - #ifdef HAVE_OPENAT - if (relay_basedir_fd >= 0) { -- char ** new_argv = calloc(sizeof(char *),argc+2); -+ char ** new_argv = calloc(argc+2, sizeof(char *)); - const int new_Foption_size = 10; /* -FNNNNN */ - char * new_Foption = malloc(new_Foption_size); - int i; --- -2.43.0 -
meta/recipes-kernel/systemtap/systemtap_git.inc +2 -7
@@ -1,17 +1,12 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRCREV = "e72dc118e563c645d93a1a2d771e8d90e8fec1ae" -PV = "5.0" +SRCREV = "3a0c9c15163520dd0d9ab07177da62ce9cc2332f" +PV = "5.1" SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master;protocol=https \ file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \ file://0001-Install-python-modules-to-correct-library-dir.patch \ file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \ - file://0001-Makefile.am-remove-runtime-linux-uprobes-and-runtime.patch \ - file://0001-prerelease-datestamp-fixes.patch \ - file://0001-configure.ac-fix-broken-libdebuginfod-library-auto-d.patch \ - file://0001-bpf-translate.cxx-fix-build-against-upcoming-gcc-14-.patch \ - file://0001-staprun-fix-build-against-upcoming-gcc-14-Werror-cal.patch \ " COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux'
Signature · 1 line
2.45.1