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 writes:
 > 
 > 
 > 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.
 > 
 > 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.

OK, so my guess is right.  The only way ahead is to try to debug the
compiler.

Andrew.


[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