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?

  • CarrotsHaveEars@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    23 hours 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
      link
      fedilink
      arrow-up
      2
      ·
      7 hours 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.

      • CarrotsHaveEars@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        5 hours 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.