From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dwmta1016.nifty.com (mta-snd01013.nifty.com [106.153.227.45]) by sourceware.org (Postfix) with ESMTPS id BF8B53858D3C for ; Fri, 9 Jun 2023 12:25:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF8B53858D3C Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from aps7mgn-09 by dwmta1016.nifty.com with ESMTP id <20230609122509709.CUZS.29355.aps7mgn-09@nifty.com>; Fri, 9 Jun 2023 21:25:09 +0900 Date: Fri, 9 Jun 2023 21:25:09 +0900 (JST) From: Takashi Yano To: "M=?ISO-2022-JP?B?Pw==?=min A." , cygwin@cygwin.com Message-ID: <720426559.39923.1686313509544@aps7mgn-09>takashi.yano@nifty.ne.jp> In-Reply-To: References: <96718c68-af84-45a5-9332-337ec4b2f04a@email.android.com> Subject: Re: Memory Barriers at pthread using CYGWIN MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Priority: normal X-Mailer: @nifty Webmail X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,INVALID_MSGID,KAM_DMARC_STATUS,MISSING_MIMEOLE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > I found a clue. > I'm using cygwin as in windows environment path, C:\cygwin64\bin > > when I open the cygwin terminal , the test is passed but when I close > cygwin terminal and run again the same test exe file then it fails. > > is there any connection about that ? > > The test is valid for native gcc compiler .t1, t2 have valid value. Hmm... Could you please check 'cygcheck ./a.exe' result? Also 'ldd ./a.exe' might help. -- Takashi Yano