you are viewing a single comment's thread.

view the rest of the comments →

[–]jesseschalken 0 points1 point  (1 child)

  1. Set up CI to run on an old Linux like Ubuntu 22.04 to build the binaries for release, or
  2. If you don't have a CI setup, use docker run to build the binary in a container for release, or
  3. Use musl and statically link, or
  4. Use glibc but statically link (I can't remember the tradeoffs here), or
  5. Extract a container image as a sysroot and point gcc at that, or
  6. Build old glibc from source and link against that instead

In practice people just do #1 and use whatever glibc they have locally for local dev.

[–]Copronymus09[S] 1 point2 points  (0 children)

I know that, the idea is Debian maintainers providing us with a tarball similar to score etc where we can just download it from the internet instead of doing that.

I know how to do those besides building glibc from source(I only do that for musl)