http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55975
--- Comment #16 from Kostya Serebryany <kcc at gcc dot gnu.org> 2013-01-18 12:30:11 UTC --- -# define SHADOW_OFFSET (1ULL << 41) +# define SHADOW_OFFSET (1ULL << 43) On my ppc box which uses 44 bit address space this does not work: % ASAN_OPTIONS=verbosity=1 ./a.out || `[0x100000000000, 0x3fffffffffff]` || HighMem || || `[0x0a0000000000, 0x0fffffffffff]` || HighShadow || || `[0x090000000000, 0x09ffffffffff]` || ShadowGap || || `[0x080000000000, 0x08ffffffffff]` || LowShadow || || `[0x000000000000, 0x07ffffffffff]` || LowMem || ==36991== Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING. ==36991== Process memory map follows: ... 0x0ffff4ad0000-0x0ffff4b00000 [stack] Note: 0x0fffffffffff HighShadow 0x0ffff4b00000 [stack] So, we need a bit more flexible solution.