build: systemtap 4.7

From 4.6, SystemTap now supports 64-bit RISC-V.

* What's new in version 4.6, 2021-11-15
- SystemTap has added support for the 64-bit RISC-V architecture.
This commit is contained in:
fanquake 2022-06-13 14:26:20 +01:00
parent 5174a139c9
commit b8c146b877
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1
2 changed files with 11 additions and 15 deletions

View File

@ -1,8 +1,8 @@
package=systemtap package=systemtap
$(package)_version=4.5 $(package)_version=4.7
$(package)_download_path=https://sourceware.org/systemtap/ftp/releases/ $(package)_download_path=https://sourceware.org/systemtap/ftp/releases/
$(package)_file_name=$(package)-$($(package)_version).tar.gz $(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=75078ed37e0dd2a769c9d1f9394170b2d9f4d7daa425f43ca80c13bad6cfc925 $(package)_sha256_hash=43a0a3db91aa4d41e28015b39a65e62059551f3cc7377ebf3a3a5ca7339e7b1f
$(package)_patches=remove_SDT_ASM_SECTION_AUTOGROUP_SUPPORT_check.patch $(package)_patches=remove_SDT_ASM_SECTION_AUTOGROUP_SUPPORT_check.patch
define $(package)_preprocess_cmds define $(package)_preprocess_cmds

View File

@ -1,19 +1,15 @@
commit b92d4c121486f3c6e8a2cea537c53eb09894479a Remove _SDT_ASM_SECTION_AUTOGROUP_SUPPORT check
Author: 0xb10c <0xb10c@gmail.com>
Date: Tue Dec 7 11:02:07 2021 +0100
Remove _SDT_ASM_SECTION_AUTOGROUP_SUPPORT check We assume that the assembler supports "?" in .pushsection directives.
This enables us to skip configure and make.
We assume that the assembler supports "?" in .pushsection directives.
This enables us to skip configure and make. See https://github.com/bitcoin/bitcoin/issues/23297.
See https://github.com/bitcoin/bitcoin/issues/23297.
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index 97766e710..352b4ee25 100644 index ca0162b..f96e0ee 100644
--- a/includes/sys/sdt.h --- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h +++ b/includes/sys/sdt.h
@@ -230,12 +230,10 @@ __extension__ extern unsigned long long __sdt_unsp; @@ -241,12 +241,10 @@ __extension__ extern unsigned long long __sdt_unsp;
nice with code in COMDAT sections, which comes up in C++ code. nice with code in COMDAT sections, which comes up in C++ code.
Without that assembler support, some combinations of probe placements Without that assembler support, some combinations of probe placements
in certain kinds of C++ code may produce link-time errors. */ in certain kinds of C++ code may produce link-time errors. */
@ -27,5 +23,5 @@ index 97766e710..352b4ee25 100644
-# define _SDT_ASM_AUTOGROUP "" -# define _SDT_ASM_AUTOGROUP ""
-#endif -#endif
#define _SDT_ASM_BODY(provider, name, pack_args, args) \ #define _SDT_DEF_MACROS \
_SDT_ASM_1(990: _SDT_NOP) \ _SDT_ASM_1(.altmacro) \