Skip to contentSkip to conversation

strace: Bumps version to 4.18.

PATCH New Evgeniy Didin 3 participants 3 messages Jul 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 strace: Bumps version to 4.18.

This patch bumps strace package to 4.18 upstream version.

Important notes:
1)0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch has been removed
because it is part of 4.18.

Cc Alexey Brodkin <[email protected]>
Cc arc-buildroot at synopsys.com
Cc Thomas Petazzoni <[email protected]>
---
 ...os2-arch_regs-fix-nios2_sp_ptr-definition.patch | 43 ----------------------
 package/strace/strace.hash                         |  4 +-
 package/strace/strace.mk                           |  2 +-
 3 files changed, 3 insertions(+), 46 deletions(-)
 delete mode 100644 package/strace/0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch
package/strace/0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch deleted +0 -43
deleted file mode 100644
index 7ba03b57e..000000000
@@ -1,43 +0,0 @@
-From 8a1f47f7963991e5b039282769d0a798d36f9e45 Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-Date: Tue, 4 Jul 2017 18:06:14 +0200
-Subject: [PATCH] nios2/arch_regs: fix nios2_sp_ptr definition
-
-The patch [1] introduced in strace 1.17s use the old way of accessing
-SP register as defined for kernel headers < 4.0. The kernel headers
-for nios2 have been changed in commit [2].
-
-This patch updates strace to use the new kernel/userspace interface.
-
-Fixes:
-http://autobuild.buildroot.net/results/b9f/b9fc25b82f3280872fe1593ac252a8529ba83576
-
-[1] https://github.com/strace/strace/commit/6117728aacf431a3e3c05761766c776874cc0861
-[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=92d5dd8cd6e2b211d32d8fbc6cf4b7470765a09f
-
-Signed-off-by: Romain Naour <[email protected]>
----
- linux/nios2/arch_regs.c | 2 +-
- linux/nios2/arch_regs.h | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/linux/nios2/arch_regs.c b/linux/nios2/arch_regs.c
-index 8a668bc..c18a3aa 100644
---- a/linux/nios2/arch_regs.c
-+++ b/linux/nios2/arch_regs.c
-@@ -1,4 +1,4 @@
- static struct user_pt_regs nios2_regs;
--unsigned long *const nios2_sp_ptr = &nios2_regs.sp;
-+unsigned int *const nios2_sp_ptr = &nios2_regs.regs[PTR_SP];
- # define ARCH_REGS_FOR_GETREGSET nios2_regs
- #define ARCH_PC_REG nios2_regs.regs[PTR_EA]
-diff --git a/linux/nios2/arch_regs.h b/linux/nios2/arch_regs.h
-index 7f344b5..c4230ed 100644
---- a/linux/nios2/arch_regs.h
-+++ b/linux/nios2/arch_regs.h
-@@ -1 +1 @@
--extern unsigned long *const nios2_sp_ptr;
-+extern unsigned int *const nios2_sp_ptr;
--- 
-2.9.4
-
package/strace/strace.hash +2 -2
index fbd93202b..b5c4c7932 100644
@@ -1,3 +1,3 @@
 # From https://sourceforge.net/projects/strace/files/strace/4.17/
-md5	8d7eb10eba68bad83a269197e634b626	strace-4.17.tar.xz
-sha1	a60558a10757e41a39ee9e357d1d03d91d5d94d8	strace-4.17.tar.xz
+md5	3579b3266bb096cebaefbe2cdb1a3a78	strace-4.18.tar.xz
+sha1	ac2e6f746260dd71f6d22920d9ca8f4bfbe708a8	strace-4.18.tar.xz
package/strace/strace.mk +1 -1
index 119c9f564..c4c45233c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-STRACE_VERSION = 4.17
+STRACE_VERSION = 4.18
 STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
 STRACE_SITE = http://downloads.sourceforge.net/project/strace/strace/$(STRACE_VERSION)
 STRACE_LICENSE = BSD-3-Clause
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 strace: Bumps version to 4.18.

Hi Evgeniy,

Le 14/07/2017 ? 15:45, Evgeniy Didin a ?crit :

Quoted 5 lines

This patch bumps strace package to 4.18 upstream version.

Important notes:
1)0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch has been removed
because it is part of 4.18.

There is the same issue on arc like the one fixed on nios2, see
http://autobuild.buildroot.net/results/8be/8be75df1b4d6737b3957cfc57c5a2487f2119fcb/build-end.log

Actually several architecture (or1k, nios2, metag, avr32 and arc) are affected by the same issue due to a patch series applied on strace 4.17 (patches named:
"<arch>: export <arch>_sp_ptr").

