From b4ea948550e76d59d9d5cc62a9741c6225b8fb50 Mon Sep 17 00:00:00 2001 From: Guost123 Date: Sun, 27 Apr 2025 16:58:58 +0800 Subject: [PATCH 1/3] adapt for riscv64 --- systemtap.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/systemtap.spec b/systemtap.spec index f311c75..6ae6bbc 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -1,14 +1,18 @@ -%define anolis_release 3 +%define anolis_release 4 %bcond_without rpm %bcond_without bpf +%ifarch ppc ppc64 %{sparc} %{mips} %{riscv} +%bcond_with crash +%else %bcond_without crash +%endif %bcond_without dracut %bcond_without sqlite %bcond_without monitor -%ifarch loongarch64 -%bcond_with dyninst -%else +%ifarch %{ix86} x86_64 ppc ppc64 ppc64le aarch64 %bcond_without dyninst +%else +%bcond_with dyninst %endif %bcond_without systemd %bcond_without python3 @@ -1275,6 +1279,9 @@ exit 0 # ------------------------------------------------------------------------ %changelog +* Sun Apr 27 2025 Shangtong Guo - 5.2-4 +- add support for riscv64 build + * Fri Apr 11 2025 mgb01105731 - 5.2-3 - Supply /usr/bin/dtrace in sdt-devel subrpm too -- Gitee From 61d230a6574fe7728eb1fad18464fc31b7e45fe4 Mon Sep 17 00:00:00 2001 From: Guost123 Date: Tue, 6 May 2025 10:39:48 +0800 Subject: [PATCH 2/3] adapt for riscv64 --- systemtap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemtap.spec b/systemtap.spec index 6ae6bbc..7f1ba39 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -9,7 +9,7 @@ %bcond_without dracut %bcond_without sqlite %bcond_without monitor -%ifarch %{ix86} x86_64 ppc ppc64 ppc64le aarch64 +%ifarch %{ix86} x86_64 aarch64 %bcond_without dyninst %else %bcond_with dyninst -- Gitee From eafb49e26099906d277f191858dd00d0c1cfedc3 Mon Sep 17 00:00:00 2001 From: Guost123 Date: Thu, 8 May 2025 11:39:45 +0800 Subject: [PATCH 3/3] adapt for riscv64 --- systemtap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemtap.spec b/systemtap.spec index 7f1ba39..3f68773 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -1,7 +1,7 @@ %define anolis_release 4 %bcond_without rpm %bcond_without bpf -%ifarch ppc ppc64 %{sparc} %{mips} %{riscv} +%ifarch %{riscv} %bcond_with crash %else %bcond_without crash -- Gitee