DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60IA9S0Z3524591
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 60IA9S0Z3524591
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=KDsr+El1
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50A084BA23FE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1768730967;
	bh=I9Fe3QZXTiDyqGo2/19oEN4pz7nyHaVcsIJeFXAyS9A=;
	h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=KDsr+El1OXWqNaJg0oV5yXdbFkH4NtqwhL6MUXBc5XZU7FnGBHiWYqrbamGP7v2o1
	 ZNWxCFb32RBFZWFOHr6xGoTkzpcz+THYKHJSx/1hepwb7CqbdnThhMhl0D/7GRUijM
	 etf/tRPFEjm1g5MVrXO8GqRS7uZlfthnQUFIWxIE=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D28214BA23F6
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D28214BA23F6
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768730867; cv=none;
 b=Il18/ZjB8QcAQCMJVmys+DjJc9/Yfw0Kmy8UtKyuWNWggYAUjNiWbd13WU+PT7n5u72+eVgJtTATHXh0qBxsjqGrkKvothbBLi6PkUmjsR9CfKWXcwRkjkTRz/Iu6X9/zN8dlX35S2/9ECNtL8pGYqF9qORixdtmgXetSvcx6T0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1768730867; c=relaxed/simple;
 bh=+ck0fJ7HeRZ9gJpt/Beo7QC0iz7HobWViVdwhoNj9C4=;
 h=DKIM-Signature:Message-Id:From:To:Subject:Date:MIME-Version;
 b=ToSc84MaocLnyRPZOM/gNXMO/HD/zQ0OPTH+cx+Wgl3QcoCaWLz52ukqjzvJTg9THqqbXTuDx1jhodDwuBaJ+uy2irmnU5JPLeMQpPfNEmpWC4lPBhP+Pw9nq233I/zlnMGDHvjp+oaHx9GL6vFInDv6Cwc1Hpgni7FtfTtGwlw=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D28214BA23F6
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1768730866; x=1769335666;
 h=mime-version:content-transfer-encoding:user-agent:references
 :in-reply-to:date:subject:to:from:message-id:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=+ck0fJ7HeRZ9gJpt/Beo7QC0iz7HobWViVdwhoNj9C4=;
 b=GyjiA7MpbzWYMriIARV4Xd4daPdHHJtiZhcUB3fudM+J7lh0o6kJ1gNADT299PVKaD
 NJmOKhzg7RW6PjFuJtsaKWYxzxDgkj+4+03PtO60TDeIWIXsT3Z4dzVikxmPLDFs6Nxu
 hPhwUTtoXQQj1OTz/OhmrNyYqEiP+aDxqq3uQPRNKpACcaKK8f+hcw7EId10J68K3uqB
 zUTBL3snpQnV+K5teP4ortigfOVRWkJTvZfD0h2EEwvn7b3pUwbGWIXp5rsOqZsyhiA+
 J+1lF4evFwCEghsNtxobSFJPi8NOo6mTEQ0XoLm+ppezDEmYJTlWZ8q0NHMnfIMbn8fc
 gKDw==
X-Gm-Message-State: AOJu0YylW+muDkGHnsQRf0/q8zCzYEQktZpjyuFisnYM7ilbj+MQBsIp
 XPsSjPzQ1iyUQ6wWeR4cX4e/lqmvTmIDtNAbznqo8L2PXZhTwRfWy8IQ8SvU3w==
X-Gm-Gg: AY/fxX5YmjCudtWUcz0Wy3TJNRUz6ZE6E5WZPxF9i8qHGBcLJuUm9No1hWeZk03pOR6
 kj4o9d2sbm9SJ0o0YGtr1OALQVVpaWwJ0YprwA5U4n9v6WfRBhNdxizkhqyrqpYjuOorVm5K8oJ
 GLr68KyMhzkwc7wzhBFdK4foFINsA8cObi8fR+3cX+sMmzMP5xIWnUgUuCp4By/tcJ4PYlP+Qjg
 PC8uAfvdraBAfzGOGSq+P/QZNV3+230deGhLl8rfN4mIOL4nK5b1FJe+XHQEbIDDu+99ZwY2XM7
 2HOZO+x6rsDwCg37xSbDztOGnOFaUYMCjaxL7ejtXl8ZN0RhA6P3NV/OMzMiITAACv5iDz0oo2y
 XBq2IpzQeXF78kOb3xZe8IvbpEBBiFeVa1u41tVawkgRQeiV6pgJz3hMic8Ua9UW2STSZl3wv8+
 tfx0/xdpjqkkfSYiM5AK1Ap2jPo5PeWVUejgw=
X-Received: by 2002:a17:902:c404:b0:2a1:e19:ff0 with SMTP id
 d9443c01a7336-2a7175a63a7mr90306025ad.39.1768730865844; 
 Sun, 18 Jan 2026 02:07:45 -0800 (PST)
Message-Id: <1768723106210.867796925.3623049726@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Request to update libc++ related packages for current
 Clang/LLVM toolchain
Date: Sun, 18 Jan 2026 10:07:43 +0000
In-Reply-To: <20260118164544.346bdad89e67eec6fd054d95@nifty.ne.jp>
References: <20260118164544.346bdad89e67eec6fd054d95@nifty.ne.jp>
X-Mailer: Vivaldi Mail
User-Agent: Vivaldi Mail/7.7.3851.67
MIME-Version: 1.0
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: kikairoya via Cygwin <cygwin@cygwin.com>
Reply-To: kikairoya <kikairoya@gmail.com>
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 60IA9S0Z3524591


2026年1月18日 16:45:44 (+09:00) で、Takashi Yano さんが書きました:

> Thanks for pointing this out.
> 
> The comment in the emutls.c explains that.
> https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/builtins/emutls.c#L378-L389
> 
> Do you think this is a defect we should accept?
> 

The restriction might be acceptable if there is a great gain with using
compiler-rt, but I feel linking to cyggcc_s.dll is not so bad.

If you are planning to provide a package built with compiler-rt, especially
one that contains a DLL, I would say, "Please don't do that." It's very
different if someone decides to build their own application with compiler-rt
and takes responsibility for doing so. Before providing such a package, the
implementation of native TLS in cygwin1.dll is needed, as well as an update
to the toolchains to use it (and, I guess, it is impossible to switch with
keeping ABI). That changes the fundamental design of the distribution.


BTW, the profiler that provided by compiler-rt (unfortunately, it isn't included
in your package; available without -rtlib=compiler-rt, it works fine even with
libgcc_s) is definitely great; clang built with profile guided optimization
reduces 20% of walltime to build LLVM in GitHub Actions.

-- 
Tomohiro Kashiwada (@kikairoya)


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

