Re: gcc hangs ! (version 4.1.2, Ubuntu 4.1.2-0ubuntu4)

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

 



Andrew Haley wrote:
Sunzir Deepur wrote:
On Feb 17, 2008 3:55 PM, Andrew Haley <aph@xxxxxxxxxx> 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 ?

You need to know whether it's waiting for disk or network; I can't help you
with that.  Then you need to think about smartd reporting or somesuch.

Oh, and strace.

[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