diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-06-14 11:28:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-16 15:38:18 +0100 |
commit | 0953f22436d7ef03a21c2c78719c99c49df5e22c (patch) | |
tree | 2d1ef8272fb921d36464f3a6203dbdbef4f5a003 | |
parent | 64603f602d00999220fe5bafeed996ddcb56d36b (diff) | |
download | openembedded-core-0953f22436d7ef03a21c2c78719c99c49df5e22c.tar.gz |
ltp: upgrade 20230127 -> 20230516
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch | 28 | ||||
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20230516.bb (renamed from meta/recipes-extended/ltp/ltp_20230127.bb) | 3 |
2 files changed, 30 insertions, 1 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch b/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch new file mode 100644 index 0000000000..dbe63f2170 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch @@ -0,0 +1,28 @@ +From f4f75ce9218b469d91b536218de3323977edc529 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <alex@linutronix.de> +Date: Tue, 13 Jun 2023 15:10:33 +0200 +Subject: [PATCH] testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE + +This is required for off64_t to be available on musl systems. + +Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/1047] +Signed-off-by: Alexander Kanavin <alex@linutronix.de> +--- + testcases/kernel/syscalls/fcntl/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/testcases/kernel/syscalls/fcntl/Makefile b/testcases/kernel/syscalls/fcntl/Makefile +index df663a50a..aac774111 100644 +--- a/testcases/kernel/syscalls/fcntl/Makefile ++++ b/testcases/kernel/syscalls/fcntl/Makefile +@@ -17,6 +17,6 @@ include $(abs_srcdir)/../utils/newer_64.mk + + %_64: CPPFLAGS += -D_FILE_OFFSET_BITS=64 + +-CPPFLAGS += -D_GNU_SOURCE ++CPPFLAGS += -D_GNU_SOURCE -D_LARGEFILE64_SOURCE + + include $(top_srcdir)/include/mk/generic_leaf_target.mk +-- +2.30.2 + diff --git a/meta/recipes-extended/ltp/ltp_20230127.bb b/meta/recipes-extended/ltp/ltp_20230516.bb index 4325aa6672..ddc6523e30 100644 --- a/meta/recipes-extended/ltp/ltp_20230127.bb +++ b/meta/recipes-extended/ltp/ltp_20230516.bb @@ -24,11 +24,12 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse" CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" -SRCREV = "dd2d61ac1a1e09797a6165f478abd4a9f4f43035" +SRCREV = "3ebc2dfa85c2445bb68d8c0d66e33c4da1e1b3a7" SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ file://disable_hanging_tests.patch \ + file://0001-testcases-kernel-syscalls-fcntl-define-_LARGEFILE64_.patch \ " S = "${WORKDIR}/git" |