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:
 > Hi Andrew,
 > 
 > Thank you very much for your help. I wish that I could just upgrade to a
 > newer version but unfortunately, I think that it is not possible as I'm
 > using a custom compiler for PS2 which is based on GCC 3.2 (ee-gcc).
 > 
 > Since it seems that I will have to live with that bug, I have found a
 > painful workaround which consist of trimming inline functions out of
 > header file and try to reduce header file dependency. It seems to work
 > but it is a lot work.

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.

Andrew.


 > 
 > Thanks,
 > Olivier Langlois
 > http://www.olivierlanglois.net
 > > 
 > > I'm guessing it's a bug, then.  Memory usage looks reasonable.
 > > 
 > > It doesn't sound like gcc is thrashing, but it's hard to be sure.  If
 > > it is a bug in version 3.2, which is four years old, it's unlikely to
 > > be fixed now.
 > > 
 > > 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