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

Andrew Haley aph@redhat.com
Mon Feb 18 11:21:00 GMT 2008


Sunzir Deepur wrote:
> On Feb 18, 2008 12:53 PM, Andrew Haley <aph@redhat.com> wrote:
>> Sunzir Deepur wrote:

>>> Have you ever heard of such gcc hanging ? Do you have any suggestion as to
>>> what can I check ?
>> Run gcc under strace -f.
> 
> Great idea (wasn't aware of the -f switch) - thank you (i now have to wait
> for the problem to raise its ugly head again, it doesn't always happen)

Right, so it really does look like an intermittent hardware problem.

The other thing you might like to investigate is smartd.

Let us know if you ever find out what the real cause was.

Andrew.



More information about the Gcc-help mailing list