3 ms·
Nix it's very common to relink using patchelf, but I don't know if that makes sense linking from glibc to musl. Changing the compile environment from gcc to llv
by toastal 5y ago
Nix it's very common to relink using patchelf, but I don't know if that makes sense linking from glibc to musl. Changing the compile environment from gcc to llvm and/or glibc to musl, means you will be building a LOT of things from scratch because upstream Hydra only builds and caches glibc. There's nothing "wrong" with glibc, but it does cause issues where a compiled binary says `-linux-x86_64` and then doesn't work with your system's glibc. I had a tool I wanted to use in an Alpine container, and switched to Debian or Ubuntu because I didn't want to deal with the incompatibility even if Alpine is smaller and faster. I got the author to put out a paragraph in the README about alternative, non-glibc not being supported by the prebuilt binary (ghc from Ubuntu isn't static).