musl
Developer(s) | Rich Felker (dalias) and others |
---|---|
Initial release | February 11, 2011[1] |
Stable release | 1.1.19[2]
/ February 22, 2018 |
Repository | |
Operating system | Linux 2.6 or later |
Platform | x86, x86 64, ARM, MIPS, Microblaze, PowerPC, powerpc64, x32, OpenRISC, s390x, SuperH |
Type | |
License | MIT License |
Website | musl-libc.org |
musl is a C standard library intended for operating systems based on the Linux kernel, released under the MIT License.[3] It was developed by Rich Felker with the goal to write a clean, efficient and standards-conformant libc implementation.[4]
Overview
Musl was designed from scratch to allow efficient static linking and to have realtime-quality robustness by avoiding races, internal failures on resource exhaustion and various other bad worst-case behaviors present in existing implementations.[4] The dynamic runtime is a single file with stable ABI allowing race-free updates and the static linking support allows an application to be deployed as a single portable binary without significant size overhead.
It claims compatibility with the POSIX 2008 specification and the C11 standard.[5] It also implements most of the widely used non-standard Linux, BSD, and glibc functions.[citation needed]
Use
Some Linux distributions that can use musl as the standard C library include Alpine Linux, Dragora 3, OpenWRT,[6] Sabotage,[7] Morpheus Linux[8] and Void Linux.
See also
References
- ^ "musl - obsolete versions". musl-libc.org. 2017-10-31. Retrieved 2018-01-14.>
- ^ "Download musl". musl-libc.org. 2018-02-22. Retrieved 2018-03-07.
- ^ "COPYRIGHT". 2016-04-29. Retrieved 2016-09-26.
{{cite web}}
: Unknown parameter|authors=
ignored (help) - ^ a b "Introduction to musl". 2016-04-21. Retrieved 2016-09-26.
- ^ "Compatibility". wiki.musl-libc.org. 2014-05-27. Retrieved 2016-09-26.
- ^ Fietkau, Felix (2015-06-15). "OpenWrt switches to musl by default". openwrt-devel. Retrieved 2016-09-26.
- ^ README.md on GitHub
- ^ "morpheus:". Retrieved 2018-06-15.
External links
- Official website
- Comparison of C/POSIX standard library implementations for Linux
- Matrix of C/POSIX standard libraries by architecture
- Project:Hardened musl on Gentoo wiki
- Rich Felker held a talk at the Embedded Linux Conference (ELC) 2015: ELC 2015 - Transitioning From uclibc to musl for Embedded Development - Rich Felker, Openwall