summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/musl
AgeCommit message (Collapse)Author
41 hoursrecipes: Switch away from S = WORKDIRRichard Purdie
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to a subdir of WORKDIR and make S point at this instead. I've chosen not to force S into any standard UNPACKDIR we may pick in future just so the S = UNPACKDIR case is clearly visible by the directory naming under WORKDIR as that should aid usability. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41 hoursrecipes: Start WORKDIR -> UNPACKDIR transitionRichard Purdie
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-19musl: doesn't support riscv32Ross Burton
musl doesn't support riscv32, so set COMPATIBLE_HOST appropriately. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-13musl: add typedefs for Elf64_Relr and Elf32_RelrZang Ruochen
The absence of this typedef causes elfutils to report the following error: /usr/include/gelf.h:86:9: error: unknown type name 'Elf64_Relr' https://git.musl-libc.org/cgit/musl/commit/?id=6be76895f6863100a311d474a42abdbb6466189d Signed-off-by: Zang Ruochen <zangruochen@loongson.cn> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-10-16gcompat: Upgrade to 1.1.0 releaseKhem Raj
License-Update: Updated copyright years and contibutors [1] Brings following changes * b7bfe0b Update documentation for 1.1 release * f0de9c6 CHANGELOG: Add pthread section * 36f21a6 pthread: add pthread_mutexattr_[get|set]kind_np * f23fb58 stdio: Hook fopen(3) to intercept /proc/self/exe * 158f2b5 Update CHANGELOG for 1.1 * 4a4c840 fix path-searching for execvp * 9dbbddc sysctl: Add __getauxval alias * fbdd06c misc: add __libc_single_threaded * f727ab7 locale: also override __newlocale/__duplocale * 244110e random_r: fix null dereference when passed uninitialized buf [1] https://git.adelielinux.org/adelie/gcompat/-/commit/b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6#0398ccd0f49298b10a3d76a47800d2ebecd49859 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-16gcompat: Add fcntl64 wrapperKhem Raj
Needed by pvr mesa drivers Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26musl-legacy-error: Add recipeKhem Raj
This adds glibc error() API implementation which is needed by few packages still. 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>
2023-09-26bsd-headers: Define __CONCAT and __STRINGKhem Raj
Sync with other musl distros Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26musl: Update to latestKhem Raj
Brings following bug fixes * 79bdacff glob: fix wrong return code when aborting before any matches * 7291c6c6 statvfs: allocate spare for f_type * 39e43f08 math: fix ld80 powl(x,huge) and powl(LDBL_MAX,small) * 6d101027 math: fix ld80 acoshl(x) for x < 0 Drop MIRRORS and switch to etalabs.net for git fetch URI original repo is not working correcting with git Fetcher Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-11libc-test: Run as non-root userKhem Raj
Some of tests impose rlimit on it before running which wont be imposed when running as root user. Fixes src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit FAIL src/regression/pthread_atfork-errno-clobber-static.exe [status 1] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-09-09libc-test: Depend on musl-staticdevKhem Raj
It builds statically linked tests during ptest run and therefore needs libc.a Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24recipes/classes/scripts: Drop SRCPV usage in OE-CoreRichard Purdie
Now that SRCPV isn't needed we can simplify things in a few places... Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-04musl: Upgrade to tip of trunkKhem Raj
Brings following changes * 83b858f8 fix rejection of dns responses with pointers past 512 byte offset * a4ecaf89 dns stub resolver: increase buffer size to handle chained CNAMEs * 40834f6c printf core: fix gratuitous integer formatting buffer size * 3a23cd06 all printf variants: fix argument type handling for %c and %lc * fa4a8abd fix public clone function to be safe and usable by applications * 0c277ff1 fix broken thread list unlocking after fork * 4653b987 mbrtowc: Fix wrong return value when n > UINT_MAX * b90841e2 configure: replace -Os with equivalent based on -O2 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>
2023-07-10musl: Guard fallocate64 with _LARGEFILE64_SOURCEKhem Raj
Gets this fix * 718f363b move fallocate64 declaration under _LARGEFILE64_SOURCE feature test Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25musl: Correct SRC_URIPeter Kjellerstedt
When the protocol used to fetch the Git repository was changed from "git" to "https" in commit 139102a73d (recipes: Default to https git protocol where possible), the URI was not updated to match. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09musl: Update to 1.2.4 releaseKhem Raj
Brings the following changes * f5f55d65 release 1.2.4 (From OE-Core rev: 9f2fe39d92816343347bd08f55cd4aca98e8a209) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-05-05recipes: Default to https git protocol where possibleRichard Purdie
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03musl: Update to latest masterKhem Raj
Brings the following changes * b928c723 fix return value of wmemcmp for extreme wchar_t values * 4724793f fix wide printf numbered argument buffer overflow * c1b42c4a wait4: fix missing rusage on x32 due to wrong success condition * 9b12982d semtimedop: fix timespec kernel ABI mismatch for 32-bit timeouts on x32 * 6d322159 getopt: fix null pointer arithmetic ub * 35e98311 nftw: fix use of uninitialized struct stat * 7c410472 fix inadvertently static local var in dynlink get_lfs64 * 77327ed0 dns: check length field in tcp response message Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14musl-locales: Add Canadian French (fr_CA) locale supportKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13meta/recipes: ensure all recipes have a SUMMARYAlexander Kanavin
DESCRIPTION is optional for now; writing good component descriptions is not easy (but appreciated). Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-13musl: Update to latest trunkKhem Raj
Brings these changes * 1d5750b9 fix swprintf handling of nul character in output * 0e523480 in printf, use ferror macro rather than directly inspecting flags bit * 868c9643 remove wide printf dependency on ugly hack in vfprintf * 3a051769 fix (normal, narrow) printf erroneously processing %n after output errors * 0440ed69 fix wide printf continuation after output or encoding errors * d055e6a4 fix wide printf forms ignoring width for %lc format specifier * b6811019 poll: fix misuse of timespec type on 32-bit archs without poll syscall * 8949da7a select: fix 64-bit timeout truncation on pre-time64 kernels * 3281047c dup3: don't set FD_CLOEXEC on failure on kernels without dup3 syscall * c99b7daa fix dup3 ignoring all flags but O_CLOEXEC on archs with SYS_dup2 syscall * fb7fb5e4 fix pipe2 silently ignoring unknown flags on old kernels * b1dfb734 getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW * 595416b1 getservbyport_r: fix out-of-bounds buffer read * 1a708ece getifaddrs: fix UB via taking address of null pointer union dereference * c499c108 accept4: don't fall back to accept if we got unknown flags * 523d9b96 fix potential read past end of buffer in getnameinfo host name lookup * d0b7f976 dns: fix workaround for systems defaulting to ipv6-only sockets * bec42ef3 dns: handle early eof in tcp fallback * 9b132e55 prevent CNAME/PTR parsing from reading data past the response end * 12590c8b fix out-of-bounds reads in __dns_parse * bc695a5a fix incorrect unit for CPU_SETSIZE macro Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-02-26musl: Update to tip of trunkKhem Raj
This brings in following changes * 7d756e1c (upstream/master, origin/master) dns: prefer monotonic clock for timeouts * 07616721 fix return value of wcs{,n}cmp for extreme wchar_t values * 35fdfe62 math: fix undefined shift in logf * 7e13e5ae inet_pton: fix uninitialized memory use for IPv4-mapped IPv6 addresses * 7e6da7ac hsearch: fix null pointer arithmetic UB * f79b973d increase sendmsg internal buffer to support SCM_MAX_FD * 0ab97350 mq_notify: block all (application) signals in the worker thread * 711673ee mq_notify: join worker thread before returning in error path * 8c0c9c69 mq_notify: rework to fix use-after-close/double-close bugs * fde6891e mq_notify: use semaphore instead of barrier to sync args consumption * c3cd04fa fix pthread_detach inadvertently acting as cancellation point in race case * 115149c0 powerpc-sf longjmp clobbering of val argument * 5763f003 riscv64: add vfork * 269d1938 fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64 * ea3b40a3 fix integer overflow in WIFSTOPPED macro * f897461d fix debugger tracking of shared libraries on mips with PIE main program * a4b0a665 expose memmem under baseline POSIX feature profile * 9532ae13 use libc-internal malloc for pthread_atfork * 7d358599 prevent invalid reads of nl_arg in printf_core * c5f4b2df elf.h: add ELFCOMPRESS_ZSTD * 159d1f6c semaphores: fix missed wakes from ABA bug in waiter count logic Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20musl-obstack: Update to 1.2.3Khem Raj
Switch to void-linux github handle, void-linux is the upstream anyway this brings 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>
2023-01-02musl: Update to latest on tip of trunkKhem Raj
Brings following changes * f47a8cdd ldso: fix invalid early references to extern-linkage libc.page_size * 377218cb pthread_atfork: fix return value on malloc failure * 29e43191 fix double-processing of DT_RELR relocations in ldso relocating itself * b50eb8c3 fix strverscmp comparison of digit sequence with non-digits * ad5dcd39 fix async thread cancellation stack alignment * 8f925945 fix return value of gethostby{name[2],addr} with no result but no error * 63402be2 clean up dns_parse_callback * 0a7b4323 dns response handling: don't treat too many addresses as an error * 41603c77 dns response handling: ignore presence of wrong-type RRs * cf76df0e fix missing synchronization of pthread TSD keys with MT-fork * 5ff3eea9 fgets: avoid arithmetic overflow when n==INT_MIN is passed * d8f35e29 fix AS-safety of close when aio is in use and fd map is expanded * 26c76a90 fix use of uninitialized dummy_fut in aio_suspend * aebd6a36 fix potential deadlock between multithreaded fork and aio * d64148a8 fix potential unsynchronized access to killlock state at thread exit * 36b72cd6 fix potential deadlock in dlerror buffer handling at thread exit * 833a4691 configure: disable TBAA optimization because most compilers are buggy * e6e82132 disable MADV_FREE usage in mallocng * 25e6fee2 remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE * 246f1c81 remove LFS64 symbol aliases; replace with dynamic linker remapping * dec8f0a4 dns query core: detect udp truncation at recv time * 8c408937 getaddrinfo dns lookup: use larger answer buffer to handle long CNAMEs * 759bf785 arpa/nameser.h: update RR types list * 51d4669f dns: implement tcp fallback in __res_msend query core * e2e95176 res_send: use a temp buffer if caller's buffer is under 512 bytes * c87d75f2 adapt res_msend DNS query core for working with multiple sockets * 85050ac5 getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomain Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11libc-test: add libc testsuite for muslChase Qi
libc-test is a collection of unit test to measure the correctness and robustness of a C/POSIX standard library implementation. It is developed as part of the musl project. Signed-off-by: Chase Qi <chase.qi@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-10-25musl: Upgrade to latest masterKhem Raj
Following changes are part of this SRCREV uprev * dc9285ad fix error cases in gethostbyaddr_r * f9827fc7 remove impossible error case from gethostbyname2_r * f081d533 fix return value of gethostnbyname[2]_r on result not found * 1e7fb12f dns: treat names rejected by res_mkquery as nonexistent rather than error * 001c1afb res_mkquery: error out on consecutive final dots in name * 3ad3fa96 fix thread leak on timer_create(SIGEV_THREAD) failure * bf14ef19 re-enable vdso clock_gettime on arm (32-bit) with workaround * 6f3ead0a process DT_RELR relocations in ldso-startup/static-pie * 25085c85 fix fwprintf missing output to open_wmemstream FILEs * a636fd63 dns: fail if ipv6 is disabled and resolv.conf has only v6 nameserves * 996b6154 use kernel-provided AT_MINSIGSTKSZ for sysconf(_SC_[MIN]SIGSTKSZ) * 25340a93 add sysconf keys/values for signal stack size * d8fddb96 fix fallback when ipv6 is disabled but resolv.conf has v6 nameserves * d4f987e4 epoll_create: fail with EINVAL if size is non-positive * 2e5fff43 use alt signal stack when present for implementation-internal signals * 379b1821 ldso: make exit condition clearer in fixup_rpath Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2022-09-22gcompat: Add __getauxval wrapper needed on aarch64Khem Raj
Update SRCREV to bring in few bug fixes Install a .so symlink which could be used during linking install libdir to create if not existing Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-21musl: Update to tipKhem Raj
brings in these fixes * 37e18b7b freopen: reset stream orientation (byte/wide) and encoding rule * bf992585 ldso: process RELR only for non-FDPIC archs * d32dadd6 ldso: support DT_RELR relative relocation format * 2404d9d6 use syscall_arg_t and __scc macro for arguments to __alt_socketcall 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>
2022-08-16musl: Upgrade to latest tip of trunkKhem Raj
Rebase existing patches Brings in following changes * 46d1c780 fix strings.h feature test macro usage due to missing features.h * baaf257f fix ESRCH error handling for clock_getcpuclockid * 4f48da00 aarch64: add vfork * 7d568410 fix mishandling of errno in getaddrinfo AI_ADDRCONFIG logic * d16d7b10 early stage ldso: remove symbolic references via error handling function * 63c67053 in early stage ldso before __dls2b, call mprotect with __syscall * a23a3da2 avoid limited space of random temp file names if clock resolution is low * 41002798 remove random filename obfuscation that leaks ASLR information * 6c858d6f ensure distinct query id for parallel A and AAAA queries in resolver * 8974ef21 mntent: fix potential mishandling of extremely long lines * 751bee0e mntent: fix parsing lines with optional fields * dcb31f6b fix constraint violation in qsort wrapper around qsort_r Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-28bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change ↵Richard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-17musl-obstack: upgrade 1.1 -> 1.2wangmy
Changelog: ========= Use obstack.c and obstack.h from gcc-10.2.0 libiberty. Add AC_CONFIG_HEADERS to configure.ac and make ./bootstrap.sh create config.h.in. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20musl-locales: Switch SRC_URI to new locationKhem Raj
Original repository has been less maintained and thusly adelie linux community has picked up the package and started to maintain it also applied long standing bug fixes. Now we use new fork by Adélie Linux, which includes more supported locales. 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>
2022-05-05musl: Upgrade to tip of trunkKhem Raj
brings in pre-work for submitting rv32 port * 6e9d2370 use __fstat instead of __fstatat with AT_EMPTY_PATH in __map_file * 05a55868 provide an internal namespace-safe __fstat * fb10dc28 only use fstatat and others legacy stat syscalls if they exist * 2b754a54 drop direct use of stat syscalls in internal __map_file * c9ba0769 provide an internal namespace-safe __fstatat * 7edbcbeb drop direct use of stat syscalls in fchmodat * 9a937495 drop use of stat operation in temporary file name generation * 12a757b3 only fallback to gettimeofday/settimeofday syscalls if they exist * 41149ea8 only use getrlimit/setrlimit syscalls if they exist * 8910efd0 don't remap internal-use syscall macros to nonexistent time32 syscalls * 03f71251 remove ARMSUBARCH relic from configure * 55b727d7 add missing POSIX confstr keys for pthread CFLAGS/LDFLAGS * 8cf87b30 fix incorrect parameter name in internal netlink.h RTA_OK macro 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>
2022-04-30musl-locales: explicitly depend on gettext-nativeRoss Burton
The gettext class is designed for use by applications with optional NLS support: depending on the value of USE_NLS it will either depend on gettext-minimal-native (just the autoconf macros) or gettext-native, and will pass --enable-nls/--disable-nls as appropriate. However, musl-locales specifically needs to run msgfmt at runtime, so explicitly depend on gettext-native instead. Also remove the redundant EXTRA_OECMAKE assignment. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26musl-locales: Add packageKhem Raj
This package will provide a limited set of localedata for musl based systems. It will fill in into images when IMAGE_LINGUAS variable is set however the choice is limited to the given 13 locales as of now. e.g. IMAGE_LINGUAS ?= "de-de fr-fr en-gb" would work fine Default locale can be set by exporting LANG=<locale> in /etc/profile or some such file e.g. export LANG=de_DE.UTF-8 This will also help in ptest coverage with musl where some test packages expect locales e.g. pango to name one. Do not empty out IMAGE_LINGUAS forcibly for musl anymore 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>
2022-04-22gcompat: Fix build when usrmerge distro feature is enabledKhem Raj
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>
2022-04-22musl: Fix build when usrmerge distro feature is enabledKhem Raj
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>
2022-04-12musl: Move to 1.2.3 release tagKhem Raj
This actually are just 2 patches on top of what we have thus far * 7a43f6fe release 1.2.3 * 01b14242 accept null pointer as message argument to gettext functions Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-03-26musl: Update to latest masterKhem Raj
brings following fixes * 6d8a5157 fix invalid free of duplocale object when malloc has been replaced * 760f5d7e fix __WORDSIZE on x32 sys/user.h * bdb54540 sys/ptrace.h: add PTRACE_GET_RSEQ_CONFIGURATION from linux v5.13 * aa3bab6c sys/prctl.h: add PR_PAC_{SET,GET}_ENABLED_KEYS from linux v5.13 * a8300f5d elf.h: add NT_ARM_PAC_ENABLED_KEYS from linux v5.13 * dda21f10 netinet/in.h: add INADDR_DUMMY from linux v5.13 * ee05b11b bits/syscall.h: add landlock syscalls from linux v5.13 * 1ee8109e netinet/tcp.h: add tcp_zerocopy_receive fields from linux v5.12 * bc89c311 netinet/tcp.h: add TCP_NLA_* values up to linux v5.12 * 9ffd1454 s390x: add ptrace requests from linux v5.12 * f7d3db5b bits/syscall.h: add mount_setattr from linux v5.12 * e99c4258 signal.h: add new sa_flags from linux v5.11 * 993cccce signal.h: add SYS_USER_DISPATCH si_code value from linux v5.11 * 3dcbd896 signal.h: add si_code values for SIGSYS * 30c8a145 netinet/tcp.h: add tcp zerocopy related changes from linux v5.11 * b54f481f netinet/if_ether.h: add ETH_P_CFM from linux v5.11 * c5ecaca7 sys/socket.h: add new SO_ socket options from linux v5.11 * f35b99b3 sys/prctl.h: add PR_SET_SYSCALL_USER_DISPATCH from linux v5.11 * b21f3ded bits/syscall.h: add epoll_pwait2 from linux v5.11 * 3aba2150 nice: return EPERM instead of EACCES * 74a28a8a protect stack canary from leak via read-as-string by zeroing second byte * 7c0c7a75 math: avoid runtime conversions of floating-point constants Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-03-17libucontext: Upgrade to 1.2 releaseKhem Raj
License-Update: Copyright years changed [1] aarch64 implements simd register save/restore loongarch64 supported added [1] https://github.com/kaniini/libucontext/commit/9943d4f5fc31a23a591e74caf24ce4effd887501 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gcompat: Do not use static-pie on ppcKhem Raj
It fails currently with binutils 2.38 powerpc-yoe-linux-musl-ld: read-only segment has dynamic relocations Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12gcompat: Update to latestKhem Raj
Brings in these fixes * 391b270 unistd: add __close * 8af2ff2 random_r: set `x` before calling savestate_r * cca99e8 wchar: add __mbrlen * 59e99e9 random_r: Add reentrant random functions from LSB * 6461276 gnulib: Add __fdelt_warn alias Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27musl: Update to latest masterKhem Raj
brings in these fixes * f8bdc304 fix spurious failures by fgetws when buffer ends with partial character * 5690668a add missing strerror text for key management * 3b7b4155 fix out-of-bound read processing time zone data with distant-past dates * 75b3412f fix potentially wrong-sign zero in cproj functions at infinity * 52f0deb9 make fseek detect and produce an error for invalid whence arguments * cbacd638 add SEEK_DATA and SEEK_HOLE to unistd.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10meta: Remove libsegfault and catchsegvKhem Raj
Glibc has dropped them starting with 2.35 see [1] [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=65ccd641bacea33be23d51da737c2de7543d0f5e Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03musl: Update to latest masterKhem Raj
Changes in this srcrev bump * c4d4028d fix failure to use add-cfi scripts on asm when building out-of-tree * 775bde6b fix wcwidth of hangul combining (vowel/final) letters * 8d404733 fix mismatched signatures for strtod_l family * 98e688a9 define NULL as nullptr when used in C++11 or later * 8274aaaa fix hwcap access in powerpc-sf setjmp/longjmp * 3733c831 fix struct layout mismatch in sound ioctl time32 fallback conversion Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10meta: use ln -rs instead of lnrRoss Burton
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 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03recipes: Update github.com urls to use httpsRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01musl: Update to tip of trunkKhem Raj
This brings following fixes * b76f37fd add qsort_r and make qsort a wrapper around it * 7be59733 add SPE FPU support to powerpc-sf * e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and memcpy * b713b8b2 fix excessively slow TLS performance on some mips models * 3eed6a6f fix error checking in pthread_getname_np Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30meta: Add explict branch to git SRC_URIsRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>