https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70573
--- Comment #5 from Yury Gribov <y.gribov at samsung dot com> --- Created attachment 38213 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38213&action=edit Proposed patch Ah, so the problem is caused by _FORTIFY_SOURCE being enabled on Darwin by default. This check precedes ASan and causes app to abort too early. Could you test the attached patch?