Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Submission + - musl libc hits 1.0 milestone 3

dalias 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

If I had only known, I would have been a locksmith. -- Albert Einstein

Working...