If the same fix applied on nios2 is applied for arc, it doesn't allow to build with older kernel headers (< 4.1).

Can you take a look ?

Best regards,
Romain

Quoted 86 lines
Cc Alexey Brodkin <[email protected]>
Cc arc-buildroot at synopsys.com
Cc Thomas Petazzoni <[email protected]>
---
 ...os2-arch_regs-fix-nios2_sp_ptr-definition.patch | 43 ----------------------
 package/strace/strace.hash                         |  4 +-
 package/strace/strace.mk                           |  2 +-
 3 files changed, 3 insertions(+), 46 deletions(-)
 delete mode 100644 package/strace/0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch
package/strace/0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch deleted +0 -43
deleted file mode 100644
index 7ba03b57e..000000000
@@ -1,43 +0,0 @@
-From 8a1f47f7963991e5b039282769d0a798d36f9e45 Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-Date: Tue, 4 Jul 2017 18:06:14 +0200
-Subject: [PATCH] nios2/arch_regs: fix nios2_sp_ptr definition
-
-The patch [1] introduced in strace 1.17s use the old way of accessing
-SP register as defined for kernel headers < 4.0. The kernel headers
-for nios2 have been changed in commit [2].
-
-This patch updates strace to use the new kernel/userspace interface.
-
-Fixes:
-http://autobuild.buildroot.net/results/b9f/b9fc25b82f3280872fe1593ac252a8529ba83576
-
-[1] https://github.com/strace/strace/commit/6117728aacf431a3e3c05761766c776874cc0861
-[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=92d5dd8cd6e2b211d32d8fbc6cf4b7470765a09f
-
-Signed-off-by: Romain Naour <[email protected]>
----
- linux/nios2/arch_regs.c | 2 +-
- linux/nios2/arch_regs.h | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/linux/nios2/arch_regs.c b/linux/nios2/arch_regs.c
-index 8a668bc..c18a3aa 100644
---- a/linux/nios2/arch_regs.c
-+++ b/linux/nios2/arch_regs.c
-@@ -1,4 +1,4 @@
- static struct user_pt_regs nios2_regs;
--unsigned long *const nios2_sp_ptr = &nios2_regs.sp;
-+unsigned int *const nios2_sp_ptr = &nios2_regs.regs[PTR_SP];
- # define ARCH_REGS_FOR_GETREGSET nios2_regs
- #define ARCH_PC_REG nios2_regs.regs[PTR_EA]
-diff --git a/linux/nios2/arch_regs.h b/linux/nios2/arch_regs.h
-index 7f344b5..c4230ed 100644
---- a/linux/nios2/arch_regs.h
-+++ b/linux/nios2/arch_regs.h
-@@ -1 +1 @@
--extern unsigned long *const nios2_sp_ptr;
-+extern unsigned int *const nios2_sp_ptr;
--- 
-2.9.4
-
package/strace/strace.hash +2 -2
index fbd93202b..b5c4c7932 100644
@@ -1,3 +1,3 @@
 # From https://sourceforge.net/projects/strace/files/strace/4.17/
-md5	8d7eb10eba68bad83a269197e634b626	strace-4.17.tar.xz
-sha1	a60558a10757e41a39ee9e357d1d03d91d5d94d8	strace-4.17.tar.xz
+md5	3579b3266bb096cebaefbe2cdb1a3a78	strace-4.18.tar.xz
+sha1	ac2e6f746260dd71f6d22920d9ca8f4bfbe708a8	strace-4.18.tar.xz
package/strace/strace.mk +1 -1
index 119c9f564..c4c45233c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-STRACE_VERSION = 4.17
+STRACE_VERSION = 4.18
 STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
 STRACE_SITE = http://downloads.sourceforge.net/project/strace/strace/$(STRACE_VERSION)
 STRACE_LICENSE = BSD-3-Clause
#2 lore raw

PATCH 1/1 strace: Bumps version to 4.18.

In reply to Evgeniy Didin

Hello,

Quoted 11 lines · Evgeniy Didin

This patch bumps strace package to 4.18 upstream version.

Important notes:
1)0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch has been removed
because it is part of 4.18.

Cc Alexey Brodkin <[email protected]>
Cc arc-buildroot at synopsys.com
Cc Thomas Petazzoni <[email protected]>
Quoted 6 lines
---
 ...os2-arch_regs-fix-nios2_sp_ptr-definition.patch | 43 ----------------------
 package/strace/strace.hash                         |  4 +-
 package/strace/strace.mk                           |  2 +-
 3 files changed, 3 insertions(+), 46 deletions(-)
 delete mode 100644 package/strace/0001-nios2-arch_regs-fix-nios2_sp_ptr-definition.patch

Applied to master, after slightly tweaking the commit log. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com