glibc version 2.43+r5+g856c426a7534-3 causes certain zig projects to fail building with a linker error. Downgrading to 2.43+r5+g856c426a7534-2 resolves this, but I imagine it’s not a good idea to accept this as a reliable workaround. Alternatively, building in a chroot with pkgctl does work, which is likely the preferable workaround.
Error example:
error: fatal linker error: unhandled relocation type R_X86_64_PC64 at offset 0x1c
note: in /usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/crt1.o:.sframe
error: fatal linker error: unhandled relocation type R_X86_64_PC64 at offset 0x2c
note: in /usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/crt1.o:.sframe
This issue was also reported on zig’s own issue tracker, linked below.