delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/15/07:54:19

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60FCsJ9H1642939
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 60FCsJ9H1642939
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=pBfuWjXm
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 440784BA23CF
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768481658;
bh=Kdwg/YC5pXtjKldzOEk3hC9KtzW4L8ywkbTe4+3wFgY=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=pBfuWjXmsEKPxd7R7iZd54t8xX3MOtT/sTr1wKavKGi7OFDppLT2q3e7qMJxTV2Yl
0gdNV1bTssYd1Nx5Ft4W5nIEiQ3XnX8ZOKVsTjVw9cHmIMrDNwA1EK3UQ5Xx4Yd6PJ
Qv4F8IJeAq4p765kh/KWy4uNQROYeCN+YuAO+t7s=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 657274BA2E20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 657274BA2E20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768481605; cv=none;
b=fKGNqegokSQ4BV7+tQ/uCuYuccVZsN20+h8LkZGZOrhlPrswSiTJvnhL5DkBYlNsXsYIzusn69H2Qp2f/rLW7cWxCjmLI72gTLQ/ALk7mSTfaaqdUbGmMdi76x8jJNrD7zq9owilPMlqHqaBYy76c3DCc57/DAVShtIw3drfo4Y=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1768481605; c=relaxed/simple;
bh=U5uTf6ihGb6wmpgumqDu5DI6waMkhWktp/9KeA9q0H8=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=XCURZa+8lBRG1ynDUcUnDpjg/uo195DwuyF3YooQoR8qIHu3DwwSEUUD8ikB6CUH2aU/LqFcG2W1ePMrJiFghmBMYm+FgsdR2fTEE1zOm2r5asZcziDCifSJoEVTb5ZkZzCc0/z5JFWZomk8E+N5wlH5wqbL/m6pLmS8iomPGgw=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 657274BA2E20
Date: Thu, 15 Jan 2026 21:53:21 +0900
To: cygwin AT cygwin DOT com
Subject: Re: Request to update libc++ related packages for current
Clang/LLVM toolchain
Message-Id: <20260115215321.2bc9368897b5b60557bd2485@nifty.ne.jp>
In-Reply-To: <CAB2Wiyzf+1E_DJ2ofNEJVE4KVR1QytebgjwMixQkMcx7DSJ1jQ@mail.gmail.com>
References: <CAB2Wiyzf+1E_DJ2ofNEJVE4KVR1QytebgjwMixQkMcx7DSJ1jQ AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Sun, 11 Jan 2026 23:11:00 +0200
Florin wrote:
> Hello Cygwin list,
> 
> I$B!G(Bve noticed that the Clang/LLVM stable packages in Cygwin are at version
> 20.1.x, while the libc++-devel, libc++1, libc++abi-devel, libc++abi1,
> libunwind-devel and libunwind1 packages are still at 8.0.1. According to
> the package summaries, they were last updated in 2019.
> 
> This version mismatch can present issues using modern C++ features and
> makes it hard to use a complete LLVM toolchain with libc++ on Cygwin.
> 
> I searched the Cygwin mailing list archives for prior posts about updating
> libc++, but I didn$B!G(Bt find a clear request or discussion about coordinating
> libc++ versions with newer Clang.
> 
> Could you clarify if there is a plan to update libc++ to match more recent
> LLVM releases, or if the recommended C++ standard library for newer and
> future Clang versions on Cygwin should be libstdc++.
> 
> Thank you for your time and I'm grateful for the effort you all put into
> this project.

I have just uploaded libcxx, compiler-rt, and libunwind packages.
However, you cannot use them with -stdlib=libc++, -rtlib=compiler-rt,
and -unwindlib=libunwind. This is because clang package has incomplete
cygwin driver.

You can link them to, for example hello.cc, with:
clang++ -stdlib=libc++ -isystem /usr/include/c++/v1 hello.cc -lc++ $(clang --print-resource-dir)/lib/cygwin/libclang_rt.builtins-x86_64.a -lunwind

The resulted a.exe will be free from libgcc_s. Please try.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019