This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: GCC is freezing when compiling a big TU with the -g option
- From: "Olivier Langlois" <olanglois at quazal dot com>
- To: "Andrew Haley" <aph at redhat dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Sat, 8 Jul 2006 14:15:49 -0400
- Subject: RE: GCC is freezing when compiling a big TU with the -g option
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.
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.