37
submitted 4 days ago* (last edited 4 days ago) by Waterfall@piefed.social to c/linux@lemmy.ml

Musl libc is a more preferable option if security and speed are important to you, compared to glibc, but is this currently the case? Do most applications still not work on musl? And how effective is gcompat?

you are viewing a single comment's thread
view the rest of the comments
[-] racketlauncher831@lemmy.ml 1 points 4 days ago

Google Crashpad is used for crash reporting by some program, and it can't be built with musl. It also does not build in FreeBSD, and I suspect it only works with glibc outside of Mac OS, Windows, and Android.

[-] LeFantome@programming.dev 2 points 3 days ago

I don’t use Google Crashpad but when did you last try it.

I just read a bug report that says it fixed building on MUSL in 2023. The fix was to comment out a reference to user_vfp in thread_info.h and to put the change in an #ifdef.

I assume this is in the mainline by now.

[-] racketlauncher831@lemmy.ml 1 points 3 days ago

I think it was around the same time when I disabled it altogether in the Makefiles of some software. Let's hope it's upstream now.

[-] LeFantome@programming.dev 1 points 1 day ago

Ironically, the bug report I read was originally filed for Android as crashpad did not built with bionic either (bionic being the C library on Android).

Glibc is the most popular C library on Linux but also the most non-standard.

this post was submitted on 08 Jan 2026
37 points (97.4% liked)

Linux

57274 readers
486 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS