Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

+ - musl libc hits 1.0 milestone 3

Submitted by dalias
dalias (1978986) writes "The musl libc project has released version 1.0, the result of three years of development and testing. Musl is a lightweight, fast, simple, MIT-licensed, correctness-oriented alternative to the GNU C library (glibc), uClibc, or Android's Bionic. At this point musl provides all mandatory C99 and POSIX interfaces (plus a lot of widely-used extensions), and well over 5000 packages are known to build successfully against musl.

Several options are available for trying musl. Compiler toolchains are available from the musl-cross project, and several new musl-based Linux distributions are already available (Sabotage and Snowflake, among others). Some well-established distributions including OpenWRT and Gentoo are in the process of adding musl-based variants, and others (Aboriginal, Alpine, Bedrock, Dragora) are adopting musl as their default libc."
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

musl libc hits 1.0 milestone

Comments Filter:
  • And it supports static linking properly, unlike glibc which requires some stuff to still be dynamically linked. So if you want a static binary you can distribute to any Linux version it is a great choice. Plus even dynamically linked it has a single shared library and does not need loads of support files (locales etc) that glibc does. Very useful.

    • by dalias (1978986)

      Yes. These days glibc seems to have "un-deprecated" static linking (they're accepting bug reports for problems that only affect static linking), but it's still something of a second-class citizen. I believe there's still a good deal of pthread breakage, and no attention to making the size of static binaries acceptable.

      In musl, I've made efficient and bug-free static linking a priority from the beginning. The empty program isn't quite as small as some of our extreme anti-bloat userbase would like (it's aro

The Universe is populated by stable things. -- Richard Dawkins

Working...