https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98920
Florian Weimer <fw at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fw at gcc dot gnu.org --- Comment #7 from Florian Weimer <fw at gcc dot gnu.org> --- I think libsanitizer falls back to a version-less lookup if the version cannot be found. Therefore, if the glibc baseline is after 2.3.4, the version-less lookup will find the unversioned symbol, which has the right behavior. I don't see any architecture that has two regexec symbols, but does not use GLIBC_2.3.4 for the most recent symbol, based on this command in the glibc source tree: git grep -c ' regexec F' | grep :2$ | cut -d: -f1 | xargs grep ' regexec F' A comment in the interceptor might make sense, though.