diff options
| author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2024-11-20 20:23:47 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-22 16:53:37 +0000 |
| commit | 3f4fbbdbea9df678746f880c9de05642aeb625cf (patch) | |
| tree | d80c49d9c4d8ff236ba5885e980534cee41ff882 | |
| parent | 75b343167fc93cce14ba915e22918b85ad4196c7 (diff) | |
| download | poky-3f4fbbdbea9df678746f880c9de05642aeb625cf.tar.gz | |
strace: update from 6.11 to 6.12
Release highlights:
https://github.com/strace/strace/releases/tag/v6.12
Drop patch merged upstream:
0001-sched_attr-Define-conditionally-on-SCHED_ATTR_SIZE_V.patch
3b6f69aa2 sched_attr: Define conditionally on SCHED_ATTR_SIZE_VER1
qemux86-64 ptest results:
glibc musl:
TOTAL: 1393 1393
PASS: 1066 1059
SKIP: 327 330
XFAIL: 0 0
FAIL: 0 4
XPASS: 0 0
ERROR: 0 0
The skipped tests are mostly SELinux.
The musl tests that fail, currently for unknown reasons, are:
pread64-pwrite64.gen
preadv-pwritev.gen
pwritev.gen
uio
At least for pread64-pwrite6 the pwrite(64) syscalls are not traced
and that makes the test fail.
(From OE-Core rev: 07d4e9312781f5a865cbdd088d5e3485e8c1bffc)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/strace/strace/0001-sched_attr-Define-conditionally-on-SCHED_ATTR_SIZE_V.patch | 49 | ||||
| -rw-r--r-- | meta/recipes-devtools/strace/strace_6.12.bb (renamed from meta/recipes-devtools/strace/strace_6.11.bb) | 4 |
2 files changed, 2 insertions, 51 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-sched_attr-Define-conditionally-on-SCHED_ATTR_SIZE_V.patch b/meta/recipes-devtools/strace/strace/0001-sched_attr-Define-conditionally-on-SCHED_ATTR_SIZE_V.patch deleted file mode 100644 index b8d57797df..0000000000 --- a/meta/recipes-devtools/strace/strace/0001-sched_attr-Define-conditionally-on-SCHED_ATTR_SIZE_V.patch +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | From d162a1d6b18348955f9989f150c86a68af096362 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 30 Sep 2024 15:17:16 -0700 | ||
| 4 | Subject: [PATCH] sched_attr: Define conditionally on SCHED_ATTR_SIZE_VER0 | ||
| 5 | |||
| 6 | glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr functions | ||
| 7 | and struct sched_attr. Therefore, it needs to be checked for here as well before | ||
| 8 | defining sched_attr | ||
| 9 | |||
| 10 | Fixes builds with glibc/trunk | ||
| 11 | |||
| 12 | In file included from ../../strace-6.11/src/sched.c:14: | ||
| 13 | ../../strace-6.11/src/sched_attr.h:16:8: error: redefinition of 'sched_attr' | ||
| 14 | 16 | struct sched_attr { | ||
| 15 | | ^ | ||
| 16 | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/strace/6.11/recipe-sysroot/usr/include/linux/sched/types.h:98:8: note: previous definition is here | ||
| 17 | 98 | struct sched_attr { | ||
| 18 | | ^ | ||
| 19 | |||
| 20 | [1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=21571ca0d70302909cf72707b2a7736cf12190a0;hp=298bc488fdc047da37482f4003023cb9adef78f8 | ||
| 21 | |||
| 22 | Upstream-Status: Submitted [https://github.com/strace/strace/pull/318] | ||
| 23 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 24 | --- | ||
| 25 | src/sched_attr.h | 4 ++++ | ||
| 26 | 1 file changed, 4 insertions(+) | ||
| 27 | |||
| 28 | diff --git a/src/sched_attr.h b/src/sched_attr.h | ||
| 29 | index 26c53172f..a5b5d94ce 100644 | ||
| 30 | --- a/src/sched_attr.h | ||
| 31 | +++ b/src/sched_attr.h | ||
| 32 | @@ -11,6 +11,8 @@ | ||
| 33 | |||
| 34 | # include <stdint.h> | ||
| 35 | |||
| 36 | +# ifndef SCHED_ATTR_SIZE_VER0 | ||
| 37 | + | ||
| 38 | struct sched_attr { | ||
| 39 | uint32_t size; | ||
| 40 | uint32_t sched_policy; | ||
| 41 | @@ -25,6 +27,8 @@ struct sched_attr { | ||
| 42 | uint32_t sched_util_max; | ||
| 43 | }; | ||
| 44 | |||
| 45 | +# endif /* SCHED_ATTR_SIZE_VER0 */ | ||
| 46 | + | ||
| 47 | # define SCHED_ATTR_MIN_SIZE 48 | ||
| 48 | # ifndef SCHED_ATTR_SIZE_VER1 | ||
| 49 | # define SCHED_ATTR_SIZE_VER1 56 | ||
diff --git a/meta/recipes-devtools/strace/strace_6.11.bb b/meta/recipes-devtools/strace/strace_6.12.bb index 1bc8aa99e7..c16e5dc478 100644 --- a/meta/recipes-devtools/strace/strace_6.11.bb +++ b/meta/recipes-devtools/strace/strace_6.12.bb | |||
| @@ -14,9 +14,9 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \ | |||
| 14 | file://skip-load.patch \ | 14 | file://skip-load.patch \ |
| 15 | file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ | 15 | file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ |
| 16 | file://0002-tests-Replace-off64_t-with-off_t.patch \ | 16 | file://0002-tests-Replace-off64_t-with-off_t.patch \ |
| 17 | file://0001-sched_attr-Define-conditionally-on-SCHED_ATTR_SIZE_V.patch \ | ||
| 18 | " | 17 | " |
| 19 | SRC_URI[sha256sum] = "83262583a3529f02c3501aa8b8ac772b4cbc03dc934e98bab6e4883626e283a5" | 18 | SRC_URI[sha256sum] = "c47da93be45b6055f4dc741d7f20efaf50ca10160a5b100c109b294fd9c0bdfe" |
| 19 | |||
| 20 | 20 | ||
| 21 | inherit autotools github-releases ptest | 21 | inherit autotools github-releases ptest |
| 22 | 22 | ||
