Skip to contentSkip to conversation

strace: 4.10 -> 4.11

PATCH New Marek Vasut 1 participant 1 message Jan 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 strace: 4.10 -> 4.11

Update strace to 4.11 and remove patches which are now mainline.

New patches:
0001-arc-metag-nios2-or1k-tile-fix-build.patch
- backport from mainline to prevent build breakage on multiple arches.

Updated patches:
Makefile-ptest.patch
strace-add-configure-options.patch

Cc Robert Yang <[email protected]>
Cc Richard Purdie <[email protected]>
---
 .../0001-Add-linux-aarch64-arch_regs.h.patch       |  25 -----
 .../0001-arc-metag-nios2-or1k-tile-fix-build.patch | 116 +++++++++++++++++++++
 .../Include-linux-ioctl.h-for-_IOC_-macros.patch   |  69 ------------
 .../strace/Include-sys-stat.h-for-S_I-macros.patch |  52 ---------
 .../strace/strace/Makefile-ptest.patch             |  12 +--
 .../strace/strace-add-configure-options.patch      |   6 +-
 meta/recipes-devtools/strace/strace_4.10.bb        |  52 ---------
 meta/recipes-devtools/strace/strace_4.11.bb        |  50 +++++++++
 8 files changed, 175 insertions(+), 207 deletions(-)
 delete mode 100644 meta/recipes-devtools/strace/strace/0001-Add-linux-aarch64-arch_regs.h.patch
 create mode 100644 meta/recipes-devtools/strace/strace/0001-arc-metag-nios2-or1k-tile-fix-build.patch
 delete mode 100644 meta/recipes-devtools/strace/strace/Include-linux-ioctl.h-for-_IOC_-macros.patch
 delete mode 100644 meta/recipes-devtools/strace/strace/Include-sys-stat.h-for-S_I-macros.patch
 delete mode 100644 meta/recipes-devtools/strace/strace_4.10.bb
 create mode 100644 meta/recipes-devtools/strace/strace_4.11.bb
meta/recipes-devtools/strace/strace/0001-Add-linux-aarch64-arch_regs.h.patch deleted +0 -25
deleted file mode 100644
index 0853959..0000000
@@ -1,25 +0,0 @@
-From f85854131c8265f2eb59c714dcea5c4b3dc09bed Mon Sep 17 00:00:00 2001
-From: Koen Kooi <[email protected]>
-Date: Wed, 15 Apr 2015 14:29:37 +0200
-Subject: [PATCH] Add linux/aarch64/arch_regs.h
-
-It is missing from the tarball, but it is present in git for v4.10
-
-Signed-off-by: Koen Kooi <[email protected]>
-Upstream-Status: Pending
----
- linux/aarch64/arch_regs.h | 2 ++
- 1 file changed, 2 insertions(+)
- create mode 100644 linux/aarch64/arch_regs.h
-
-diff --git a/linux/aarch64/arch_regs.h b/linux/aarch64/arch_regs.h
-new file mode 100644
-index 0000000..9a5e33e
---- /dev/null
-+++ b/linux/aarch64/arch_regs.h
-@@ -0,0 +1,2 @@
-+extern uint64_t *const aarch64_sp_ptr;
-+extern uint32_t *const arm_sp_ptr;
--- 
-1.9.3
-
meta/recipes-devtools/strace/strace/0001-arc-metag-nios2-or1k-tile-fix-build.patch new file +116 -0

116 lines not on this page · raw message

meta/recipes-devtools/strace/strace/Include-linux-ioctl.h-for-_IOC_-macros.patch deleted +0 -69

69 lines not on this page · raw message

meta/recipes-devtools/strace/strace/Include-sys-stat.h-for-S_I-macros.patch deleted +0 -52

52 lines not on this page · raw message

meta/recipes-devtools/strace/strace/Makefile-ptest.patch +6 -6
index f360301..e1c07a8 100644
@@ -13,12 +13,12 @@ diff --git a/configure.ac b/configure.ac
 index e73958c..5f0dfee 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -6,7 +6,7 @@ AC_INIT([strace],
+@@ -36,7 +36,7 @@ AC_INIT([strace],
  AC_CONFIG_SRCDIR([strace.c])
  AC_CONFIG_AUX_DIR([.])
  AC_CONFIG_HEADERS([config.h])
--AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules parallel-tests])
-+AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules serial-tests])
+-AM_INIT_AUTOMAKE([foreign nostdinc dist-xz no-dist-gzip silent-rules parallel-tests])
++AM_INIT_AUTOMAKE([foreign nostdinc dist-xz no-dist-gzip silent-rules serial-tests])
  AM_MAINTAINER_MODE
  AC_CANONICAL_HOST
  
@@ -26,10 +26,10 @@ diff --git a/tests/Makefile.am b/tests/Makefile.am
 index ff5e136..984bdb6 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
-@@ -101,3 +101,21 @@ EXTRA_DIST = init.sh run.sh \
- 	     $(TESTS)
+@@ -332,3 +332,21 @@ EXTRA_DIST = init.sh run.sh \
  
- CLEANFILES = $(TESTS:=.tmp)
+ BUILT_SOURCES = ksysent.h
+ CLEANFILES = ksysent.h $(TESTS:=.tmp)
 +
 +buildtest-TESTS: $(check_PROGRAMS) $(TESTS)
 +
meta/recipes-devtools/strace/strace/strace-add-configure-options.patch +3 -3
index e48e4b3..a6f4504 100644
@@ -12,7 +12,7 @@ diff --git a/configure.ac b/configure.ac
 index e73958c..9099370 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -270,6 +270,18 @@ AC_CHECK_HEADERS(m4_normalize([
+@@ -341,6 +341,18 @@ AC_CHECK_HEADERS(m4_normalize([
  	sys/vfs.h
  	sys/xattr.h
  ]))
@@ -28,10 +28,10 @@ index e73958c..9099370 100644
 +	esac]
 +)
 +
+ AC_CHECK_HEADERS([linux/mqueue.h],,, [#include <linux/types.h>])
  AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
                   [], [], [#include <stddef.h>
- #include <sys/socket.h>
-@@ -745,6 +757,20 @@ if test "x$ac_cv_lib_dl_dladdr" = xyes; then
+@@ -845,6 +857,20 @@ if test "x$ac_cv_lib_dl_dladdr" = xyes; then
  fi
  AC_SUBST(dl_LIBS)
  
meta/recipes-devtools/strace/strace_4.10.bb deleted +0 -52

52 lines not on this page · raw message

meta/recipes-devtools/strace/strace_4.11.bb new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
2.1.4