http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341
--- Comment #32 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-12-19 18:00:34 UTC --- (In reply to comment #28) > I'd say as a first step try to make sure -lasan is linked at the very > beginning, before all other libraries, there are numerous libasan crashes if > it > is not so. Is there a way to build gcc so that libgfortran is asan-instrumented ? I start suspecting that maybe the error is due to something that's happening in the gfortran runtime, and that's only detected once the code returns to CP2K.