http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55617
--- Comment #14 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-01-30 15:57:11 UTC --- (In reply to comment #13) See in gcc/config/darwin.h... /* The Apple assembler and linker do not support constructor priorities. */ #undef SUPPORTS_INIT_PRIORITY #define SUPPORTS_INIT_PRIORITY 0 and http://trac.macports.org/ticket/37664 discusses this limitation as well. Can't we just latch onto the SUPPORTS_INIT_PRIORITY being defined to 0 on darwin to force __asan_init to be emiited (perhaps in the constructor)? If a single call to __asan_init would suffice shouldn't that work because the constructor should be called before the destructor in real code?