https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98920
--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> --- Created attachment 50149 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50149&action=edit Patch v2 There's a second version of the patch that selectively define SANITIZER_REGEXEC_VERSION based on the target. @Jakub: It follows your list of target expect ARM which should be fine: head -n1 ./sysdeps/unix/sysv/linux/arm/shlib-versions DEFAULT GLIBC_2.4 Thoughts?