http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282
--- Comment #5 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-06-07 08:15:35 UTC --- It seems GCOV is not the only cause. I just got the malloc corruption again when building for 32bit (instead of 64bit), but still with gcov disabled. So probably for the other build disabling gcov just hid it. lto1: malloc.c:3551: munmap_chunk: Assertion `ret == 0' failed. lto1: internal compiler error: Aborted Very nasty. Any ideas how to track that down? Is valgrind supposed to work?