http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48913
Summary: gcc -flto hangs and allocates all memory Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: sd...@gmx.de Hello, I have tried to compile gdb-7.2 with gcc 4.6.0 using -flto. In the final link of gdb does the compiler get stuck and only seems to allocate more and more memory (>8GB) without ever returning. I have seen it doing the same when compiling ffmpeg-0.6.2 with gcc 4.6.0 using -flto. Without -flto do both packages compile successfully.