summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/musl/musl
AgeCommit message (Collapse)Author
2020-12-14musl: Update to latest masterKhem Raj
Refresh patches to apply to this update Brings in following fixes * 1e4204d5 use libc-internal malloc for newlocale/freelocale * 36246b34 drop use of pthread_once in newlocale * 37fcc13c lift locale lock out of internal __get_locale * c53e9b23 fix misleading comment in strstr * b67d56c7 drop use of pthread_once for aio thread stack size init * 90ff0169 fix omission of non-stub pthread_mutexattr_getprotocol * 56f0631d riscv64: fix inconsistent ucontext_t struct tag * 50c7935c fix failure to preserve r6 in s390x asm; per ABI it is call-saved * 738c4e94 s390x: derive float_t from compiler or default to float * 821083ac implement reallocarray * 29ff7599 implement realpath directly instead of using procfs readlink * 5d464f52 fix mallocng regression in malloc_usable_size with null argument * d046ec92 configure: do not use obsolescent form of test -a|o * c5d118eb fix segfault in lutimes when tv argument is NULL * 67f77462 netinet/in.h: add IP_RECVERR_4884 from linux v5.9 * d078f836 sys/fanotify.h: add new FAN_* macros from linux v5.9 * 3ba370fe bits/syscall.h: add __NR_close_range from linux v5.9 * badc5bb2 add missing personality values * 6e989248 arm fabs and sqrt: support single-precision-only fpu variants * c8c3e341 fix typo in INSTALL * e2fa720b work around linux bug in readlink syscall with zero buffer size * c17cda6d parse v3 or future-unknown zoneinfo file versions as v2+ * 585a0a78 explicitly prefer 64-bit/v2 zoneinfo tables * debbddf7 fix regression in pthread_exit * 3ab2a4e0 rewrite wcsnrtombs to fix buffer overflow and other bugs * 233bb697 protect destruction of process-shared mutexes against robust list races * d26e0774 pthread_exit: don't __vm_wait under thread list lock * 167390f0 lift child restrictions after multi-threaded fork * 34952fe5 convert malloc use under libc-internal locks to use internal allocator * 8d37958d give libc access to its own malloc even if public malloc is interposed * c1e5d243 drop use of getdelim/stdio in dynamic linker * cbecda0b dlerror: don't gratuitously hold freebuf_queue lock while freeing * 4ffa7068 fix vector types in aarch64 register file structures Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31musl: Add .file directive in crt assembly filesKhem Raj
This helps linker to noot emit absolute paths into .debug_line sections of liked binaries and libraries and therefore make them reproducible Reported-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28musl: Update to tip of masterKhem Raj
Detailed changelog [1] Refresh patches [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1b4e84c56df0f8ca30f6bc05962a860f869e71df..fca7428c096066482d8c3f52450810288e27515c Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-03musl: Upgrade beyond 1.24Khem Raj
License-Change: Added ARM to copyright files [1] [2] [3] Detailed changes are here [4] [1] https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=db3cc9a319c788cf5241ea68d3fa86b43f35733e [2] https://git.musl-libc.org/cgit/musl/commit/?id=daa29e894c74d61296fe19d9b7c4be2f04037639 [3] https://git.musl-libc.org/cgit/musl/commit/?id=d3f7df235904439d48db041c7796e5b44be5b8e6 [4] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=2c2477da9a553c0b9b2fa18073a5dcdbe6d395af..70d80609558153a996833392999c69cdb74e1119 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-07musl: Update to latestKhem Raj
Drop upstream'ed patch Fix libgcc build with musl Detailed ChangeLog [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1f0e9f9cc2e3fa354f94e18b3b362de5f1ec7272..2c2477da9a553c0b9b2fa18073a5dcdbe6d395af Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-02musl: Fix __riscv_mc* containers to match glibcKhem Raj
Fixes packages like gdb compile Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-27musl: Fix riscv64 CAS functionsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27Revert "musl: Add TEMP_FAILURE_RETRY from glibc"Khem Raj
This reverts commit 0c68c621d3b8690e3a346170006f75b032511a8a. It should be upstreamed first Secondly, musl and glibc are under different licenses and importing code from one to other could taint it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16musl: Add TEMP_FAILURE_RETRY from glibcAdrian Bunk
Patch it into musl instead of patching all users (currently elfutils and next ofono). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-05musl: Update for few bugfixesKhem Raj
We have seen/reported few dlopen related fixes which has been fixed upstream, therefore upgrade all set of changes https://git.musl-libc.org/cgit/musl/log/?qt=range&q=6516282d2adfad2c7e66d854cde3357120c75dbd..43e7efb46555f13a556d92944ac05c19b8929b60 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-01musl: Fix out of bounds data access in dlopenKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-15musl: Create default library search path based on configurationSerhey Popovych
In absence of /etc/ld-musl-$(ARCH).path file musl uses hardcoded default search path "/lib:/usr/local/lib:/usr/lib". This works for cases when system libraries installed in one of these pathes. However if lib64 or libx32 used as system library directories and no usr merge functionality enabled for distro musl dynamic loader cannot find libraries and finally execute binaries. Found while working on support for musl on powerpc64 builds where lib64 variant is used regardless of multilib being on or off. Fix by creating default search path based on configuration time values for syslibdir and libdir. Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-24musl: Bring in patches post 1.20 releaseKhem Raj
There have been regressions found in 1.20 release, this is cumulative update to bring these changes and drops the local patches which have been upstreamed in this delta https://git.musl-libc.org/cgit/musl/log/?qt=range&q=0fa1e638e87cf257e9f96b4019b2076afd674a19..c50985d5c8e316c5c464f352e79eeebfed1121a9 License-Update: Dropped BSD Prng implementation https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=c50985d5c8e316c5c464f352e79eeebfed1121a9 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-17musl: Add MAX_HANDLE_SZKhem Raj
(From OE-Core rev: d24bafa872cd1915ca23468bb37be98518347e02) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-17musl: Wire-up name_to_handle_at and name_to_handle_at syscallsKhem Raj
(From OE-Core rev: c70bb5a24e8923a34adb9c7b8298ae12702e3f27) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04musl: Rename files/ directory to musl/Khem Raj
Since it holds musl specific patches, name it so Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>