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
    ·
    3 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
      link
      fedilink
      arrow-up
      2
      ·
      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.

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