RE: GCC is freezing when compiling a big TU with the -g option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Olivier Langlois
http://www.olivierlanglois.net

> 
> Are you sure it doesn't eventually terminate?  It might be that it's
> writing an enormous amount of debuginfo to a temporary asm fie.

Hi Andrew,

Yes I'm pretty much sure that the compiler is really dead. There is no
more HD activity when the compiler gets stuck and I have let the
compiler running during a whole night! It is as if I was reaching a
hardcoded limit on the maximum number of functions that the compiler can
process for a single TU with '-g'. It is especially true with template
instantiation. A lot of included classes declarations are declaring
private STL containers. I have been able to get the compilation further
by encapsulating/hiding the STL containers declaration away from the
header files.

Greetings,
Olivier



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux