http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #10 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-13 19:52:35 UTC --- The attached patch (with configure and Makefile.in regenerated) allows the asan support to build on x86_64-apple-darwin12. It still isn't functional yet as test cases compiled with... g++-fsf-4.8 -faddress-sanitizer -framework CoreFoundation hello.cc -lasan produce... # ./a.out mach_override: some instructions unknown! Need to update mach_override.c err = f8000001 ../../../../gcc-4.8-20121113/libsanitizer/interception/mach_override/mach_override.c:308 err = f8000001 ../../../../gcc-4.8-20121113/libsanitizer/interception/mach_override/mach_override.c:321 err = f8000001 ../../../../gcc-4.8-20121113/libsanitizer/interception/mach_override/mach_override.c:327 err = f8000001 ../../../../gcc-4.8-20121113/libsanitizer/interception/mach_override/mach_override.c:340 err = f8000001 ../../../../gcc-4.8-20121113/libsanitizer/interception/mach_override/mach_override.c:345 Hello, world.