gcc hangs even on simple compile tasks

Annihilannic annihilannic@hotmail.com
Sat Mar 7 00:29:42 GMT 2026


On 07/03/2026 09:37, Dick Pierce via Cygwin wrote:
> Starting the end of last week, gcc has started behaving badly. Whether I invoke
> it from a makefile or directly from bash, almost ALL of the timer, it hangs
> forever, and Task Manager shows cc1 as "running", but consuming no CPU as
> far as I can tell. If I kill it through task manager, the prompt returns
> in bash (or make dies with an "interrupted" error.

...

> But I'm stumped.

Smells like a hardware problem to me - I'd suggest testing it thoroughly 
with memtest86 or similar.

Also run it through `strace -f gcc -o hello.exe hello.c` a few times and 
see if it's sticking in the same spot every time (which would indicate 
software)?

Regards,
Scott


More information about the Cygwin mailing list