[Bug sanitizer/70573] FAIL: c-c++-common/asan/halt_on_error-1.c -O* execution test x86_64-apple-darwin15

y.gribov at samsung dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 7 15:03:00 GMT 2016


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?


More information about the Gcc-bugs mailing list