From: Alexander Kanavin <[email protected]> Drop 0001-ltp-fix-build-failure-with-glibc-2.43.patch as issue is resolved upstream.
Signed-off-by: Alexander Kanavin <[email protected]> --- ...-__clear_cache-declaration-for-clang.patch | 4 +-- ...001-Remove-OOM-tests-from-runtest-mm.patch | 2 +- ...tp-fix-build-failure-with-glibc-2.43.patch | 33 ------------------- ...8-Skip-semctl08-when-__USE_TIME64_RE.patch | 6 ++-- .../ltp/{ltp_20260130.bb => ltp_20260529.bb} | 3 +- 5 files changed, 7 insertions(+), 41 deletions(-) delete mode 100644 meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch rename meta/recipes-extended/ltp/{ltp_20260130.bb => ltp_20260529.bb} (98%) diff --git a/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch b/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch index 24e8762f77..07778ec6fd 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch @@ -1,4 +1,4 @@ -From a2ce04cb82d545f3dbab71de7fa55eaad3df3063 Mon Sep 17 00:00:00 2001 +From cefa5ede50985803124fd09e9c6f2d07e2471e1b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 10 Jun 2024 22:52:56 -0700 Subject: [PATCH] Add __clear_cache declaration for clang @@ -19,7 +19,7 @@ Cc: Hui Min Mina Chou <[email protected]> 1 file changed, 1 insertion(+) diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c -index 1dde9e87b..6a6f5fe5e 100644 +index f2984e2dc..5685bb864 100644 --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c @@ -19,6 +19,7 @@ diff --git a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch index 860b2f127f..3a5ac2b5a0 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch @@ -1,4 +1,4 @@ -From bb9146dd322af98a7bb96ad0d84ec376589c6cde Mon Sep 17 00:00:00 2001 +From b7bf6f49fdc98dc0aac9ca6f2d581688e083ed7a Mon Sep 17 00:00:00 2001 From: "Mingde (Matthew) Zeng" <[email protected]> Date: Wed, 29 Jul 2020 08:47:09 -0400 Subject: [PATCH] Remove OOM tests from runtest/mm diff --git a/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch b/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch deleted file mode 100644 index 7c78660e3e..0000000000 --- a/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch +++ /dev/null @@ -1,33 +0,0 @@ -ltp: fix build failure with glibc 2.43 - -glibc 2.43 added native openat2() support for the first time. This -caused compatibility issues with LTP's internal openat2 definitions -in lapi/openat2.h. LTP's configure detects glibc's openat2() and -sets HAVE_OPENAT2=1, causing lapi/openat2.h to skip its own -definitions of struct open_how, RESOLVE_* constants and the openat2() -wrapper, resulting in a build failure. - -Undef HAVE_OPENAT2 in lapi/openat2.h to force LTP to always use its -own internal definitions.this is a workaround until the fix is found. - -Upstream-Status: Pending - -Signed-off-by: Hemanth Kumar M D <[email protected]> - -diff --git a/include/lapi/openat2.h b/include/lapi/openat2.h -index 03327bdb7..bd44573c9 100644 ---- a/include/lapi/openat2.h -+++ b/include/lapi/openat2.h -@@ -14,6 +14,11 @@ - - #include "config.h" - -+/* glibc 2.43 provides openat2 but LTP uses its own syscall wrapper */ -+#ifdef HAVE_OPENAT2 -+#undef HAVE_OPENAT2 -+#endif -+ - #ifndef HAVE_OPENAT2 - /* - * Arguments for how openat2(2) should open the target path. If only @flags and - diff --git a/meta/recipes-extended/ltp/ltp/0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch b/meta/recipes-extended/ltp/ltp/0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch index 364e203e23..e38e9c3e21 100644 --- a/meta/recipes-extended/ltp/ltp/0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch +++ b/meta/recipes-extended/ltp/ltp/0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch @@ -1,4 +1,4 @@ -From 09364a758df9d89a0968894376f82f636441addb Mon Sep 17 00:00:00 2001 +From 89c83185e757ddaeb0262c17a10f605056f53916 Mon Sep 17 00:00:00 2001 From: Jiaying Song <[email protected]> Date: Fri, 23 May 2025 15:17:49 +0800 Subject: [PATCH] syscalls/semctl08: Skip semctl08 when __USE_TIME64_REDIRECTS @@ -20,12 +20,12 @@ Signed-off-by: Jiaying Song <[email protected]> 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/testcases/kernel/syscalls/ipc/semctl/semctl08.c b/testcases/kernel/syscalls/ipc/semctl/semctl08.c -index f4549adf4..28776f266 100644 +index 083179c92..a98eb35d6 100644 --- a/testcases/kernel/syscalls/ipc/semctl/semctl08.c +++ b/testcases/kernel/syscalls/ipc/semctl/semctl08.c @@ -12,7 +12,11 @@ #include "tst_test.h" - #include "libnewipc.h" + #include "tse_newipc.h" -#ifdef HAVE_SEMID64_DS_TIME_HIGH +#if !defined(HAVE_SEMID64_DS_TIME_HIGH) diff --git a/meta/recipes-extended/ltp/ltp_20260130.bb b/meta/recipes-extended/ltp/ltp_20260529.bb similarity index 98% rename from meta/recipes-extended/ltp/ltp_20260130.bb rename to meta/recipes-extended/ltp/ltp_20260529.bb index 4183b5d497..e863503200 100644 --- a/meta/recipes-extended/ltp/ltp_20260130.bb +++ b/meta/recipes-extended/ltp/ltp_20260529.bb @@ -24,13 +24,12 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse" CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" -SRCREV = "6a60ae592cd375f004df0694efc7d50ddae9aa5e" +SRCREV = "3a64d78f58bdceba93ed321e91215fb969a047ed" SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ file://0001-Add-__clear_cache-declaration-for-clang.patch \ file://0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch \ - file://0001-ltp-fix-build-failure-with-glibc-2.43.patch \ " inherit autotools-brokensep pkgconfig -- 2.47.3
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#238948): https://lists.openembedded.org/g/openembedded-core/message/238948 Mute This Topic: https://lists.openembedded.org/mt/119839187/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
