Created attachment 921475 [details, diff] All commits between the 5.2 release tag and the latest available at time of writing (ee482f311) on the master branch. Supports Linux 6.13. Systemstap 5.2 is broken by Linux 6.13 (upstream is aware og this). Any attempt to compile a systemtap script under a Linux 6.13 kernel miserably fails like this: # stap -d /lib/modules/6.13.7-gentoo/kernel/drivers/gpu/drm/imagination/powervr.ko --ldd mod_powervr_empty.stp <command-line>: fatal error: /tmp/stapNB9Wvg/stapconf_203adc11d41bf5a9ae9020d0784199e7_740.h: No such file or directory <command-line>: fatal error: /tmp/stapNB9Wvg/stapconf_203adc11d41bf5a9ae9020d0784199e7_740.h: No such file or directory compilation terminated. compilation terminated. make[2]: *** [/usr/src/linux-6.13.7-gentoo/scripts/Makefile.build:196: stap_ebf0257f6fcb955c562f753025896ea4_1322_src.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/usr/src/linux-6.13.7-gentoo/scripts/Makefile.build:196: stap_ebf0257f6fcb955c562f753025896ea4_1322_aux_0.o] Error 1 <command-line>: fatal error: /tmp/stapNB9Wvg/stapconf_203adc11d41bf5a9ae9020d0784199e7_740.h: No such file or directory compilation terminated. make[2]: *** [/usr/src/linux-6.13.7-gentoo/scripts/Makefile.build:196: stap_symbols.o] Error 1 make[1]: *** [/usr/src/linux-6.13.7-gentoo/Makefile:1991: .] Error 2 make: *** [Makefile:251: __sub-make] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] Kernel version 6.13.7 is outside tested range 3.10 ... 6.12-rc The master branch shows several commits since the "5.2" tag (november 2024). As of today the list of those is: ee482f311 session.cxx: note kernel 6.14-rc is compatible 1bd86de44 PR32788: parallelize pass-1 f892ad265 systemtap.spec: Only run sysusers creation scriptlets in Fedora <= 41 1b6ef910d RHBZ2350935: man/dtrace.1: document $CFLAGS transcription adfb80199 PR32735: gcc<5 compatibility for __counted_by 002291a50 PR32697: Enable discovery of Linux 6.13 syscall tracepoints 22661ef17 Update const_value.exp C code to work with GCC15 c7a5dd2bc Tcl 9.0 removed the ecnoding alias "binary" (TIP 699) de7cbed94 PR32695: Disable GCC15 static checks for strcmp in runtime/linux/kprobes.c 09cbabd3b Change the K&R C function definitions into modern C definitions 668bf61a6 Ensure that the character arrays have space for terminating NULL character cc7871dfa PR32652: build compatibility with -Werror + dyninst 13 + gcc14 d991e4510 PR32607: undefeat stapconf_HASH caching 7a71d34b1 systemtap.spec: disable %check by default 3efe129d3 systemtap.spec: for %check smoketest, hard BuildRequire kernel-devel 9a48fbeaa post-release version bump -> 5.3 1e894ff07 linux 6.13 compatibility: uprobes callback functions 9f3525852 (buildbot bump4) 2abd24397 (buildbot bump3) 54852ef83 (buildbot bump2) cb126f7ca (buildbot bump) e8d792917 runtime: gcc-15 -Werror=unterminated-string-initialization workarounds 895d8cf3f Revert "add support of compilation against clang and llvm's libc++" 048ee97b8 PR32458: rawhide (6.13) kbuild compatibility 92cab565e configury: regenerate on fedora 41 8720eabb3 testsuite: tracepoint_list.exp: skip active probes 3ea6a1be6 PR32524 cont'd: regenerate configury 82a4b3b94 operator==() is supposed to be a const-method, at least c++20 requires 371b8390d add support of compilation against clang and llvm's libc++ ebee5ff5b PR32458: linux 6.13/fedora compatibility acb89ee65 PR32458 related: add a spec %check e1a061d47 Revert "PR32458: try workaround for kbuild Makefile.rhelver regression in fedora 6.13" 0dc56d8a4 PR32458: try workaround for kbuild Makefile.rhelver regression in fedora 6.13 992cc31dc RHBZ2333874: testsuite: add stap self-test to environment_sanity.exp ba755169b PR32401: support additional c++ language codes 947309a32 PR32302: Move forward decls to tracepoint_extra_decls() 69b362a79 Reduce the emacs dependencies to the bare minimum 8b87bd584 PR32302: Emit forward decls within tracepoint_derived_probe_group() too I have applied the full differences set between 3a92ffe67 (tag: release-5.2) and the latest commit available this evening which is ee482f311 on the master branch. Systemtap compiles and works fine on my AMD64 and RISC-V machines all running under =sys-kernel/gentoo-sources-6.13.7. Used patchset attached for the convenience.
Yeah, I think we should really consider regularly doing snapshots for systemtap.