delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/03/06/17:38:21

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 626McJfm3774120
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 626McJfm3774120
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=l8rDDVCh
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C48F54BA23EE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1772836697;
bh=g15sBO22kjH9y59lljEDcdu7pmxXiDsChqm0nrevFKQ=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=l8rDDVChVXZcvnpQUnNLlKdNDe77oA52CwVSxqjRszhJ+IT/mthWio88YUT99pqq8
E/sNSlC/3SqXCgo4aVIt+H3eFeszzaBFjtMCs45lQFxjtgJ7tr1XrJJW/QUrtlAKYY
vM+bag2gJPXP0mKsg/KxqtBLX4zcJWNoOq35u/EU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0D034BA2E11
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0D034BA2E11
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1772836677; cv=none;
b=V3zEfPBUC+/FlLqIjcZaT1htRoj7AuE8GsM5dZDe9pXhpKzXdZx4wfctX7o90mWMvtJ+viw1Wu8hUwXZRPmJJR7PeA4mspZ1j/ek1D25S3+EeSgWgFOMOToUdKsrDJ2U0aewhss0dIMv4jm86Kszz5Ixn0CwctDbulzYuWEI7ew=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1772836677; c=relaxed/simple;
bh=/ykR9wQa3aOvtPnhL1fTIWu/SoEe5R1CtquH7uxwIGs=;
h=Message-ID:Date:MIME-Version:To:From:Subject;
b=JEeosCKd3BiG86kRHzglk7WuSgrg687qmcHNoGBc6o4t6iuXeTMiKpDn5xqKPBDqgYWRYXxYyzCh6WonG/EI9TopFCwtiJaDRzQXbaVHtrddsyYm/yARXVfT8r7zTThKh8REboLck24n8lmRP8USkqOfj+8SYxELVwU/2FkCOHo=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0D034BA2E11
X-Virus-Scanned: amavisd-new at mackenty.com
Message-ID: <bd747629-3616-43c9-b05c-65610dc49842@cartchunk.org>
Date: Fri, 6 Mar 2026 17:37:55 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: cygwin AT cygwin DOT com
Subject: gcc hangs even on simple compile tasks
Organization: Diverse Pursuits
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Dick Pierce via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dick Pierce <dpierce AT cartchunk DOT org>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Running cygwin-64 on a 64-bit Win 10 platform and up until recently I have
had NO problems at all.

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.

I can do the following:

    gcc -v

and it returns a bunch of stuff, most importantly

   Using built-in specs.
   COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/13/lto-wrapper.exe
    Target: x86_64-pc-cygwin
    Configured with: /mnt/share/packages/gccmake/gcc-13/gcc/gcc.x86_64/src/

...  <details deleted>

    Thread model: posix
    Supported LTO compression algorithms: zlib zstd
    gcc version 13.4.0 (GCC)

so that much is working.

I have gone so far as as shutting down cygwin, renaming /cygwin-64 to
/cygin64.sav and reinstalling cygwin from scratch with no change. I
also tried uninstalling the gcc-core package and reinstalling it
again with no improvement.

The simple "hello.c" program run from bash directly:

    gcc -o hello.exe hello.c

hangs forever.

Meanwhile, the same sources compile fine on a WinXP machine running
an older version of cygwin and gcc (version 5.4.0) run just fine.

I'm at a total loss as to where to go next. ANy more information that
anyone might need, I'd be happy to send along.

But I'm stumped.


-- 
+-----------------------------------+
|            Dick Pierce            |
|         Diverse Pursuits          |
| Technical Engineering/Development |
|           cartchunk.org           |
|       Boston - Spruce Head        |
+-----------------------------------+



-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019