From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resdmta-h1p-028598.sys.comcast.net (resdmta-h1p-028598.sys.comcast.net [IPv6:2001:558:fd02:2446::e]) by sourceware.org (Postfix) with ESMTPS id B77DC3858D1E for ; Thu, 9 Nov 2023 21:47:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B77DC3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=comcast.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=comcast.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B77DC3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:558:fd02:2446::e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699566440; cv=none; b=d15r1suWm0eBRhGK/aylLnqRk130uSHXlKTATrDTThRqX/u7Wd5HWw/LJweR+xR5gIG/4SMmINlNo2eZf/wpq8GOUabgGnXZrkU7d4DVcf8OvamYePUkNeRerfq8JV6GPUh8Zeeu3qfv6O9m79otXVJtrXy490AY3uoZNMdSUjA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699566440; c=relaxed/simple; bh=94AVO9mQew8Gfd77mzGDMtN/rCPBjDufvFjY25Ktk8E=; h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To; b=SHln9MLwV57oMl+KHFXhvTBOQ/hTkecMI/WhWfOabfzAsATfYpU15CYrpXW1OTapno3aI4H0PU+CBpz77kf43h1QauY7fVtz2KlCIqBcKN9sGXb2OqK0H8laNmPCl6LihJSurrsJXpRtKV9OGD6NfLeA7REzVQHg4evIQW7Ju0M= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from resomta-h1p-027912.sys.comcast.net ([96.102.179.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resdmta-h1p-028598.sys.comcast.net with ESMTP id 1CAXrnw2Ekkkq1CrurfYCW; Thu, 09 Nov 2023 21:47:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1699566438; bh=L9kNz08LJZWXh6yRR1j+oBP+kPiWS8IrAyYXYFTSVbs=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To:Xfinity-Spam-Result; b=3nI3ch/Ly6Z7+OMXc5+i+JlxyEprZE8wmADQGXEQcymZBumRFQbW27azTREjVl55R LeXYQbOS1NtXe9whZIsY/IZ8npcYemuMSWOinKLAJiKTulmMfVnmeQ2TuzNQgj/Mqb Xy51YinnNBfthdJ56h00VKIqTy4v0vz5K3Yayaw6iMfhroSXpk4oo7X5HqNsW8LwsV vdjeIt8TRF5LG1Ly/g+568bBm6KHHhOMv11CfS3ByGWHPzU7E2NRSMnR5qwQi7bLn1 pKuWCdWF+Mz6l9ILvvK11F/e6hgUoKV+9wUG67mJ2qgs8/tWUvPVQGAex5QwIxbGGt 8Xl9AwDyhOWNw== Received: from smtpclient.apple ([IPv6:2601:644:907f:7c80:5912:f145:fcb1:b7fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resomta-h1p-027912.sys.comcast.net with ESMTPSA id 1CroraXWNGg8p1Crpr3FH7; Thu, 09 Nov 2023 21:47:15 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: [PATCH] testsuite: tsan: add fallback overload for pthread_cond_clockwait From: Mike Stump In-Reply-To: Date: Thu, 9 Nov 2023 13:47:11 -0800 Cc: gcc-patches@gcc.gnu.org, Rainer Orth Content-Transfer-Encoding: 7bit Message-Id: <266EA137-B1EC-4687-822C-712C22413556@comcast.net> References: To: Alexandre Oliva X-Mailer: Apple Mail (2.3696.120.41.1.4) X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Nov 8, 2023, at 5:49 PM, Alexandre Oliva wrote: > > LTS GNU/Linux distros from 2018, still in use, don't have > pthread_cond_clockwait. There's no trivial way to detect it so as to > make the test conditional, but there's an easy enough way to silence > the fail due to lack of the function in libc, and that has nothing to > do with the false positive that this is testing against. > > Regstrapped on x86_64-linux-gnu, also tested with gcc-13 on i686- and > x86_64-, on distros that offer and that lack pthread_cond_clockwait. Ok > to install? Ok.