From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mr5.vodafonemail.de (mr5.vodafonemail.de [145.253.228.165]) by sourceware.org (Postfix) with ESMTPS id 701883858D32 for ; Sun, 21 Jan 2024 13:30:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 701883858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 701883858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=145.253.228.165 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705843815; cv=none; b=hOVIph0hi1TMI1Wq8mmhcb5Kh1oGPg6jGWL50X1MzCHVHexz+HXNQreiCBNl73eyxnWlFF9U3mKQPwbrxuFYQSUzPhkaXCvihkuML8QT4b2YhWj1hEFRjrbzch7ydTv7UQQkadUY9APxrZg5x2FyLWNeKhl/YDEZakQ4tKtxra4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705843815; c=relaxed/simple; bh=nVQYFpEauek0ebQG5sfHsMxHQW8E8ulFQxMTc/B/NMM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Dp/WpU/HDdQUMBaTdqnXXCtIRHZiHODnOsGCfqFG9i1hpwa/KqKyUg8d5XfXMwzez49O6FIQsZfKx3NfK2UfpceYXoNkzCJGBr6mBvBAy3DafIrjcrpjtO2JSNdF4nMVT6ojvz7Ec4AOfP9OHGz3nBYSie/ksSjo+GVEObvSF6U= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-mb-mr2-23sep; t=1705843812; bh=nVQYFpEauek0ebQG5sfHsMxHQW8E8ulFQxMTc/B/NMM=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID:User-Agent: Content-Type:From; b=CBfEqGigxoC9bpWoeaALpKLtkkV3k+qZfwYlFebbIAohSMdypUs3/RwuM8n6pG0d0 9QN46yysd7S9X6GfNmzIHgXxFKzvC8n4t0+s83wQvhzK3+PWIf0XzaXti1Np4IqAds 1hHS9529YbiGYnjMfBxmnQ5djSq2JtZOpcPh8Y+0= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4THvNh0KFZz1yBR for ; Sun, 21 Jan 2024 13:30:12 +0000 (UTC) Received: from Otto (p54a0c6f4.dip0.t-ipconnect.de [84.160.198.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4THvNb5kL4zHnHW for ; Sun, 21 Jan 2024 13:30:04 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: Possiblly bug of cygwin1.dll In-Reply-To: <20240121201051.795a4405576a97ab8729e273@nifty.ne.jp> (Takashi Yano via Cygwin's message of "Sun, 21 Jan 2024 20:10:51 +0900") References: <20240119224436.876a055f356f7c6796bc725b@nifty.ne.jp> <20240120131825.4157c259fe058155137d6fe0@nifty.ne.jp> <20240120141349.cde31e62177a0405b0ee9934@nifty.ne.jp> <87v87ov03x.fsf@Gerda.invalid> <20240120212427.1e69fd3655ece73ecd508def@nifty.ne.jp> <20240121201051.795a4405576a97ab8729e273@nifty.ne.jp> Date: Sun, 21 Jan 2024 14:30:00 +0100 Message-ID: <87fryqizl3.fsf@> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 1248 X-purgate-ID: 155817::1705843807-DB7FB740-04A48786/0/0 X-Spam-Status: No, score=-3030.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_MSGID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,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: Takashi Yano via Cygwin writes: > I found the cause. In pthread.h of cygwin, PTHREAD_ONCE_INIT is defined a= s: > #define PTHREAD_ONCE_INIT { PTHREAD_MUTEX_INITIALIZER, 0 } > however, libstdc++ initializes non-static pthread_once_t using this macro. https://www.ibm.com/docs/en/aix/7.3?topic=3Dp-pthread-once-init-macro https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_once.html "The behavior of pthread_once() is undefined if once_control has automatic storage duration or is not initialized by PTHREAD_ONCE_INIT." > I cannot find the POSIX statement that only static pthread_once_t can be > initialized using PTHREAD_ONCE_INIT. If I do not overlook something, > this is the problem of cygwin side, isn't it? You can initialize just about anything with PTHREAD_ONCE_INIT, but you cannot expect the resulting structure to work as intended if there is more than instance per library / program, so the libstdc++ object should be a singleton, not automatic. Still looks like ATWIL to me=E2=80=A6 Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds