Zig's 0.11.0 linking code has a bug where it would refuse to link to a symbol that links to `pthread_create@@GLIBC_2_34`, since `pthread_create@GLIBC_2.2.5` exists. All that weirdness can be worked around by using a distro that has glibc 2.31. For someone who is porting this to a modern distro: getting glibc-linked 0.11.0 may be tough. You may have better luck with 0.12.0. If you really need 0.11.0, link stage3 to musl, that will just work.
507 B
507 B