Why is manylinux2014 able to use GCC 10 with a much older libstdc++?

(Note: I’m new to this forum, should I split this into a separate topic?)

@Zabolekar My very initial research suggests it’s worth investigating further. No idea how difficult it might end up being.

Guix apparently provides a make-gcc-toolchain function, which can be used to create a gcc toolchain compiled against a theoretically-arbitrary glibc: https://stackoverflow.com/questions/66063337/build-against-an-old-glibc-with-guix

However, I imagine that if you go back too far, you will get compiler errors – of course, that’s where the RH patches come in. I haven’t tested any of this yet.

I did talk with the StageX devs on their Matrix channel. StageX project is in the early stages, so a lot of things would need to be done to make it work, but they expressed they would potentially be interested in accommodating this use case.

Note: While both distros technically offer both libc’s, Guix is glibc-focused and StageX is musl-focused.