https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98920
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, it is not about what arches you care about, but what arches we support in libsanitizer/configure.tgt (from *-linux*). So, riscv64, aarch64, mips, arm, s390*, sparc*, powerpc*, x86. So it is desirable to get it right for all these. Thus, I think you want to use GLIBC_2.3.4 for Linux except on arm, riscv*, x86_64 -mx32, powerpc64le and aarch64. So you need to look up SANITIZE* macros for all of these...