summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
Commit message (Collapse)AuthorAgeFilesLines
...
* glibc: Add ppoll fortify symbol for 64 bit time_tOla x Nilsson2022-12-092-0/+529
| | | | | | | | | | | Patch so ppoll is properly redirected to it's 64bit time variant even when source fortification is active. (From OE-Core rev: 8cb7008090e98d990e7249b4ef723f65825915ae) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: correctly pull in the actual tests when installing -ptest packageAlexander Kanavin2022-12-051-1/+1
| | | | | | | | | | | | The tests are packaged into the main glibc-tests package which is fine, but then glibc-tests-ptest package needs to depend on that. Which is what this commit addresses. (From OE-Core rev: d37c2d428b09b9d0cbb875f083c6a1e9883a7fed) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-locale: Do not INHIBIT_DEFAULT_DEPSNathan Rossi2022-11-111-8/+3
| | | | | | | | | | | | | | | | | | | | | The glibc-locale recipe already partially depends on the base depends in order to satisfy the do_package dependency on binutils. However since commit d6ffd683bf6 NM has defaulted to gcc-nm, meaning do_package depends on gcc (for minidebuginfo). Whilst the do_package task could handle having the dependencies explicitly defined (either in glibc-locale or in package.bbclass), setting these would require some amount of conditional dependency configuration (cross/crosssdk/etc.). Since both binutils and gcc are already dependencies of virtual/libc (although compilerlibs is not), having glibc-locale not inhibit the default depends simplifies the handling of this situation for both glibc-locale and package.bbclass. (From OE-Core rev: 8a40d0a6039e87a5b4b26a0e84dd797fe5c75cba) Signed-off-by: Nathan Rossi <nathan.rossi@digi.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-locale: explicitly remove empty dirs in ${libdir}Denys Dmytriyenko2022-09-291-3/+2
| | | | | | | | | | | | | | | | | | | | | | glibc-locale defaults to ENABLE_BINARY_LOCALE_GENERATION ?= "0", but gets changed to "1" in the default-distrovars.inc When it is explicitly set back to "0", it fails with this error: ERROR: glibc-locale-2.36-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package: /usr/lib/locale Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. glibc-locale: 1 installed and not shipped files. [installed-vs-shipped] ERROR: glibc-locale-2.36-r0 do_package: Fatal QA errors were found, failing task. There's a code to remove empty dirs in ${libdir}, but it's keyed off of PACKAGE_NO_GCONV to clean up $[libdir]/gconv, just extend it to also cover other empty dirs, including ${libdir}/locale. (From OE-Core rev: b2565de1d9fb513c61f80a4f02be39ee9c31e7dd) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: mark a CVE where we have merged the fixRoss Burton2022-09-221-0/+3
| | | | | | | | | | The fix for this CVE has been merged into the 2.36 branch and fixed in oe-core as of 055ce284. (From OE-Core rev: ebb0220bf211ec1318a0a7f6a9ab80cf7775a848) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Upgrade to tip of 2.36 branchKhem Raj2022-09-131-1/+1
| | | | | | | | | | | | | | | | | | | Adresses CVE-2022-39046 Brings in following changeset * c399271c10 nscd: Fix netlink cache invalidation if epoll is used [BZ #29415] * b46412fb17 Add NEWS entry for CVE-2022-39046 * 645d94808a syslog: Remove extra whitespace between timestamp and message (BZ#29544) * b3736d1a3c elf: Restore how vDSO dependency is printed with LD_TRACE_LOADED_OBJECTS (BZ #29539) * 3c791f2031 Apply asm redirections in wchar.h before first use * 924e4f3eaa elf: Call __libc_early_init for reused namespaces (bug 29528) * b0e7888d1f syslog: Fix large messages (BZ#29536) (From OE-Core rev: 055ce284cb4770026c6b0de34d4444568e03d47f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: use += instead of :appendMikko Rapeli2022-09-131-2/+2
| | | | | | | | | | :append can not be modified in bbappends and thus += is better in re-usable, generic layers and recipes. (From OE-Core rev: da88406ba592504a718f516b985adc0d4553080d) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Update to latest on 2.36Khem Raj2022-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Solves the mount.h conflict with linux kernel headers with needed backports from trunk These are the complete list of changes this brings * 3bd3c612e9 Linux: Fix enum fsconfig_command detection in <sys/mount.h> * bb1e8b0ca9 linux: Fix sys/mount.h usage with kernel headers * d48813227b linux: Use compile_c_snippet to check linux/mount.h availability * 4dad97e2a2 linux: Mimic kernel defition for BLOCK_SIZE * 1cc5513114 linux: Use compile_c_snippet to check linux/pidfd.h availability * 0062e7dd1c glibcextract.py: Add compile_c_snippet * 5c62874f42 NEWS: Add entry for bug 28846 * d13a7a6f10 socket: Check lengths before advancing pointer in CMSG_NXTHDR * 8b139cd4f1 alpha: Fix generic brk system call emulation in __brk_call (bug 29490) * e982657073 Linux: Terminate subprocess on late failure in tst-pidfd (bug 29485) (From OE-Core rev: 344378cc811a9a2630b178ca58b946ecd10b53bc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: apply proposed patch from upstream instead of revertMartin Jansa2022-08-213-129/+29
| | | | | | | | (From OE-Core rev: 2ea82a52dcbb88aa49d336c9dbd464e4116dba74) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Bump to latest 2.36 branchKhem Raj2022-08-144-63/+1
| | | | | | | | | | Drop upstreamed patches (From OE-Core rev: e6ca788c180816f81f4f4271caf4f78e9ce6bbcc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Update patch statusKhem Raj2022-08-122-2/+2
| | | | | | | | | | These patches were appplied in master (From OE-Core rev: 452ded8e88db51f8b2fd704d40860ea84c433ada) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix new upstream build issue with DEBUG_BUILD buildMartin Jansa2022-08-123-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refresh 0001-Revert-Linux-Implement-a-useful-version-of-_startup_.patch (just different commit SHA in master and 2.35 branch) * add proposed fixes for build failure with DEBUG_BUILD: http://errors.yoctoproject.org/Errors/Details/663898/ 86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=bfd -nostdlib -nostartfiles -r -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os '-Wl,-(' TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/dl-allobjs.os TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/rtld-libc.a -lgcc '-Wl,-)' \ -Wl,-Map,TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os.map x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=bfd -nostdlib -nostartfiles -shared -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/ld.so.new \ -Wl,-z,relro -Wl,-z,defs -Wl,-z,now \ -Wl,-z,pack-relative-relocs \ TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os -Wl,--version-script=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/ld.map \ -Wl,-soname=ld-linux-x86-64.so.2 TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/12.1.0/ld.bfd: TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os: in function `_dl_load_cache_lookup': /usr/src/debug/glibc/2.36-r0/git/elf/dl-cache.c:513: undefined reference to `strcpy' collect2: error: ld returned 1 exit status introduced in 2.36 version, with: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6b9006bfb0 upstream report with this fix proposed: https://sourceware.org/bugzilla/show_bug.cgi?id=29454 (From OE-Core rev: 57a0e5ebac924015d3059695e731b28067be4568) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Bump to 2.36Khem Raj2022-08-1234-136/+168
| | | | | | | | | (From OE-Core rev: 54f7441135c701b0b1ba337db04aa9a6410b3d3d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: revert one upstream change to work around broken DEBUG_BUILD buildMartin Jansa2022-08-082-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * work around for build failure with DEBUG_BUILD: http://errors.yoctoproject.org/Errors/Details/661468/ TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.3.0/ld.bfd: TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/build-x86_64-oe-linux/libc.a(libc-tls.o): in function `__libc_setup_tls': /usr/src/debug/glibc/2.35-r0/git/csu/libc-tls.c:202: undefined reference to `_startup_fatal_not_constant' introduced in: https://git.openembedded.org/openembedded-core/commit/?id=50ca0eea5424c89c9b39cf69d8bd73fd65f06e95 with: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a2a6bce7d7e52c1c34369a7da62c501cc350bc31 Temporary reverting as discussed in: https://lists.openembedded.org/g/openembedded-core/message/168463 (it's also reverted in buildroot now with: https://lore.kernel.org/buildroot/20220720213853.1A27184110@busybox.osuosl.org/t/) instead of revert we can use -fexpensive-optimizations which will optimize-out the symbol, but that works only with -O1 and not -Og used by DEBUG_BUILD upstream report: https://sourceware.org/bugzilla/show_bug.cgi?id=29249 (From OE-Core rev: 642348f9b4656a090b5a272c18a6723c60100e08) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc : stable 2.35 branch updatesSundeep KOKKONDA2022-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Below commits on glibc-2.35 development branch are updated. glibc: 0e5b239f45 malloc: Simplify implementation of __malloc_assert dc2d843045 Update syscall-names.list for Linux 5.18 d56c7e0965 Apply asm redirections in stdio.h before first use [BZ #27087] c4050b2552 x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S fdf699edea x86: Move mem{p}{mov|cpy}_{chk_}erms to its own file de6f7bb873 x86: Move and slightly improve memset_erms 210e9728ff x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list c77cde8172 x86: Put wcs{n}len-sse4.1 in the sse4.1 text section 3eb17048c4 x86: Align entry for memrchr to 64-bytes. dd3b6857ee x86: Add BMI1/BMI2 checks for ISA_V3 check ce32ad91eb x86: Cleanup bounds checking in large memcpy case 863987a6ef x86: Add bounds `x86_non_temporal_threshold` 232b7adb14 x86: Add sse42 implementation to strcmp's ifunc 7f7a728b71 x86: Fix misordered logic for setting `rep_movsb_stop_threshold` 6b4a2ab7e0 x86: Align varshift table to 32-bytes e74385736c x86: ZERO_UPPER_VEC_REGISTERS_RETURN_XTEST expect no transactions b4744d4414 x86: Shrink code size of memchr-evex.S 5321a217cf x86: Shrink code size of memchr-avx2.S c536b318f0 x86: Optimize memrchr-avx2.S f8ba0e0452 x86: Optimize memrchr-evex.S 7001d558a0 x86: Optimize memrchr-sse2.S 54486f520a x86: Add COND_VZEROUPPER that can replace vzeroupper if no `ret` 82560fe43e x86: Create header for VEC classes in x86 strings library b1f23b6128 x86_64: Add strstr function with 512-bit EVEX f9f0fbbf7b x86-64: Ignore r_addend for R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT 650bf51c78 x86_64: Implement evex512 version of strlen, strnlen, wcslen and wcsnlen e0cb101d1b x86_64: Remove bzero optimization 51e2d3b53b nptl: Fix ___pthread_unregister_cancel_restore asynchronous restore cd4f43be3d linux: Fix mq_timereceive check for 32 bit fallback code (BZ 29304) (From OE-Core rev: 7d70ccb320459faf356b51d38e62c5dc3955393b) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: make glibc-dev depend on kernel headersChen Qi2022-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The linux kernel headers are necessary for glibc-dev, so we need to use RDEPENDS instead of DEV_PKG_DEPENDENCY which specifies RRECOMMENDS. Currently, in case of NO_RECOMMENDATIONS set to "1", linux kernel headers are not pulled in by glibc-dev, causing error like below when compiling. fatal error: linux/errno.h: No such file or directory The problem could be reproduced by setting NO_RECOMMENDATIONS to "1" and then running: bitbake core-image-minimal -c populate_sdk bitbake core-image-minimal -c testsdk (From OE-Core rev: fdb16e1a78c2abcc8ac89678b1b250ca4fa9c0d9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: stable 2.35 branch updatesSundeep KOKKONDA2022-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Below commits on glibc-2.35 development branch are updated. b6aade18a7 nss: handle stat failure in check_reload_and_get (BZ #28752) ccac2d6d95 nss: add assert to DB_LOOKUP_FCT (BZ #28752) 9d8ae95604 nios2: Remove _dl_skip_args usage (BZ# 29187) 8468be8433 hppa: Remove _dl_skip_args usage (BZ# 29165) 99978cd42c NEWS: Add a bug fix entry for BZ #29225 97dd8b3f70 nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214) 0a1572b8bb powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197] fe9ca732ac socket: Fix mistyped define statement in socket/sys/socket.h (BZ #29225) d7d1eebd4d iconv: Use 64 bit stat for gconv_parseconfdir (BZ# 29213) c5a75ecec8 catgets: Use 64 bit stat for __open_catalog (BZ# 29211) e429695805 inet: Use 64 bit stat for ruserpass (BZ# 29210) 6ea3c0aba4 socket: Use 64 bit stat for isfdtype (BZ# 29209) 9bcf5b12f8 posix: Use 64 bit stat for fpathconf (_PC_ASYNC_IO) (BZ# 29208) 45e5d0f533 posix: Use 64 bit stat for posix_fallocate fallback (BZ# 29207) 37c94dc999 misc: Use 64 bit stat for getusershell (BZ# 29204) cb49c14183 misc: Use 64 bit stat for daemon (BZ# 29203) 6abb4002df Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose ac87df8d75 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #29127] 478cd506ea string.h: fix __fortified_attr_access macro call [BZ #29162] 2b128a7d30 linux: Add a getauxval test [BZ #23293] f5f7144dfc rtld: Use generic argv adjustment in ld.so [BZ #23293] 04892c543e S390: Enable static PIE 72d9dcfd16 csu: Implement and use _dl_early_allocate during static startup b5ddf33c6e Linux: Introduce __brk_call for invoking the brk system call 2d05ba7f8e Linux: Implement a useful version of _startup_fatal 55ee3afa0d ia64: Always define IA64_USE_NEW_STUB as a flag macro d66cca3fbb Linux: Define MMAP_CALL_INTERNAL a7b122a7b4 i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls d1772c9376 i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S 58bb3aeaae elf: Remove __libc_init_secure 0a5c6c9d99 Linux: Consolidate auxiliary vector parsing (redo) 76304dfdaf Linux: Include <dl-auxv.h> in dl-sysdep.c only for SHARED 788eb21ff0 Revert "Linux: Consolidate auxiliary vector parsing" 150039ff07 Linux: Consolidate auxiliary vector parsing 3948c6ca89 Linux: Assume that NEED_DL_SYSINFO_DSO is always defined 29f833f5ab Linux: Remove DL_FIND_ARG_COMPONENTS 1695c5e0f6 Linux: Remove HAVE_AUX_SECURE, HAVE_AUX_XID, HAVE_AUX_PAGESIZE 756d583c9e elf: Merge dl-sysdep.c into the Linux version 2c4fc8e5ca x86: Optimize {str|wcs}rchr-evex fdbc8439ac x86: Optimize {str|wcs}rchr-avx2 b05c0c8b28 x86: Optimize {str|wcs}rchr-sse2 bc35e22be4 x86-64: Fix SSE2 memcmp and SSSE3 memmove for x32 4d1841deb7 x86: Fix missing __wmemcmp def for disable-multiarch build cee9939f67 x86: Cleanup page cross code in memcmp-avx2-movbe.S 0909286ffa x86: Remove memcmp-sse4.S 5a8df6485c x86: Optimize memcmp SSE2 in memcmp.S af0865571a x86: Small improvements for wcslen 3b710e32d8 x86: Remove AVX str{n}casecmp fc5d42bf82 x86: Add EVEX optimized str{n}casecmp 33fcf8344f x86: Add AVX2 optimized str{n}casecmp 3496d64d69 x86: Optimize str{n}casecmp TOLOWER logic in strcmp-sse42.S 283982b362 x86: Optimize str{n}casecmp TOLOWER logic in strcmp.S 420cd6f155 x86: Remove strspn-sse2.S and use the generic implementation 4b61d76521 x86: Remove strpbrk-sse2.S and use the generic implementation 2fef1961a7 x86: Remove strcspn-sse2.S and use the generic implementation 1ed2813eb1 x86: Optimize strspn in strspn-c.c 3214c878f2 x86: Optimize strcspn and strpbrk in strcspn-c.c ff9772ac19 x86: Code cleanup in strchr-evex and comment justifying branch 424bbd4d25 x86: Code cleanup in strchr-avx2 and comment justifying branch 0a10b8b181 x86_64: Remove bcopy optimizations f0a53588da x86-64: Define __memcmpeq in ld.so a133623048 x86-64: Remove bzero weak alias in SS2 memset 18baf86f51 x86_64/multiarch: Sort sysdep_routines and put one entry per line d422197a69 x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) 58947e1fa5 fortify: Ensure that __glibc_fortify condition is a constant [BZ #29141] 28ea43f8d6 dlfcn: Implement the RTLD_DI_PHDR request type for dlinfo 78f82ab4ef manual: Document the dlinfo function bbb017a2bb NEWS: Add a bug fix entry for BZ #29109 5c0d94d780 linux: Fix posix_spawn return code if clone fails (BZ#29109) 059e36d9ed x86: Fix fallback for wcsncmp_avx2 in strcmp-avx2.S [BZ #28896] 676f7bcf11 x86: Fix bug in strncmp-evex and strncmp-avx2 [BZ #28895] c394d7e11a x86: Set .text section in memset-vec-unaligned-erms de0cd691b2 x86-64: Optimize bzero 0bf9c8b5fe x86: Remove SSSE3 instruction for broadcast in memset.S (SSE2 Only) 58596411ad x86: Improve vec generation in memset-vec-unaligned-erms.S 36766c02af x86-64: Fix strcmp-evex.S 250e277797 x86-64: Fix strcmp-avx2.S 34ef810945 x86: Optimize strcmp-evex.S b68e782f8e x86: Optimize strcmp-avx2.S ec5b79aac7 manual: Clarify that abbreviations of long options are allowed 0bcba53020 Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h 95759abbf3 Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h eed29011f9 Update kernel version to 5.17 in tst-mman-consts.py e72c363a15 Update kernel version to 5.16 in tst-mman-consts.py edc06fdd62 Update syscall lists for Linux 5.17 dde291ab53 posix/glob.c: update from gnulib 7d96aa2d7d linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097) 14b1e32a4d i386: Regenerate ulps ef87599348 linux: Fix missing internal 64 bit time_t stat usage 10fe3cd309 elf: Fix DFS sorting algorithm for LD_TRACE_LOADED_OBJECTS with missing libraries (BZ #28868) cb4d670d8f scripts/glibcelf.py: Mark as UNSUPPORTED on Python 3.5 and earlier 106b7e0e45 dlfcn: Do not use rtld_active () to determine ld.so state (bug 29078) e5cf8ccca6 INSTALL: Rephrase -with-default-link documentation c8ee1c85c0 misc: Fix rare fortify crash on wchar funcs. [BZ 29030] (From OE-Core rev: 50ca0eea5424c89c9b39cf69d8bd73fd65f06e95) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: Avoid reproducibility issuesRichard Purdie2022-07-042-0/+26
| | | | | | | | | | | | Currently, there are hardcoded paths in the binaries installed by this recipe, at least one some architectures. Change the compile definitions to point to more appropriate paths. Ideally we'd rework this patch into a form acceptable to upstream but I'm not entirely sure what that would look like right now. (From OE-Core rev: ede7ab3bbf87cc7d7e713d435ea8a88035c2e46e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: not clear BBCLASSEXTENDKai Kang2022-07-011-2/+3
| | | | | | | | | | | | | It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk' which is set in glibc recipe. The side effect is that it removes "${MULTILIBS}" at same time if multilib enabled. Then there will no multilib version glibc-tests. So only remove 'nativesdk' from BBCLASSEXTEND rather than clear it. (From OE-Core rev: d15975441471c9367b6d8cfa094f093e80f910d4) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change ↵Richard Purdie2022-06-281-1/+1
| | | | | | | | | | | | RDEPENDS:${PN}-dev There is a pattern that several recipes need to break the dependency of ${PN}-dev on ${PN}, most often as ${PN} may be be empty. Add a new variable to parameterise this and allow it to be changed more easily. (From OE-Core rev: a5b381c0f45c590a762647a9956a8f41e2e2315e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Drop make-native dependencyRichard Purdie2022-06-061-1/+1
| | | | | | | | Now that our make version is a minmum of 4.0 we can drop this dependency. (From OE-Core rev: 7a0c52fd44332abb24e0dea608229ab7c472d94e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Update to latest 2.35 tipKhem Raj2022-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings in below changes * 499a601796 Default to --with-default-link=no (bug 25812) * 70f1eecdc1 scripts: Add glibcelf.py module * d3feff2232 m68k: Handle fewer relocations for RTLD_BOOTSTRAP (#BZ29071) * 68d3a9a696 nptl: Fix pthread_cancel cancelhandling atomic operations * 8e8d46d598 mips: Fix mips64n32 64 bit time_t stat support (BZ#29069) * bd415684df hurd: Fix arbitrary error code * ba9c42ac0e nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) * 6583d53445 S390: Add new s390 platform z16. * cc9a4a664f elf: Fix memory leak in _dl_find_object_update (bug 29062) * db03235895 NEWS: Move PLT tracking slowdown to glibc 2.35. * 9be62976af hppa: Use END instead of PSEUDO_END in swapcontext.S * 01d5214bb4 hppa: Implement swapcontext in assembler (bug 28960) * 123bd1ec66 nss: Protect against errno changes in function lookup (bug 28953) * c54c5cd8e3 nss: Do not mention NSS test modules in <gnu/lib-names.h> * 3149f47b80 io: Add fsync call in tst-stat * e30c1c73da nptl: Fix cleanups for stack grows up [BZ# 28899] * ca0570fee3 hppa: Fix warnings from _dl_lookup_address * d82d9cdff4 hppa: Revise gettext trampoline design * 2631d3b3a6 hppa: Fix swapcontext * 1f77081178 Fix elf/tst-audit2 on hppa * c60e6a458b hppa: Fix bind-now audit (BZ #28857) * 90797f4972 localedef: Handle symbolic links when generating locale-archive * 732dd3a63d localedata: Do not generate output if warnings were present. * 3feecd8001 localedef: Update LC_MONETARY handling (Bug 28845) * a787325e83 NEWS: Add a bug fix entry for BZ #28688 * 264ad5d7d6 resolv: Fix tst-resolv tests for 2.35 ABIs and later * e247a3b118 elf: Replace tst-audit24bmod2.so with tst-audit24bmod2 * 1dd783fafd elf: Check invalid hole in PT_LOAD segments [BZ #28838] * 3226ffde07 NEWS: Add a bug fix entry for BZ #28896 * 676f85759c x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c * d001088e22 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896] * fd412fff6d x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896] * a30807b7db string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755] * f055faf801 linux: Use socket-constants-time64.h on tst-socket-timestamp-compat * 491f2ef1f0 linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ #28865] (From OE-Core rev: f199c89a9b94ba371d3c6b9a9b5afe06d9a7fb9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: ptest: Fix glibc-tests package issuePgowda2022-04-201-1/+2
| | | | | | | | | | Run glibc-tests only when its enabled in the DISTRO_FEATURES. (From OE-Core rev: 5555e7cf935b047a3dc3228d26bf0fd52eb425e5) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix multilib headers conflict for armYi Zhao2022-02-251-0/+1
| | | | | | | | | | | | | Fixes: Error: Transaction test error: file /usr/include/bits/dl_find_object.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 file /usr/include/bits/rseq.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 file /usr/include/bits/timesize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 (From OE-Core rev: 0982c2bc19f4cacd72fd43f93c6a0a4d45a75c6a) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: unify wordsize.h between arm and aarch64Yi Zhao2022-02-251-8/+0
| | | | | | | | | | | | | Make sure this header file is same in arm and aarch64. Fix the conflict error when enable multilib: Error: Transaction test error: file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 (From OE-Core rev: 402ba8367f5316fd8d25a536ebd12bc0bcdfa400) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Automated conversion of OE renamed variablesRichard Purdie2022-02-211-3/+3
| | | | | | (From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-203-3/+3
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix create thread failed in unprivileged processHongxu Jia2022-02-182-0/+89
| | | | | | | | | | | | | | | | | | | | | | | Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3] applied, start a unprivileged container (docker run without --privileged), it creates a thread failed in container. In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined. If __clone3 returns -1 with ENOSYS, fall back to clone or clone2. As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS was specified by an unprivileged process (process without CAP_SYS_ADMIN) [1] https://man7.org/linux/man-pages/man2/clone3.2.html So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could fix the issue. (From OE-Core rev: 58802b2c4f63a4572cc7cca26d1d8a6b30e2fc79) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Remove libsegfault and catchsegvKhem Raj2022-02-101-4/+1
| | | | | | | | | | | Glibc has dropped them starting with 2.35 see [1] [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=65ccd641bacea33be23d51da737c2de7543d0f5e (From OE-Core rev: 95c61d834596263ab1dd1fb1f8c8dbcc9104a935) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Upgrade to 2.35Richard Purdie2022-02-1044-1911/+174
| | | | | | | | | | | | | | Package /usr/bin/ld.so in a separate package ld.so is a new tool which is added as a symlink to original dynamic linker so make it available with same name across architectures which is useful to leveral features like --preload, --audit, and --list-diagnostics more accessible to end users (From OE-Core rev: 2658dcbcfc3db814af1ee104303effc1b6cfa489) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Drop prelink patchRichard Purdie2022-02-052-54/+0
| | | | | | | | | With the removal of prelink, we no longer need the glibc patch for it either. (From OE-Core rev: 7b1b5a7ac5f64fb04c9df7f77e1f65f8acde18a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: Correct PACKAGE_DEBUG_SPLIT_STYLEPeter Kjellerstedt2022-02-031-1/+1
| | | | | | | | | It was set to "debug", but the officially supported value is ".debug". (From OE-Core rev: 14ac72ead9c581c5fac224a9b330b62d5faa048a) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc : Fix CVE-2021-3999Pgowda2022-01-263-0/+395
| | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=8c8a71c85f2ed5cc90d08d82ce645513fc907cb6] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=472e799a5f2102bc0c3206dbd5a801765fceb39c] (From OE-Core rev: e9532134b86211801206ff540c4c284f43006f7b) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc : Fix CVE-2021-3998Pgowda2022-01-263-0/+422
| | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=062ff490c1467059f6cd64bb9c3d85f6cc6cf97a] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f7a79879c0b2bef0dadd6caaaeeb0d26423e04e5] (From OE-Core rev: 20cc83dd8d323d7ea86b3625f4e8da94c160def9) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc : Fix CVE-2022-23219Sundeep KOKKONDA2022-01-203-0/+146
| | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=226b46770c82899b555986583294b049c6ec9b40] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=ef972a4c50014a16132b5c75571cfb6b30bef136] (From OE-Core rev: 6ad7240c732dd63e74ac32588b92241030c194ae) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc : Fix CVE-2022-23218Sundeep KOKKONDA2022-01-203-0/+306
| | | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=e368b12f6c16b6888dda99ba641e999b9c9643c8] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f545ad4928fa1f27a3075265182b38a4f939a5f7] (From OE-Core rev: 83fa93b5fdb10a589bad2a9fc83552df8f1dbf28) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Redo tzselect bash dependency problemKhem Raj2021-12-125-36/+61
| | | | | | | | | | | New patch adds a knob to select needed shell interpreter for tzselect script, which then we excercise via EXTRA_OEMAKE (From OE-Core rev: 28adfbbcf42d15eabdd7fe3a5dea486bd5049f09) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Drop patch for obsolete conflict issueRichard Purdie2021-12-082-34/+0
| | | | | | | | | | We're no longer patching files called "libm-test-ulps" so this patch isn't really needed. Regardless, if we were, we should fix the real issue in the upstream code which may have already happened. Drop this patch. (From OE-Core rev: aef530a2d805c287c25ea8b4715602955e892ec9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Drop ppc sqrt optimisationsKhem Raj2021-12-085-2232/+0
| | | | | | | | | | | | | | OpenEmbedded isn't an upstream or a patch repository. These are optimisations which for reasons unknown were never merged into upstream glibc. We have no active ppc maintainers and these patches are at an evolutionary dead end. Since they are optimisations, there may be small performance regressions by removing them but OE can't carry patches like this indefinitely and these appear to have no future. (From OE-Core rev: 2511e937f4454813ab11a59057c29ae3f224ab5e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Drop patch to support/workaround prelinked apps on armv5Khem Raj2021-12-032-59/+0
| | | | | | | | | | | | | | The usecase explained in bug #1443 works fine now a days on qemuarmv5, tested by using lltng-ust and explicitly linking in liburcu-bp.so as well, since its no more a direct dependency of liblttng-ust.so.1 Given that usecase works, unbolt this fix now. (From OE-Core rev: 088cf642e4a58fd50f93b22b4fdf5a2f25e1ed53) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix i586/c3 supportRichard Purdie2021-11-241-1/+1
| | | | | | | | | | | CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds. [YOCTO #14632] (From OE-Core rev: 26e4fed594daefb6923c50171360f925c4822683) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: Do not set SYSTEMD_SERVICEKhem Raj2021-11-231-0/+2
| | | | | | | | | These are glibc specific which comes from glibc packaging class (From OE-Core rev: 9febfe70507035fd75b0aeb108b1bbb6996f9b78) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: ptest: Add running glibc time related test suite (Y2038) with ptestLukasz Majewski2021-11-232-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses qemu to execute remotely (via SSH) tests on some emulated machine. This recipe installs time related glibc tests on some rootfs image. Afterwards, those tests can be executed on the real hardware, to facilitate validation of it with Y2038 problem compliance. To test time related subset - one needs to call: ptest-runner glibc-tests then change the date after Y2038 threshold for 32 bit systems: date -s "20 JAN 2038 18:00:00" and then run ptest-runner again. To facilitate debugging, source files are provided by default with the unstripped debugging symbols. Such approach would reduce the already complex recipe (as it inherits base glibc one), so there is no need to also install *-dbg and *-src packages. (From OE-Core rev: 0a64888e033694e7a68f12df81ef8edfdca0ba3c) Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patches: correct whitespace/spelling for Upstream-Status tagsAlexander Kanavin2021-11-212-2/+2
| | | | | | | (From OE-Core rev: c613ca14c35a5d1782c79a25b83875cbfa2b952b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Backport fix for CVE-2021-43396Richard Purdie2021-11-162-0/+185
| | | | | | | | | Backport the fix for CVE-2021-43396. It is disputed that this is a security issue however the fix applies easily so we may as well. (From OE-Core rev: e8de9b01c6b305b2498c5f942397a49ae2af0cde) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-version.inc: remove branch= from GLIBC_GIT_URIAnuj Mittal2021-11-111-1/+1
| | | | | | | | | | GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add it here. (From OE-Core rev: 4c9cfe326913d28f82e6a91d1eeae55a6651f0f7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: use ln -rs instead of lnrRoss Burton2021-11-101-2/+2
| | | | | | | | | | | | | | | | | lnr is a script in oe-core that creates relative symlinks, with the same behaviour as `ln --relative --symlink`. It was added back in 2014[1] as not all of the supported host distributions at the time shipped coreutils 8.16, the first release with --relative. However the oldest coreutils release in the supported distributions is now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln. [1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d (From OE-Core rev: 1ca455a98de4c713f58df0a537d4c982d256cd68) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update github.com urls to use httpsRichard Purdie2021-11-031-1/+1
| | | | | | | | | | | | | | Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the conversion script over OE-Core to update our urls to use https instead of git. (From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Extract common code to build tests to glibc-tests.incLukasz Majewski2021-10-182-33/+36
| | | | | | | | | | | | | The common code to build tests has been extracted from glibc-testsuite recipe to glibc-tests.inc This code will be reused in the recipe necessary for providing glibc tests executed with ptest framework. (From OE-Core rev: 4ee26ef672c75e73b10412e87cee23797105d9bc) Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>