[Bug fortran/55341] address-sanitizer and Fortran

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Mon Dec 10 13:33:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341

--- Comment #13 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-12-10 13:33:12 UTC ---
(In reply to comment #12)
> Does pure addr2line work?

No, the following (-gdwarf-3) does work:

gfortran -gdwarf-3 -O0 -fsanitize=address -fno-omit-frame-pointer asan_test.f90
; ./a.out 2>&1 | python ./asan_symbolize.py

I guess the binutils is not quite up-to-date, I'm using a relatively recent
2.22
> addr2line --version
GNU addr2line (GNU Binutils) 2.22



More information about the Gcc-bugs mailing list