diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-04-30 14:52:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-12 06:26:15 +0100 |
commit | ad454e026632604fd344147639e0b69ee10f11b7 (patch) | |
tree | c8dd131239fc25bffa081c119ed34c57557b5300 /meta/recipes-core/glibc/glibc-testsuite_2.34.bb | |
parent | 77ce05bd36cf71db9a2cc5b0ebffde7bd11c20f3 (diff) | |
download | poky-ad454e026632604fd344147639e0b69ee10f11b7.tar.gz |
glibc: Upgrade to 2.34 release
bump localedef to get __attr_access_none and __attr_access definitions
replace /bin/bash instead of @BASH@ in ldd as @BASH@ has been substituted with /bin/bash now
package libc_malloc_debug.so.0
Detailed changelog [1]
[1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
(From OE-Core rev: af4e1306a78cf8c508dd911f02c103af81bc1af5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc-testsuite_2.34.bb')
-rw-r--r-- | meta/recipes-core/glibc/glibc-testsuite_2.34.bb | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.34.bb b/meta/recipes-core/glibc/glibc-testsuite_2.34.bb new file mode 100644 index 0000000000..72aa332171 --- /dev/null +++ b/meta/recipes-core/glibc/glibc-testsuite_2.34.bb | |||
@@ -0,0 +1,64 @@ | |||
1 | require glibc_${PV}.bb | ||
2 | |||
3 | EXCLUDE_FROM_WORLD = "1" | ||
4 | |||
5 | # handle PN differences | ||
6 | FILESEXTRAPATHS:prepend := "${THISDIR}/glibc:" | ||
7 | |||
8 | # strip provides | ||
9 | PROVIDES = "" | ||
10 | # setup depends | ||
11 | INHIBIT_DEFAULT_DEPS = "" | ||
12 | |||
13 | python () { | ||
14 | libc = d.getVar("PREFERRED_PROVIDER_virtual/libc") | ||
15 | libclocale = d.getVar("PREFERRED_PROVIDER_virtual/libc-locale") | ||
16 | if libc != "glibc" or libclocale != "glibc-locale": | ||
17 | raise bb.parse.SkipRecipe("glibc-testsuite requires that virtual/libc is glibc") | ||
18 | } | ||
19 | |||
20 | DEPENDS += "glibc-locale libgcc gcc-runtime" | ||
21 | |||
22 | # remove the initial depends | ||
23 | DEPENDS:remove = "libgcc-initial" | ||
24 | |||
25 | inherit qemu | ||
26 | |||
27 | SRC_URI += "file://check-test-wrapper" | ||
28 | |||
29 | DEPENDS += "${@'qemu-native' if d.getVar('TOOLCHAIN_TEST_TARGET') == 'user' else ''}" | ||
30 | |||
31 | TOOLCHAIN_TEST_TARGET ??= "user" | ||
32 | TOOLCHAIN_TEST_HOST ??= "localhost" | ||
33 | TOOLCHAIN_TEST_HOST_USER ??= "root" | ||
34 | TOOLCHAIN_TEST_HOST_PORT ??= "2222" | ||
35 | |||
36 | do_check[dirs] += "${B}" | ||
37 | do_check[nostamp] = "1" | ||
38 | do_check () { | ||
39 | chmod 0755 ${WORKDIR}/check-test-wrapper | ||
40 | |||
41 | # clean out previous test results | ||
42 | oe_runmake tests-clean | ||
43 | # makefiles don't clean entirely (and also sometimes fails due to too many args) | ||
44 | find ${B} -type f -name "*.out" -delete | ||
45 | find ${B} -type f -name "*.test-result" -delete | ||
46 | find ${B}/catgets -name "*.cat" -delete | ||
47 | find ${B}/conform -name "symlist-*" -delete | ||
48 | [ ! -e ${B}/timezone/testdata ] || rm -rf ${B}/timezone/testdata | ||
49 | |||
50 | oe_runmake -i \ | ||
51 | QEMU_SYSROOT="${RECIPE_SYSROOT}" \ | ||
52 | QEMU_OPTIONS="${@qemu_target_binary(d)} ${QEMU_OPTIONS}" \ | ||
53 | SSH_HOST="${TOOLCHAIN_TEST_HOST}" \ | ||
54 | SSH_HOST_USER="${TOOLCHAIN_TEST_HOST_USER}" \ | ||
55 | SSH_HOST_PORT="${TOOLCHAIN_TEST_HOST_PORT}" \ | ||
56 | test-wrapper="${WORKDIR}/check-test-wrapper ${TOOLCHAIN_TEST_TARGET}" \ | ||
57 | check | ||
58 | } | ||
59 | addtask do_check after do_compile | ||
60 | |||
61 | inherit nopackages | ||
62 | deltask do_stash_locale | ||
63 | deltask do_install | ||
64 | deltask do_populate_sysroot | ||