I’m returning to this issue several times each year, and it seems that the only reliable way to build for older glibc versions is to use an older compiler, meaning I can’t use certain language features :/