X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D34BF394848E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1598859245;
	bh=HcEImMmwucvnpDw1zIU84sTTRNWFdZFD2Yc2v5DTK4g=;
	h=Date:From:To:Subject:References:In-Reply-To:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Reply-To:From;
	b=tBu3N8PqF2YtqDjWJJySJ6ZRFj5R7T9sdGJc4q0iqeTF6PwKuBUepUMcvhI7zXG9P
	 GIF5QKDP5cFjVraauTZ9swGfe1jfUF7oUzBmgV3J5GwH5mw8xVpdmDK3uAMOWOQ6Ym
	 wRjSVbqVg4JgXoAJGIxNTloVhG2jeJFEKhel9OOs=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B7B5C3851C29
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
 spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com
Date: Mon, 31 Aug 2020 09:33:57 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cpp /usr/include/threads.h fails; modfl segfaults
Message-ID: <20200831073357.GT3272@calimero.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <02b16d2e-9d51-de58-807b-3b31b2565b59.ref@aol.com>
 <02b16d2e-9d51-de58-807b-3b31b2565b59@aol.com>
 <20200830130005.GR3272@calimero.vinschen.de>
 <vriumu2cvt1c.fsf@mail.aol.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <vriumu2cvt1c.fsf@mail.aol.com>
X-Provags-ID: V03:K1:VFtti1QioowfLz/H5t0wjubTaaNE/N2udLeFFVmRYyJaBJdnO7q
 l2pi4uL/Vhxu2Znoq+lh56yfxAQZc9eF+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/ApwklQHF+bGfY5f9nzPMT
 KMxb/LRg79HzscvM2TOw==
X-Spam-Status: No, score=-100.5 required=5.0 tests=BAYES_00,
 GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On Aug 30 15:21, airplanemath--- via Cygwin wrote:
> Corinna Vinschen writes:
> > On Aug 29 08:52, airplanemath via Cygwin wrote:
> >> Hello,
> >> 
> >> I have two reports.  A brief description of the system:
> >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g"
> >> CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin
> >> 
> >> The first report:
> >> [...]
> > I added [C11 threads] functions as wrappers around pthread functionality, code
> > taken from FreeBSD.  I ran the glibc testsuite on them, and after fixing
> > the bugs in the glibc testsuite (d'oh), the tests ran successfully.
> >
> The header makes it through the preprocessor for me now.  Thank you.
> [...]
> > This is a bug in the assembler code taken from Mingw-w64.  The bug has
> > been fixed upstream, so I just pulled in the upstream fixes.
> 
> The test program now finishes without segfaulting, and gives the
> expected answer.  Thanks again.
> >
> > Thus, both of the above problems should be fixed now.  I created a
> > developer snapshot and uploaed it to https://cygwin.com/snapshots/ You
> > need to grab the full tar file and install at least the following files
> > to your installation after backing up the original files from 3.1.7:
> >
> >   usr/bin/cygwin1.dll	(this is pre-release 3.2.0)
> >   usr/lib/libcygwin.a
> >   usr/include/limits.h
> >   usr/include/pthread.h
> >   usr/include/machine/_threads.h
> >
> Is it okay to leave these in place to be overwritten by 3.2.0, or should
> I move the old versions back?

It's ok to leave them in place, just keep in mind that executables
built with this version and using the new symbols won't run under
3.1.7 (e. g., on a collegue's machine).

> > Thanks for the report.
> >
> Thanks for the prompt response.

You're welcome.  And thanks for testing!


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
--
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
