summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/musl
Commit message (Collapse)AuthorAgeFilesLines
* musl: Drop adding .file directive in asm filesKhem Raj2021-02-032-246/+0
| | | | | | | | | | | it was a workaround for binutils issue which is fixed in 2.36 with https://sourceware.org/bugzilla/show_bug.cgi?id=26822 (From OE-Core rev: 628668acdd897d79154ebc304edef8a95ff54ac5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to 1.2.2 releaseKhem Raj2021-01-271-2/+2
| | | | | | | | | | | | | | | | Detailed logs are here [1] * 85e0e351 release 1.2.2 * 3953aecb fix VIDIOC_DQEVENT (v4l2) ioctl fallback for pre-5.6 kernels * 30f55067 fix v4l2 buffer ioctl fallbacks for pre-5.6 kernels * db981ffb sh: fix incorrect mcontext_t member naming [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1e4204d522670a1d8b8ab85f1cfefa960547e8af..85e0e3519655220688e757b9d5bfd314923548bd (From OE-Core rev: 73c2661a328b109a9fa69fbb4150c15622a5b506) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl/glibc: Document assembly file directive fixKhem Raj2021-01-161-1/+5
| | | | | | | | | | It has been fixed in binutils so we want to drop it with binutils 2.36 upgrade when it happens (From OE-Core rev: 89ba28933067b38ab1023aaf30951eb6969d50c6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2020-12-153-64/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: b70b875c2f405f6481b1179419cf0f086fa31f53) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2020-11-111-1/+1
| | | | | | | | | | | fix erroneous pthread_cond_wait mutex waiter count logic due to typo https://git.musl-libc.org/cgit/musl/log/?qt=range&q=27b2fc9d6db956359727a66c262f1e69995660aa..d91a6cf6e369a79587c5665fce9635e5634ca201 (From OE-Core rev: 09ffd51416da9475c3a2aadc7423d791fdcf21ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latestKhem Raj2020-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Fixes pthread_condvars add support for SIGEV_THREAD_ID times * 27b2fc9d fix missing-wake regression in pthread_cond_wait * 7c71792e add support for SIGEV_THREAD_ID timers * f70375df fix sem_close unmapping of still-referenced semaphore * 613ccabe refactor setxid return path to use __syscall_ret * ccba2345 ldso: notify the debugger when we're doing a dlopen * 4209a7b1 fix setgroups behavior in multithreaded process * 6ce91ef0 avoid __synccall for setrlimit on kernels with prlimit syscall * 3437e478 fix reintroduction of errno clobbering by atfork handlers * 2d0bbe6c fix pthread_cond_wait paired with with priority-inheritance mutex Details are here [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=0b87551bdfb74ac411caa335d8ad0b89a7f139c6..27b2fc9d6db956359727a66c262f1e69995660aa (From OE-Core rev: bb230e7e00beb0ee5d2e7f453f282693f3efadbf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Add .file directive in crt assembly filesKhem Raj2020-10-312-0/+301
| | | | | | | | | | | 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> (From OE-Core rev: cc4b464e31fec68b32592cc84344a9704eae8e02) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2020-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in this revision bump are * 0b87551b (upstream/master) lift sigaction abort locking to fix posix_spawn child deadlock * 99d5098a update crypt_blowfish to support $2b$ prefix * 957c2763 remove unused weak definition of __tl_sync in membarrier.c * 55767360 move aio implementation details to a proper internal header * 37337660 remove long-unused struct __timer from pthread_impl.h * 85e16aec drop use of pthread_once in timer_create * 6ae2568b remove unused SIGTIMER handler in timer_create * 47baa030 remove incorrect fflush from assert failure handler * da845d52 fix getgrouplist when nscd reports an empty list * b7bc9665 fix posix_spawn interaction with fork and abort by taking lock * 25ea9f71 fix unintended observability of SIGABRT disposition reset via sigaction * bd153422 implement _Fork and refactor fork using it * e1e98d86 rename fork source file * 50716702 ldso: use pthread_t rather than kernel tid to track ctor visitor * 1efc8eb2 fix stale lock when allocation of ctor queue fails during dlopen * 69a1b390 drop use of pthread_once in mutexattr kernel support tests * b115bee4 fix missing synchronization of fork with abort * 3cd3de61 move __abort_lock to its own file and drop pointless weak_alias trick * 34904d83 fix fork of processes with active async io contexts Details are here [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=a5aff1972c9e3981566414b09a28e331ccd2be5d..0b87551bdfb74ac411caa335d8ad0b89a7f139c6 (From OE-Core rev: 3024a517e7cb0b1e038beae0ff462d292d6edd16) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to masterKhem Raj2020-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes, supports linux 5.8 syscalls [1] * a5aff197 avoid set*id/setrlimit misbehavior and hang in vforked/cloned child * 55fb9a17 use new SYS_faccessat2 syscall to implement faccessat with flags * f035c7b1 netinet/if_ether.h: add ETH_P_MRP from linux v5.8 * 6b1741aa elf.h: add .note.gnu.property related definitions * 9b7ed970 bits/syscall.h: add __NR_faccessat2 from linux v5.8 * 616a8bf6 netinet/tcp.h: update to linux v5.7 * a6c302be sys/mman.h: add MREMAP_DONTUNMAP from linux v5.7 * 8adf42f7 sys/fanotify.h: update to linux v5.7 * 94ab68c2 aarch64: add new HWCAP2_ macros from linux v5.6 * 0296baff aarch64: add HWCAP2_ macros from linux v5.3 * 43b640c2 sched.h: add CLONE_NEWTIME from linux v5.6 * 3da18e69 sys/random.h: add GRND_INSECURE from linux v5.6 * 8f4aa78a sys/prctl.h: add PR_{SET,GET}_IO_FLUSHER from linux v5.6 * 1ab341e8 netinet/udp.h: add TCP_ENCAP_ESPINTCP from linux v5.6 * c6321616 netinet/tcp.h: update for linux v5.6 * 8fca0ea4 netinet/in.h: add IPPROTO_ macros from linux v5.6 * d9900903 add pidfd_getfd and openat2 syscall numbers from linux v5.6 * d4f29814 netinet/tcp.h: update tcp_info for linux v5.5 [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=ffac0c229986725c0d0f3c806bafa7e3ca409f3b..a5aff1972c9e3981566414b09a28e331ccd2be5d (From OE-Core rev: e104d235cb14f0d58bfefe48e3888430503ba619) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: Recognise riscv32 architectureKhem Raj2020-09-121-0/+1
| | | | | | | (From OE-Core rev: 67ec87e37d66fc287158e500d7f8465a0dd5d8c6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to latest masterKhem Raj2020-09-121-1/+1
| | | | | | | | | | | | | Accomodates rv32 port which is out of tree at the moment details are [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=73cc775bee53300c7cf759f37580220b18ac13d3..ffac0c229986725c0d0f3c806bafa7e3ca409f3b (From OE-Core rev: ce688d36ebd758e6c8973dd3a1d7d93ab075f5d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to latest release 1.2.1Alejandro Hernandez2020-08-061-2/+2
| | | | | | | | (From OE-Core rev: 227430916a3e50bec5741e00cb7f2dbc52a85eb3) Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest tipKhem Raj2020-07-192-2/+2
| | | | | | | | | | | | | | | | | License-Update: Added copyright for AArch64 memcpy and memset code [1] Details changelog is here [2] [1] https://git.musl-libc.org/cgit/musl/commit/?id=fdf8b2ad9c5ae6adf3a91c0043eb898badee46d1 [2] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=fca7428c096066482d8c3f52450810288e27515c..0a005f499cf39822166dd4db3d2d31f0639f1b1b (From OE-Core rev: d340f02ad2df0a29b1a1cc0b36f2099a3e64f5c2) Signed-off-by: Khem Raj <raj.khem@gmail.com> s Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to tip of masterKhem Raj2020-06-283-21/+7
| | | | | | | | | | | | Detailed changelog [1] Refresh patches [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1b4e84c56df0f8ca30f6bc05962a860f869e71df..fca7428c096066482d8c3f52450810288e27515c (From OE-Core rev: 4ce9fbb9802cb802110a684b59fdf5c9c8e7e77e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to tip of masterKhem Raj2020-05-241-1/+1
| | | | | | | | | | | Detailed changes [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=040c1d16b468c50c04fc94edff521f1637708328..1b4e84c56df0f8ca30f6bc05962a860f869e71df (From OE-Core rev: 67294d3e9cb2b3e416b76808dce1701391b88df1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Remove spurious unused patchKhem Raj2020-05-031-36/+0
| | | | | | | (From OE-Core rev: 26eb22191fc5c31698aec7a6cdee1038e6a468d9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: Bring in mips/mips64 supportKhem Raj2020-04-244-101/+60
| | | | | | | | | | | | | | | | | | | | License-Update: Updated copyright years [1] Latest master 0.10.x+ has added support for mips/mips64, which should help compile ruby on musl for these architectures Switch SRC_URI to github upstream URI Check for common arches before checking others in map_kernel_arch Drop already upstreamed patches [1] https://github.com/kaniini/libucontext/commit/d31eaabbaf5f45656c10e4bccd3fe6653a7d3ec1 (From OE-Core rev: aa3b25b649cfe5d30cc0d8a539fbbcc9efdb4fbd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Add support for multilibKhem Raj2020-03-211-3/+7
| | | | | | | | | | | | | | ldso is always stored in /lib regardless of multilib add ld-musl-${MUSL_LDSO_ARCH}.path to aid ldso finding default library loading paths, it helps when using multilib, where system libraries are moved to lib32 or lib64 paths under / or /usr [YOCTO #11971] (From OE-Core rev: bfa1ea82bb2ec9d1ae6da0a442bed519a6464698) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: Fix multilib buildKhem Raj2020-03-212-1/+48
| | | | | | | | | | libdir is hardcoded to /lib which is not going to work in multilib scene, patch makefile to add a variable to override the libdir from env (From OE-Core rev: 75b29a68f11f9c10a89ba413abd1023cfcf90982) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: removes aliases for glibc provided librariesJan Kaisrlik2020-03-151-14/+7
| | | | | | | | | | | | | | | | | | | | Based on the recommendation in musl mailing list[1] All symlinks have been removed from musl recipe. Move stub libraries into -dev package having them treated as normal .a which they are not, is not correct and packages shoves them into static archives, which are not installed on target usually unless asked for this should help in linking with -lm, -lpthread etc. on target [1]: https://www.openwall.com/lists/musl/2020/03/10/11 (From OE-Core rev: 8d068bd3adec64d451cf9cd4ae6b0803a7152463) Signed-off-by: Jan Kaisrlik <ja.kaisrlik@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to final 1.2.0 releaseKhem Raj2020-02-221-2/+2
| | | | | | | | | | Detailed log [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=a662220df547e5c2446518e74440a7d834f9ebe6..040c1d16b468c50c04fc94edff521f1637708328 (From OE-Core rev: 732cac03632fee312e8a43aa091d056d4a3900f0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest tipKhem Raj2020-02-151-1/+1
| | | | | | | | | | | Detailed changelog is here [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=e6093b5a870a38ebfb3e54382acd48c698bde15d..a662220df547e5c2446518e74440a7d834f9ebe6 (From OE-Core rev: e8d52c24ee217d7ba69fe24fa7ef8b533a274c2d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest on masterKhem Raj2020-02-051-1/+1
| | | | | | | | | | | Details on commit delta [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=83350eb17b9cb355e3f08b0340c4f1e8c437fac9..e6093b5a870a38ebfb3e54382acd48c698bde15d (From OE-Core rev: d4ecf976c446984bd9fb1181e12e02cb9a5829a3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latestKhem Raj2020-02-021-1/+1
| | | | | | | | | | | Changelog [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=91e662d1d941215eb024787db5e910dbfb5b169f..83350eb17b9cb355e3f08b0340c4f1e8c437fac9 (From OE-Core rev: bc922df14d128212e396658f76d63b03a6f30729) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Musl: Update to latest masterKhem Raj2020-01-271-1/+1
| | | | | | | | | | | Detailed changelog [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=70d80609558153a996833392999c69cdb74e1119..91e662d1d941215eb024787db5e910dbfb5b169f (From OE-Core rev: 90da58dd295abef1bdc343916906f10c85eaf12f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: Add recipeKhem Raj2020-01-272-0/+93
| | | | | | | | | | Help musl based systems provide ucontext APIs, these APIs are used in some common applications e.g. chromium browser (From OE-Core rev: 51c329d2d3fbefd5483bb78f471f4c222ad061c1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Ensure that B is clean before configure task is runKhem Raj2020-01-061-0/+2
| | | | | | | (From OE-Core rev: 53cf1241fa4721ba89955146099749d05c5d7171) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Build outside of source treeKhem Raj2020-01-031-0/+2
| | | | | | | | | | | musl does not use cmake/autotools etc. but plane old makefile basded build system, which means it does not get B defined to be outside S therefore define B explicitly to be outside S (From OE-Core rev: 025a7a4007d4f6f64c861dc498dab68eaa650c2d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade beyond 1.24Khem Raj2020-01-033-52/+3
| | | | | | | | | | | | | | | | 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 (From OE-Core rev: 222574d744b6605ad938e1b7c64834303bcbea92) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latestKhem Raj2019-10-084-125/+50
| | | | | | | | | | | | | | 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 (From OE-Core rev: 88ab64956762cd51d953128262fd9bc0338a4488) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Fix __riscv_mc* containers to match glibcKhem Raj2019-10-022-0/+68
| | | | | | | | | | Fixes packages like gdb compile (From OE-Core rev: 6792307a41c71786841f8fa6224af81be201688e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Fix riscv64 CAS functionsKhem Raj2019-09-272-0/+56
| | | | | | | (From OE-Core rev: 853c35003abe5a1430a432f32fa325d6021f2d2f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2019-09-161-1/+1
| | | | | | | | | | | | | | | | | * Added copy_file_range posix_spawn_file_actions_add[f]chdir API * optreset is added to getopt * pthread fixes * Conditionally add legacy long definition of wchar_t Details [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=6ad514e4e278f0c3b18eb2db1d45638c9af1c07f..1f0e9f9cc2e3fa354f94e18b3b362de5f1ec7272 (From OE-Core rev: 030b44af19268ae4a72bb25aa77526f7e39bd4a3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2019-09-061-1/+1
| | | | | | | | | | | | | | sys/user.h related API fixed on ppc/ppc64 Detailed log [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=29e8737f81ccc9fbadcf61a75318aa3d0516aafa..6ad514e4e278f0c3b18eb2db1d45638c9af1c07f (From OE-Core rev: 961312512fa80622143c35c4edaa19287be01bbb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest tipKhem Raj2019-08-211-1/+1
| | | | | | | | | | | | Fixes build regressions on risc-v Detailed changelog is here [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=d0b547dfb5f7678cab6bc39dd736ed6454357ca4..29e8737f81ccc9fbadcf61a75318aa3d0516aafa (From OE-Core rev: 0e590898134e3a9ae971ab0c5c570c6de3e162bd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Delete GLIBC_LDSO before creating symlink with lnrKhem Raj2019-08-141-1/+1
| | | | | | | | | | | | | | | Fixes rebuild failures after say do_compile fails | ./tools/install.sh -D -r /mnt/a/yoe/build/tmp/work/riscv64-yoe-linux-musl/musl/1.1.23+gitAUTOINC+d0b547dfb5-r0/image/usr/lib/libc.so /mnt/a/yoe/build/tmp/work/riscv64-yoe-linux-musl/musl/1.1.23+gitAUTOINC+d0b547dfb5-r0/image/lib/ld-musl-riscv64.so.1 || true | Traceback (most recent call last): | File "/mnt/a/yoe/sources/openembedded-core/scripts/lnr", line 24, in <module> | os.symlink(target, linkname) | FileExistsError: [Errno 17] File exists: 'image/usr/lib/libc.so' -> '/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux-musl/musl/1.1.23+gitAUTOINC+d0b547dfb5-r0/imageNone' (From OE-Core rev: 78a75d240083a80d624074e058c9a222a8a7b5e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to master tipKhem Raj2019-08-121-1/+1
| | | | | | | | | | | | | | | Fix for RISC-V build regression 64bit time syscall plumbing Changes are here [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=0ce49d0a301b4142741b32773492af90f66ed3ca..d0b547dfb5f7678cab6bc39dd736ed6454357ca4 (From OE-Core rev: 34196d2913027d1fc8c080ea0c392a387e70a162) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl-obstack: Add recipeKhem Raj2019-07-231-0/+22
| | | | | | | | | | | | obstacks from GNUlib is used in some OE-Core packages e.g. elfutils and other packages outside OE-Core, this recipe helps provide this functionality standalone on musl systems, and helps in getting full versions of dependent packages (From OE-Core rev: a0fb9093733a0e7e3e83f9bcedbd0fcbf6e1a0d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to 1.1.23+Khem Raj2019-07-232-3/+3
| | | | | | | | | | | | | | | | | | License-Update: Added contributor list and copyright years https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=7a6c8a0df1b685d788fd4d3763681bb3018806d7 https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=d6dcd4185bddff34724d6d539f834e9daf7dcf3d - include release 1.1.23 - Add riscv support - Add syscall numbers upto 5.1 kernel Detailed log https://git.musl-libc.org/cgit/musl/log/?qt=range&q=ac304227bb3ea1787d581f17d76a5f5f3abff51f..0ce49d0a301b4142741b32773492af90f66ed3ca (From OE-Core rev: 31a08144f9c739b8d4f0a968860a5de8af44fdce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to master tipKhem Raj2019-05-271-1/+1
| | | | | | | | | | Changes https://git.musl-libc.org/cgit/musl/log/?qt=range&q=65c8be380431eebe4d70d130bd38563f8df9a7d7..ac304227bb3ea1787d581f17d76a5f5f3abff51f (From OE-Core rev: c46c6e6f660d808c1fa49dea2b1df32730bea232) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "musl: Add TEMP_FAILURE_RETRY from glibc"Khem Raj2019-05-272-37/+0
| | | | | | | | | | | | | | 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. (From OE-Core rev: 71c6930e304f8918e4bd571237ff41e7e9e9b9a3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Add TEMP_FAILURE_RETRY from glibcAdrian Bunk2019-05-162-0/+37
| | | | | | | | | | Patch it into musl instead of patching all users (currently elfutils and next ofono). (From OE-Core rev: 0c68c621d3b8690e3a346170006f75b032511a8a) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to master past 1.1.22Khem Raj2019-04-161-2/+2
| | | | | | | | | | Changes are here https://git.musl-libc.org/cgit/musl/log/?qt=range&q=43e7efb46555f13a556d92944ac05c19b8929b60..65c8be380431eebe4d70d130bd38563f8df9a7d7 (From OE-Core rev: 8cd81b3948622b5bd6d9596b93533ca618a53d8a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update for few bugfixesKhem Raj2019-03-062-22/+1
| | | | | | | | | | | | | | 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 (From OE-Core rev: 7930f114aff8e00e777a26656e465f1fe43780b5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Fix out of bounds data access in dlopenKhem Raj2019-03-022-0/+21
| | | | | | | (From OE-Core rev: c81a204f41bd018964d7ef096087ace5c78365c3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest beyond 1.21Khem Raj2019-02-261-1/+1
| | | | | | | | | https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1691b23955590d1eb66a11158fdd91c86337e886..6516282d2adfad2c7e66d854cde3357120c75dbd (From OE-Core rev: fd296e30ef5d427e7e876524f3ef659291e2119e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to 1.1.21 releaseKhem Raj2019-01-221-2/+2
| | | | | | | | | | | Delta of changes from previous Revision https://git.musl-libc.org/cgit/musl/log/?qt=range&q=de7dc1318f493184b20f7661bc12b1829b957b67..1691b23955590d1eb66a11158fdd91c86337e886 (From OE-Core rev: c47d18b87ac6fbe85959546ca049d13aa624e716) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl,glibc,newlib: Drop redundant STAGINGCCKhem Raj2019-01-211-6/+0
| | | | | | | | | We do not have initial phase of bootstrapping toolchains anymore (From OE-Core rev: 75a2c15bbabf4df14631c822b20ce6d31098a5c8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to master tipKhem Raj2019-01-111-2/+4
| | | | | | | | | | Detaild log https://git.musl-libc.org/cgit/musl/log/?qt=range&q=21a172dd36cae7a08492fd3a7500d7bf0daee13e..de7dc1318f493184b20f7661bc12b1829b957b67 (From OE-Core rev: 0b68ecf70249cf8cd6fc47a5ce717e91669fae9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2018-12-271-1/+1
| | | | | | | | | | | | | * sync APIs from kernel v4.18 * Misc bug fixes Full logs https://git.musl-libc.org/cgit/musl/log/?qt=range&q=39ef612aa193cc6e954ac5a01574300ccd4b7ef9..21a172dd36cae7a08492fd3a7500d7bf0daee13e (From OE-Core rev: 7e1bb5822fc71bd040739aa0c6c6f3f3c5a1f60a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>