diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2018-06-05 17:23:13 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-07 08:52:55 +0100 |
commit | 6c19e22c1306ae4a5a20ea7a27d5de77388e9a60 (patch) | |
tree | e7b6ada9c18a1d9aee4fab490114ee324fbde4c1 /meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch | |
parent | e14171cc594e8c3dfee8119847c26e10b15bacf4 (diff) | |
download | poky-6c19e22c1306ae4a5a20ea7a27d5de77388e9a60.tar.gz |
ltp: bump to release 20180515
The following patches have made it to upstream:
* 0001-configure-Fix-default-value-of-without-numa-switch-i.patch
* 0001-configure-add-knob-to-control-numa-support.patch
* 0003-Add-knob-to-control-tirpc-support.patch
* 0010-replace-__BEGIN_DECLS-and-__END_DECLS.patch
* 0040-safe_macros-make-is_fuse-return-zero-if-fs_type-is-N.patch
These patches have been refreshed in order to apply cleanly
and without any fuzz:
* 0004-build-Add-option-to-select-libc-implementation.patch
* 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
* 0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
* 0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
* 0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
This next patch was added to the set of patches that make LTP
build with musl:
* 0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch
(From OE-Core rev: 331b08516b9b15b9d50d6cade3c9a676bdcefef2)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch | 77 |
1 files changed, 47 insertions, 30 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch index 0781ba1743..2df385591b 100644 --- a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch +++ b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch | |||
@@ -22,10 +22,10 @@ Upstream-Status: Pending | |||
22 | testcases/realtime/stress/pi-tests/Makefile | 5 +++++ | 22 | testcases/realtime/stress/pi-tests/Makefile | 5 +++++ |
23 | 8 files changed, 35 insertions(+), 2 deletions(-) | 23 | 8 files changed, 35 insertions(+), 2 deletions(-) |
24 | 24 | ||
25 | Index: git/Makefile | 25 | diff --git a/Makefile b/Makefile |
26 | =================================================================== | 26 | index 297f8e7..906b280 100644 |
27 | --- git.orig/Makefile | 27 | --- a/Makefile |
28 | +++ git/Makefile | 28 | +++ b/Makefile |
29 | @@ -49,6 +49,11 @@ SKIP_IDCHECK ?= 0 | 29 | @@ -49,6 +49,11 @@ SKIP_IDCHECK ?= 0 |
30 | UCLINUX ?= 0 | 30 | UCLINUX ?= 0 |
31 | export UCLINUX | 31 | export UCLINUX |
@@ -38,10 +38,10 @@ Index: git/Makefile | |||
38 | # CLEAN_TARGETS: Targets which exist solely in clean. | 38 | # CLEAN_TARGETS: Targets which exist solely in clean. |
39 | # COMMON_TARGETS: Targets which exist in all, clean, and install. | 39 | # COMMON_TARGETS: Targets which exist in all, clean, and install. |
40 | # INSTALL_TARGETS: Targets which exist in clean and install (contains | 40 | # INSTALL_TARGETS: Targets which exist in clean and install (contains |
41 | Index: git/testcases/kernel/Makefile | 41 | diff --git a/testcases/kernel/Makefile b/testcases/kernel/Makefile |
42 | =================================================================== | 42 | index 50a12fa..4f1987f 100644 |
43 | --- git.orig/testcases/kernel/Makefile | 43 | --- a/testcases/kernel/Makefile |
44 | +++ git/testcases/kernel/Makefile | 44 | +++ b/testcases/kernel/Makefile |
45 | @@ -48,13 +48,16 @@ SUBDIRS += connectors \ | 45 | @@ -48,13 +48,16 @@ SUBDIRS += connectors \ |
46 | logging \ | 46 | logging \ |
47 | mem \ | 47 | mem \ |
@@ -60,10 +60,10 @@ Index: git/testcases/kernel/Makefile | |||
60 | ifeq ($(WITH_POWER_MANAGEMENT_TESTSUITE),yes) | 60 | ifeq ($(WITH_POWER_MANAGEMENT_TESTSUITE),yes) |
61 | SUBDIRS += power_management | 61 | SUBDIRS += power_management |
62 | endif | 62 | endif |
63 | Index: git/testcases/kernel/sched/Makefile | 63 | diff --git a/testcases/kernel/sched/Makefile b/testcases/kernel/sched/Makefile |
64 | =================================================================== | 64 | index 6245ed0..aa4eb7f 100644 |
65 | --- git.orig/testcases/kernel/sched/Makefile | 65 | --- a/testcases/kernel/sched/Makefile |
66 | +++ git/testcases/kernel/sched/Makefile | 66 | +++ b/testcases/kernel/sched/Makefile |
67 | @@ -23,5 +23,7 @@ | 67 | @@ -23,5 +23,7 @@ |
68 | top_srcdir ?= ../../.. | 68 | top_srcdir ?= ../../.. |
69 | 69 | ||
@@ -73,10 +73,10 @@ Index: git/testcases/kernel/sched/Makefile | |||
73 | + FILTER_OUT_DIRS += process_stress | 73 | + FILTER_OUT_DIRS += process_stress |
74 | +endif | 74 | +endif |
75 | include $(top_srcdir)/include/mk/generic_trunk_target.mk | 75 | include $(top_srcdir)/include/mk/generic_trunk_target.mk |
76 | Index: git/testcases/kernel/syscalls/Makefile | 76 | diff --git a/testcases/kernel/syscalls/Makefile b/testcases/kernel/syscalls/Makefile |
77 | =================================================================== | 77 | index 8acb395..b749126 100644 |
78 | --- git.orig/testcases/kernel/syscalls/Makefile | 78 | --- a/testcases/kernel/syscalls/Makefile |
79 | +++ git/testcases/kernel/syscalls/Makefile | 79 | +++ b/testcases/kernel/syscalls/Makefile |
80 | @@ -28,6 +28,11 @@ ifeq ($(UCLINUX),1) | 80 | @@ -28,6 +28,11 @@ ifeq ($(UCLINUX),1) |
81 | FILTER_OUT_DIRS += capget capset chmod chown clone fork getcontext llseek \ | 81 | FILTER_OUT_DIRS += capget capset chmod chown clone fork getcontext llseek \ |
82 | mincore mprotect nftw profil remap_file_pages sbrk | 82 | mincore mprotect nftw profil remap_file_pages sbrk |
@@ -89,11 +89,11 @@ Index: git/testcases/kernel/syscalls/Makefile | |||
89 | 89 | ||
90 | ifeq ($(UCLIBC),1) | 90 | ifeq ($(UCLIBC),1) |
91 | FILTER_OUT_DIRS += profil | 91 | FILTER_OUT_DIRS += profil |
92 | Index: git/testcases/network/nfsv4/acl/Makefile | 92 | diff --git a/testcases/network/nfsv4/acl/Makefile b/testcases/network/nfsv4/acl/Makefile |
93 | =================================================================== | 93 | index 8bc78c2..c36cf50 100644 |
94 | --- git.orig/testcases/network/nfsv4/acl/Makefile | 94 | --- a/testcases/network/nfsv4/acl/Makefile |
95 | +++ git/testcases/network/nfsv4/acl/Makefile | 95 | +++ b/testcases/network/nfsv4/acl/Makefile |
96 | @@ -26,4 +26,8 @@ include $(top_srcdir)/include/mk/env_pre | 96 | @@ -26,4 +26,8 @@ include $(top_srcdir)/include/mk/env_pre.mk |
97 | 97 | ||
98 | LDLIBS += $(ACL_LIBS) | 98 | LDLIBS += $(ACL_LIBS) |
99 | 99 | ||
@@ -102,11 +102,25 @@ Index: git/testcases/network/nfsv4/acl/Makefile | |||
102 | +endif | 102 | +endif |
103 | + | 103 | + |
104 | include $(top_srcdir)/include/mk/generic_leaf_target.mk | 104 | include $(top_srcdir)/include/mk/generic_leaf_target.mk |
105 | Index: git/testcases/realtime/func/pi-tests/Makefile | 105 | diff --git a/testcases/network/rpc/basic_tests/Makefile b/testcases/network/rpc/basic_tests/Makefile |
106 | =================================================================== | 106 | index 3160813..9bdf5d0 100644 |
107 | --- git.orig/testcases/realtime/func/pi-tests/Makefile | 107 | --- a/testcases/network/rpc/basic_tests/Makefile |
108 | +++ git/testcases/realtime/func/pi-tests/Makefile | 108 | +++ b/testcases/network/rpc/basic_tests/Makefile |
109 | @@ -27,5 +27,9 @@ include $(top_srcdir)/include/mk/env_pre | 109 | @@ -23,4 +23,9 @@ |
110 | top_srcdir ?= ../../../.. | ||
111 | |||
112 | include $(top_srcdir)/include/mk/env_pre.mk | ||
113 | + | ||
114 | +ifeq ($(LIBC),musl) | ||
115 | +FILTER_OUT_DIRS += rpc01 | ||
116 | +endif | ||
117 | + | ||
118 | include $(top_srcdir)/include/mk/generic_trunk_target.mk | ||
119 | diff --git a/testcases/realtime/func/pi-tests/Makefile b/testcases/realtime/func/pi-tests/Makefile | ||
120 | index 7a7a57a..5808866 100644 | ||
121 | --- a/testcases/realtime/func/pi-tests/Makefile | ||
122 | +++ b/testcases/realtime/func/pi-tests/Makefile | ||
123 | @@ -27,5 +27,9 @@ include $(top_srcdir)/include/mk/env_pre.mk | ||
110 | include $(abs_srcdir)/../../config.mk | 124 | include $(abs_srcdir)/../../config.mk |
111 | 125 | ||
112 | MAKE_TARGETS := testpi-0 testpi-1 testpi-2 testpi-4 testpi-5 testpi-6 testpi-7 sbrk_mutex | 126 | MAKE_TARGETS := testpi-0 testpi-1 testpi-2 testpi-4 testpi-5 testpi-6 testpi-7 sbrk_mutex |
@@ -116,10 +130,10 @@ Index: git/testcases/realtime/func/pi-tests/Makefile | |||
116 | + | 130 | + |
117 | 131 | ||
118 | include $(top_srcdir)/include/mk/generic_leaf_target.mk | 132 | include $(top_srcdir)/include/mk/generic_leaf_target.mk |
119 | Index: git/testcases/realtime/stress/pi-tests/Makefile | 133 | diff --git a/testcases/realtime/stress/pi-tests/Makefile b/testcases/realtime/stress/pi-tests/Makefile |
120 | =================================================================== | 134 | index 5edc3b4..aa5987a 100644 |
121 | --- git.orig/testcases/realtime/stress/pi-tests/Makefile | 135 | --- a/testcases/realtime/stress/pi-tests/Makefile |
122 | +++ git/testcases/realtime/stress/pi-tests/Makefile | 136 | +++ b/testcases/realtime/stress/pi-tests/Makefile |
123 | @@ -24,4 +24,9 @@ top_srcdir ?= ../../../.. | 137 | @@ -24,4 +24,9 @@ top_srcdir ?= ../../../.. |
124 | 138 | ||
125 | include $(top_srcdir)/include/mk/env_pre.mk | 139 | include $(top_srcdir)/include/mk/env_pre.mk |
@@ -130,3 +144,6 @@ Index: git/testcases/realtime/stress/pi-tests/Makefile | |||
130 | +endif | 144 | +endif |
131 | + | 145 | + |
132 | include $(top_srcdir)/include/mk/generic_leaf_target.mk | 146 | include $(top_srcdir)/include/mk/generic_leaf_target.mk |
147 | -- | ||
148 | 2.7.0 | ||
149 | |||