From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 99425385840E for ; Tue, 1 Nov 2022 09:09:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 99425385840E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wr1-x436.google.com with SMTP id h9so19307702wrt.0 for ; Tue, 01 Nov 2022 02:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xct8W71JmtYBnH98YzoGIHCk1S3S15u22ndfkBvrlAk=; b=TGIFXr4z64Gqeh2qvL6NksMEDwWsKJMwW/xVK5DqMFs0kQKHSJZ2hv4k3WP9lrT0zs 0gMIgzZT1dn6yxaTthys/f6lGP99vGR2FG6oD/m0/ID5H0FC7OE6eUDcivjlscBcuD7N PRKrJ3OKpcf+1bBvQ1DirdufXBiZPfabaNweqi62mcngrQO7Kj2JnvhY9+oNH/vK6mDL tGZqJsvO3yezghq/sxmBttbCbWTr17GwFRhbeLj5D6lwsdH32uIqf2BstELQFWJ9bT1Q rwezenhZhsATc8Z0Vf633RBlA3PwXtEGrNnFrlJA5RJsruKqrui429Af7aSW2dIsOYTT ambA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xct8W71JmtYBnH98YzoGIHCk1S3S15u22ndfkBvrlAk=; b=LoOlPZcR0RYppHEy5L7OVas5EuDLaUnooiNcshnnYamYfk74r0KeIwBnZ3gzjnyxgU TXePOhBVWjh8HUTohdulEEwyY3iHIV7u1ZG0b4Is2+6kSxMfdiKZ3snie1ZR/d3+1/8a 2zDKMIL2NZjgsuipHAkeWcCksGiB3iG5WDpc/28o3QvBmZW0f+BxxpTTEmNBd6Codqg4 EN8nBYcZNZ6Ks6znEOAp6YIIU2Hd+tJHJ7+C1EwrQIlztEjf91zd42tawdzmIJYcL03h qIMuOcicQJhIK8pSfTpdIE3AiigGrPB8l4cKbyuG9hNHurQK/a5tvu7BnwE7IdiEWKwX BFCg== X-Gm-Message-State: ACrzQf0UxYF3nSakUGnysvRlToVK83UvahWap0RMWz2AyGTbSPkofb4Q Hr6TgaPTI7QHY4MzT3zMCEtgdA== X-Google-Smtp-Source: AMsMyM5xa5fp88gQwXBD6C+5HcxpGohSqZkqNvEkG6fkxFei8l3O6E+gUD1PpYSFs9u2Zey7XrxEpg== X-Received: by 2002:a05:6000:1a85:b0:230:f67b:da03 with SMTP id f5-20020a0560001a8500b00230f67bda03mr11371963wry.296.1667293790064; Tue, 01 Nov 2022 02:09:50 -0700 (PDT) Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp.gmail.com with ESMTPSA id f7-20020adff987000000b0022e6178bd84sm9412571wrr.8.2022.11.01.02.09.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Nov 2022 02:09:49 -0700 (PDT) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: i.nixman@autistici.org Cc: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: Adding a new thread model to GCC Date: Tue, 01 Nov 2022 10:09:47 +0100 Message-ID: <2653976.mvXUDI8C0e@fomalhaut> In-Reply-To: <9dc353a02591d10e5830ec069325ba28@autistici.org> References: <0f1f223a-3756-1da3-bd1d-b87edd34e1f9@126.com> <21655510.EfDdHjke4D@fomalhaut> <9dc353a02591d10e5830ec069325ba28@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: > I have faced with "#error Timed lock primitives are not supported on > Windows targets" and I'm not sure I understood the reason correctly. > > as far as I understand, the definition for > `_GTHREAD_USE_MUTEX_TIMEDLOCK` comes from libstdc++/configure as a > result of some test. > > why did I faced with this error? what should I do to avoid this? Run autoheader + autoconf in the libstdc++-v3 source repository. -- Eric Botcazou