The part of the "microcosm" that prevents you from being able to easily compile a binary and have it run on a wide variety of distros doesn't have any upside I can see. The fact that you have to jump through hoops to target particular glibc symbol versions and that a stable OpenSSL ABI gets rug-pulled in new distro versions every few years aren't key to any benefits of distro/OS diversity. What would suffer if gcc/clang had a `--min-glibc-version=...` flag and OpenSSL settled on a long-term stable ABI subset for establishing TLS connections?
The way this all gets worked around is that people come up with stuff like Docker or Flatpak that ship their own copies of as many dependencies as possible. The disadvantage is that now I can't just patch an OpenSSL vulnerability by updating the system's copy of OpenSSL, the way Windows can for all software built on SChannel.
Have you heard of Cosmopolitan Libc? A single APE binary for every platform out there.