15 Apr
2016
15 Apr
'16
09:10
On Thu, 14 Apr 2016, Cristian Rodríguez wrote:
Hi:
In my local workstation, I have both gcc5 and gcc6 installed from the devel:gcc repository.. since maybe a month.. ASAN is broken and I can't figure out how to fix it.
cat t.c
#include
int main(void) { return 0; }
gcc-5 -fsanitize=address t.c ➜ ~ ./a.out ==59605==AddressSanitizer CHECK failed: ../../../../libsanitizer/asan/asan_rtl.cc:556 "((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0) <empty stack>
same result if I use GCC-6. any pointers about what exactly I screwed up ? ;)
You can try watching 'asan_init_is_running' with a debugger.
Richard.
--
Richard Biener