Skip to content

musl

  • Depends on mawk
  • install-tools is for the wrapper musl-gcc
  • Do not set the prefix to /usr, /usr/local, or / unless upgrading libc on an existing musl-based system (this will break your existing system after running make install making it difficult to recover)
  • The dynamic linker searches for shared libraries at run time under directories listed in /etc/ld-musl-$ARCH.path separated by colons or newlines
  • If the dynamic linker has been installed in a non-default location, the path needs to reside at that location (../etc relative to the chosen syslibdir)
  • DT_RELR support (-z pack-relative-relocs) has been upstreamed, and reduces size by 5 - 8%
  • Does musl conflict/replace libssp (the standalone package)

References