From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by sourceware.org (Postfix) with ESMTPS id 487BC3858009; Sun, 22 Nov 2020 13:37:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 487BC3858009 Received: by mail-wm1-x344.google.com with SMTP id p22so15354343wmg.3; Sun, 22 Nov 2020 05:37:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IocBCC4URRGaBg40crzwlIIqhMwKO0WG3wA7ujsdBaU=; b=fm3Fc8VepW5MtoZI/9vqjKierfC038r2jjb9DRtjGEm6Aq13rPkzjZez0an2QirUCT 8I0tTebwylpWF50ApbaiHM5PwwnhrnllniMNOW8ledrVImZ9HLL/2Kb5+VMnsufwPGNu f2ixRWsWgmUOE5bgEZgsU9XqkCe7HiJYBsosf3tWd5Vkj62mFoju5FX444/nmPyQGHue Ci0CdGVzcYaREpWpZwCeR0C3Z1Y6tSP1f2yQw5I+lkFeV/81OGBv8ccy4KCH+44t6PKj lG6ZQ6CTRABS1tUSVP/Vp11hRPlSI6S+PaMBHe7YtIB8O/+HH3qjHWYyCR/uI9cTtVj3 c10Q== X-Gm-Message-State: AOAM532RlGNESzWCV+0TwqyCJn6DCv5dDKWW3O6razfdDzg5tGVauU/P tBYXVZtVm4Z65GY0y6hHRpoB/mxEfZzuRk7yrlI= X-Google-Smtp-Source: ABdhPJxWsnRqyHVOtydpNEZAiWEmAV7ncr97/PeLU8cmHnpGAo6WxtQbbBiNEzOFAQtkvUzuaudlpKCATNIPQBkARYU= X-Received: by 2002:a7b:c242:: with SMTP id b2mr19333217wmj.162.1606052257353; Sun, 22 Nov 2020 05:37:37 -0800 (PST) MIME-Version: 1.0 References: <6AA2CA28-086C-49DE-A17C-E70716AAC518@googlemail.com> In-Reply-To: <6AA2CA28-086C-49DE-A17C-E70716AAC518@googlemail.com> From: Jonathan Wakely Date: Sun, 22 Nov 2020 13:37:24 +0000 Message-ID: Subject: Re: [PATCH] libstdc++: Add C++2a synchronization support To: Iain Sandoe Cc: David Edelsohn , Jonathan Wakely , "libstdc++" , GCC Patches X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2020 13:37:39 -0000 On Sun, 22 Nov 2020, 12:29 Iain Sandoe, wrote: > thanks for looking at this over the weekend. > > Jonathan Wakely via Gcc-patches wrote: > > > On Sat, 21 Nov 2020 at 23:55, David Edelsohn via Libstdc++ > > wrote: > >> I am seeing 93 new libstdc++ failures on AIX, even after Jonathan's > >> fixes. And a few c++ failures with similar symptoms. I'm not certain > >> that it is due to this patch, but it's the likely suspect. > > Yes, it's that patch. > > > > This should fix most of those errors, but I haven't finished testing > > it, and can't commit it now anyway. > > > > with r11-5235 + this patch there are still quite a few fails on Darwin - > but > all seem to be the same ( so maybe only problem ;) ): > =E2=80=9Csem_timedwait was not declared in this scope=E2=80=9D. > > It looks like the semaphore header is optional in SUSv3 (AFAIK that=E2=80= =99s still > the claimed edition for Darwin) - and although Darwin has the semaphore > header, it doesn=E2=80=99t seem to have an impl. of sem_timedwait. > > just: > int sem_trywait(sem_t *); > int sem_wait(sem_t *) ; > It probably depends on the _POSIX_TIMEOUTS option which MacOS doesn't support (optional in POSIX 2001, but not 2008). > >