summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp_20190115.bb
diff options
context:
space:
mode:
authorHongzhi.Song <hongzhi.song@windriver.com>2019-07-17 02:50:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-18 12:15:51 +0100
commit6bb6de711631fb2d339c447c6f88c8e06c17b967 (patch)
treecd3c0751a8c9fd8d40ea3209cd97d4884a80ec61 /meta/recipes-extended/ltp/ltp_20190115.bb
parent91770338f76ef35f3c4eeac216eb9d2b3188e575 (diff)
downloadopenembedded-core-6bb6de711631fb2d339c447c6f88c8e06c17b967.tar.gz
ltp: getrlimit03: adjust-a-bit-of-code-to-compatiable-with mips32
Error info: getrlimit03.c:104: FAIL: __NR_prlimit64(0) had rlim_cur = ffffffffffffffff but __NR_getrlimit(0) had rlim_cur = 7fffffff According to kernel code: [arch/mips/include/uapi/asm/resource.h] RLIM_INFINITY is set to 0x7fffffffUL instead of ULONG_MAX on mips32. /* * SuS says limits have to be unsigned. * Which makes a ton more sense anyway, * but we keep the old value on MIPS32, * for compatibility: */ #ifndef __mips64 # define RLIM_INFINITY 0x7fffffffUL #endif Adding conditional statement about mips to fix this. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp_20190115.bb')
-rw-r--r--meta/recipes-extended/ltp/ltp_20190115.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20190115.bb b/meta/recipes-extended/ltp/ltp_20190115.bb
index b7b581f65a..f208b712dd 100644
--- a/meta/recipes-extended/ltp/ltp_20190115.bb
+++ b/meta/recipes-extended/ltp/ltp_20190115.bb
@@ -53,6 +53,8 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \
file://0001-shmctl01-don-t-use-hardcoded-index-0-for-SHM_STAT-te.patch \
file://0001-diotest4-Let-kernel-pick-an-address-when-calling-mma.patch \
file://0001-file01.sh-Fix-in-was-not-recognized.patch \
+ file://0001-lapi-Define-TST_ABI-32-64-to-detect-target-type.patch \
+ file://0001-getrlimit03-adjust-a-bit-of-code-to-compatiable-with.patch \
"
S = "${WORKDIR}/git"