This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc hangs ! (version 4.1.2, Ubuntu 4.1.2-0ubuntu4)
On Feb 17, 2008 3:55 PM, Andrew Haley <aph@redhat.com> wrote:
> Sunzir Deepur wrote:
> > followup:
> >
> > After a considerabale amount of time (e.g. 15 seconds), something is suddenly
> > freed, and the compilation completes successfully. afterwards trying
> > to recompile
> > the file completes immediately (it is not a big file, so it takes
> > fraction of a second).
> > I don't know what is the cause of the hang.. I can tell that while it is hung,
> > the cpu is not working (gcc doesn't even show in top..).
>
> It's waiting on I/O. This delay is either network related or a disk is
> going to die. It almost certainly isn't a gcc bug.
Thank you. Any idea how can I further scrutinize this ?
>
> Andrew.
>