Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
d1a44134b1
!24 Add support for ppc64le
From: @peng_zou 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-02-19 07:29:49 +00:00
peng.zou
d595d7e9a5 Add support for ppc64le 2024-02-19 15:11:35 +08:00
openeuler-ci-bot
47d090bf67
!19 backport上游补丁支持riscv64架构上的构建
From: @laokz 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-07-12 11:25:59 +00:00
laokz
8325327418 backport riscv64 patch 2023-07-07 11:36:17 +08:00
openeuler-ci-bot
3b16b84f9e
!15 ltrace: Add suppot for loongarch
From: @Lh03061238 
Reviewed-by: @Charlie_li, @gitee-cmd 
Signed-off-by: @Charlie_li
2022-12-22 03:54:10 +00:00
Hui Li
badf983b52 ltrace: Add suppot for loongarch
Signed-off-by: Hui Li <lihui@loongson.cn>
2022-12-19 01:23:48 +08:00
openeuler-ci-bot
02ce08cab3 !11 Initialize 'nrhs' to avoid gcc warning
From: @ultra_planet
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-01-11 15:57:11 +08:00
lingsheng
b6ae236607 Initialize 'nrhs' to avoid gcc warning 2021-01-11 15:04:26 +08:00
openeuler-ci-bot
4e448d30f1 !6 Modify yaml file
Merge pull request !6 from jeff200902/master
2020-07-20 14:31:50 +08:00
jeff200902
d12535e64e modify yaml 2020-07-18 09:29:27 +08:00
6 changed files with 3433 additions and 3 deletions

View File

@ -0,0 +1,29 @@
From dac8e133866684c2e090f9922871dc3e3b501a30 Mon Sep 17 00:00:00 2001
From: lingsheng <lingsheng@huawei.com>
Date: Mon, 11 Jan 2021 14:27:49 +0800
Subject: [PATCH] Initialize 'nrhs' to avoid gcc warning
---
expr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/expr.c b/expr.c
index 4059a32..01851c8 100644
--- a/expr.c
+++ b/expr.c
@@ -189,10 +189,10 @@ int
expr_clone(struct expr_node *retp, const struct expr_node *node)
{
*retp = *node;
+ struct expr_node *nlhs;
+ struct expr_node *nrhs = NULL;
switch (node->kind) {
- struct expr_node *nlhs;
- struct expr_node *nrhs;
case EXPR_OP_ARGNO:
case EXPR_OP_SELF:
--
2.23.0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
From 0590717edcc0b209690d26942bd935c23b4cb7d3 Mon Sep 17 00:00:00 2001
From: "peng.zou" <peng.zou@shingroup.cn>
Date: Tue, 19 Dec 2023 14:54:11 +0800
Subject: [PATCH] ltrace-0.7.91-add-support-for-ppc64le
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 852f201..fb030f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ case "${host_cpu}" in
cris*) HOST_CPU="cris" ;;
loongarch*) HOST_CPU="loongarch" ;;
mips*) HOST_CPU="mips" ;;
- powerpc|powerpc64) HOST_CPU="ppc" ;;
+ powerpc|powerpc64*) HOST_CPU="ppc" ;;
riscv64) HOST_CPU="riscv64" ;;
sun4u|sparc64) HOST_CPU="sparc" ;;
s390x) HOST_CPU="s390" ;;
@@ -216,7 +216,7 @@ if test x"$enable_libunwind" = xyes; then
arm*|sa110) UNWIND_ARCH="arm" ;;
i?86) UNWIND_ARCH="x86" ;;
powerpc) UNWIND_ARCH="ppc32" ;;
- powerpc64) UNWIND_ARCH="ppc64" ;;
+ powerpc64*) UNWIND_ARCH="ppc64" ;;
mips*) UNWIND_ARCH="mips" ;;
loongarch*) UNWIND_ARCH="loongarch" ;;
riscv*) UNWIND_ARCH="riscv" ;;
--
2.33.0

View File

@ -1,6 +1,6 @@
name: ltrace
Version: 0.7.91
Release: 30
Release: 34
Summary: Trace the Library and System Calls a Program Makes
License: GPLv2+
@ -29,6 +29,12 @@ Patch9000: bugfix-0001-ltrace-0.7.91-aarch64_be-compile-support.patch
Patch9001: bugfix-0001-ltrace-byteswap-instruction-in-arm-be8-mode.patch
Patch9002: bugfix-for-use-after-free-about-soname.patch
Patch9003: fix-null-directive-argument.patch
Patch9004: Initialize-nrhs-to-avoid-gcc-warning.patch
# patch for arches
Patch8000: ltrace-0.7.91-add-support-for-loongarch.patch
Patch8001: ltrace-0.7.91-add-initial-riscv64-support.patch
Patch8002: ltrace-0.7.91-add-support-for-ppc64le.patch
BuildRequires: elfutils-devel dejagnu libselinux-devel autoconf automake libtool
@ -74,6 +80,18 @@ autoreconf -i
%{_mandir}/man5/ltrace.conf.5*
%changelog
* Tue Dec 19 2023 peng.zou <peng.zou@shingroup.cn> - 0.7.91-34
- Add support for ppc64le
* Fri Jul 07 2023 laokz <zhangkai@iscas.ac.cn> - 0.7.91-33
- Backport riscv64 patch
* Thu Dec 15 2022 Hui Li <lihui@loongson.cn> - 0.7.91-32
- Add support for loongarch
* Mon Jan 11 2021 lingsheng <lingsheng@huawei.com> - 0.7.91-31
- Initialize 'nrhs' to avoid gcc warning
* Sat May 16 2020 Senlin Xia <xiasenlin1@huawei.com> - 0.7.91-30
- fix the error: "%s" directive argument is NULL [-Werror=format-overflow=]

View File

@ -1,4 +1,4 @@
version-ctrl: git
version_control: git
src_repo: https://gitlab.com/cespedes/ltrace.git/
tag_prefix: NA
tag_prefix: ""
seperator: "."