Re: gcc hangs even on simple compile tasks

Annihilannic via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <TYWPR01MB8789FF4AF379C3E536EF8F9EC17BA@TYWPR01MB8789.jpnprd01.prod.outlook.com>
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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.