http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-11-13 14:10:36 UTC --- > what you need is to have "-framework CoreFoundation" on the link line - and I > guess the configury &c. needs to arrange this. When compiled with -faddress-sanitizer -framework CoreFoundation -lasan, the executable fails to run with dyld: lazy symbol binding failed: Symbol not found: ___asan_mach_override_ptr_custom Referenced from: /opt/gcc/gcc4.8w/lib/libasan.0.dylib Expected in: flat namespace dyld: Symbol not found: ___asan_mach_override_ptr_custom Referenced from: /opt/gcc/gcc4.8w/lib/libasan.0.dylib Expected in: flat namespace Trace/BPT trap