From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 98DFE385840B for ; Tue, 1 Nov 2022 09:09:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 98DFE385840B 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-x42a.google.com with SMTP id y16so19214236wrt.12 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=6BjjViyWDh4+MVg7UkG4VKcYqom+fFIEhelBYQDAeViLZ1FEudDX8HNTEptB0G/iIy I534sJYoOX2soYzMzdNLYYlsqRJBCfQ8K/VcdF2Tz1yhFKXeZR90jns/j85FXqFEQyQW ZIOYFRFu61Ok3rqOySPt0DMJb9VDwKC5TnA1ktd6Zg8DBE3w8p7FNivbXRJwKdjvzd8E d/zkHxRU3j1z4FwGCJf5kIVBYwHwFj9/dYIjFFVH7XN24e8jQ1d6iu2pd4H7AXzgWrX1 UxuSfXI72S3U7dJFkz6eCeaUIYMk2drKMiFNUG06cDxJdJW9kQi18HWJqfc96ipt3flm 2nIA== X-Gm-Message-State: ACrzQf1dtBqA1NCDk6Ahij7YqTTCLDuW0LjKHmvRuHJ4+L0M7a9wWBDx 0+HSVz4ksQszH6ocxMzaHbhC2w== 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=-3.0 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=unavailable 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