www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/20/04:49:07

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60K9n73v646616
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 60K9n73v646616
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=ucfiM9fY
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 578724BC7EFC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768902545;
bh=nunDePCp6r1GOWu9C63SRzNqqOdOku51gT7FOSW1TjQ=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=ucfiM9fY4eMZhq5l66K+eiZNeR7fJwW0vxFhZyhckmhBL+zqQ14A23w5p7LrZvsxC
yCyxaFHgeBI/JztSX8Hmwy7OGX2klCSjrbGOtiprrn0B27nnspIza++uWJIM7Py+YU
ybJb06DJjT71ABwVYSjE/m6DENHgXJRdOqnaoJKE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 13E2E4BBCDF0
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 13E2E4BBCDF0
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1768902522; cv=pass;
b=PrxVExZ5jQkPUfqLzEH5fnVq7BM0mRqJnnctlbNacOV1qsCaknwGiwB9mmI2lqt+6ahuUHz/JhHEm9PwOV1EI8W8MIDUePkOIk7sJC+EVGtMtQH5PZuhX6qjOyx1HzkvziSuYOBCvshIvoW5l+CbrgptxYBzrbbGfZMmpcrpzgg=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1768902522; c=relaxed/simple;
bh=FuqUAx28S4kksAqRo2Jfz/w/dLmy70b4+1WUcqDfKHA=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=gIo70iw2pRUUpyOyPFnsrLCwIgMylHwwLpLkK5Y5YDO7k+nEVFag9hzQvnoAsWVQwbceFvdbYELsTmxRBAEkcvt5H5q0LGsVB78G6VDQmZP6/fVOXvYzXMG1aTIQSKrMgVcjPmPg8GzHxYmMG28i2/Dw4PxLXIrdIKP0baI3A0o=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13E2E4BBCDF0
ARC-Seal: i=1; a=rsa-sha256; t=1768902521; cv=none;
d=google.com; s=arc-20240605;
b=BEndeGHcAm+/y4FaxuxdpB8ZFAS6vSBgF2s6Pk1FfZ1wdas06Xonccg3i6iCsVcsoF
z6E65O7AelKQzpS0PLc56rsl/AFixPQkVOk7RoNRaP+QbCAsTJnbRv9h4VweTKusVZhi
rA7zPaHa05rR35ug4udpO+QLjOt8iaDl7M7JjEZ+kxhSBBaFD7akPZfbWCZCoXkdvZ4I
bzy4BnNjG8P8ghlnE398a00P+qmRpOyEoA9lYTRzcDyN/Qccx1mbed8xPYdQxPPoi4le
s++UTPHXfiSHG3bS/vLVQBQJw88cZa6hqu+JgP+gB4x9DbKDua4Zesp/I5+e8RivoHfH
49HQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:dkim-signature;
bh=3qnnrmDcA3izKmJPRKoTN0KyBJDu/BxbDIOFLLcdXS8=;
fh=4iYSywDmD8UwFvDB1iDMZIl53Lxqmg1vsqMvVMRhNUE=;
b=CxvzN4k8dnneHO7BiHTKsD45ZIn3Asn+CwGFOPsQUVZKQSL43kZ8ZMJe+DefcAC1j5
+RqH0WWQX3qQ6/FoME21WoNPMlrAAMHcvla/gy58K0jKB8ziaCbswelZdeznPJ7XbqwW
Odp+KDV+GeiVuRI7EbB2ECX3Kvih/ls+lHFSbjePtxty98J8lEOb2C8HS4GKKOIbP8Wy
fq/28bc7MvBBp/BIUL91OS0zhHxkuM8N6/fNVZ89WReHwfQzQYoQVDam1nDTcSdMJv1E
/8na1nDmXHuGA/gUc6CLrNmoTC+sDIYXUzNm86dY3b0Vvr5d8HxWxt2p/EegdyC8Or9M
gapw==; darn=cygwin.com
ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1768902521; x=1769507321;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=3qnnrmDcA3izKmJPRKoTN0KyBJDu/BxbDIOFLLcdXS8=;
b=IiwHCKDlD7sE4PYLE+6vUQXrrRZcyM7G5Dj2lMvs0wyKfWvjQfbOkotZ2opxznqSvT
5Hxj8i/aeyjIvhF2z2adkrrVAYqPTmVhR7rrtSYMhiuGZcRtIRYh2HHMBMtRSFlQOrYw
IOZaC6Zr41+me+z676drMtnQtkg1I2h5qqt2x8bEAcOTAB2ZEcDZdqdn685mXzBL24DU
RHmqtACCPOrWh8iGK4BrSboetmdBf9GoZzwTibQ1LZCXENds9fu/Yadq5rjZYA2QkA3S
gpv285lH/E5GhNwBCQuXL1O5fwL1sWU5pcKHGxWdkffqBRP7O0sDAvrDgU9YPXUcmaMx
PsHQ==
X-Gm-Message-State: AOJu0YxPSUTVBHqYgn9Qmb7LshoaCmWn4X3LcwbeipZaGXzHRobvU3lV
G9Cr2JqXuHuEBjtl2jQlD0ojxO/MA9QMQSGaqPDjDRr84vCYM8Y/w+9uC1a8v+4FtNDmStrz2BF
IA2u/SAlmlSqHr/4vFWW6yhciTgl8+r58ZJwC
X-Gm-Gg: AY/fxX7i/q2kOh5utrdfL3d7T/7Q0g3A2UWDq9GA0Ah9OmDIsttNryxTLGiYs7HGjbM
ZiZzZEd0+OEFpJV9IdK0AQge9SU4f2IW1D/ApmLs5C7V+ABhqU4s7iumYvRMmJNyFfV+cRcS2IR
yDS65aFhqiWV+4VtgxWErlsDCK9lR7AsiOti8f1dvu4r1N1+WNfGhuktU9nj+CjirzWDE9CiYlP
h6Vwl7R0Ocf82khcl5d9cO6zAIqJzMFcMTF/MJlup77P9PWDCNmAuR0ltmKrrgU5QmDFW/OAA8T
OuyzL3JrZs5t9v25DZBX0Tgd/u5z7Q==
X-Received: by 2002:a05:7022:926:b0:119:e569:f874 with SMTP id
a92af1059eb24-1244ae994camr12173479c88.17.1768902520874; Tue, 20 Jan 2026
01:48:40 -0800 (PST)
MIME-Version: 1.0
References: <CAB2Wiyzf+1E_DJ2ofNEJVE4KVR1QytebgjwMixQkMcx7DSJ1jQ AT mail DOT gmail DOT com>
<20260115215321 DOT 2bc9368897b5b60557bd2485 AT nifty DOT ne DOT jp>
<20260115235954 DOT 0abd10336dcd63067e1a0a06 AT nifty DOT ne DOT jp>
<CAB2Wiyyvs3T8-sk8yrZa5D5aRyftN_AEe-E6U9=u-Pno4S1d4A AT mail DOT gmail DOT com>
<20260116233806 DOT 2ba9ec198a028e5d0c1d61cb AT nifty DOT ne DOT jp>
In-Reply-To: <20260116233806.2ba9ec198a028e5d0c1d61cb@nifty.ne.jp>
Date: Tue, 20 Jan 2026 11:48:26 +0200
X-Gm-Features: AZwV_QidiFEAj2Mc9Q-lQEmODbF55xnfKkEBQirmlqGWiRMZF0MScja_245pcmU
Message-ID: <CAB2Wiyy3_oMpWejuT_Cnvq9k82f+YysRy6+Jxt=4RmvD2FZLdQ@mail.gmail.com>
Subject: Re: Request to update libc++ related packages for current Clang/LLVM
toolchain
To: cygwin AT cygwin DOT com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
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-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: Florin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Florin <tf1568 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 60K9n73v646616

Hi Takashi,

Using the test version of the relevant Clang/LLVM packages (21.1.4.2 for
*libc++1*, *libc++-devel* and *libcxx-debuginfo*; 21.1.4.1 for the rest) I
was able to compile a simple hello.cc and the 'unit_test_framework' library
from Boost (www.boost.org) based on these flags *-stdlib=libc++
-rtlib=compiler-rt -unwindlib=libunwind -fuse-ld=lld* and the resulted
binaries do not depend on *cyggcc_s-seh-1.dll*.

Thank you for such a great and rapid fix.
Please email me if there are other things I could check.

Kind regards,
Florin Tulba

On Fri, Jan 16, 2026 at 4:38 PM Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
wrote:

> On Fri, 16 Jan 2026 00:05:31 +0200
> Florin wrote:
> > On Thu, Jan 15, 2026 at 5:00 PM Takashi Yano via Cygwin <
> cygwin AT cygwin DOT com>
> > wrote:
> >
> > > On Thu, 15 Jan 2026 21:53:21 +0900
> > > Takashi Yano wrote:
> > > > On Sun, 11 Jan 2026 23:11:00 +0200
> > > > Florin wrote:
> > > > > Hello Cygwin list,
> > > > >
> > > > > I’ve 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’t 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.
> > >
> > > I also uploaded 21.1.4-1 (Test) which works with clang/llvm 21.1.4-1
> > > (Test).
> > > This test version does not have the problem above.
> > >
> > > --
> > > 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
> >
> > Hi Takashi,
> >
> > I appreciate the short response time and the details you provided.
> >
> > The test with a simple Hello World source on clang-20 based on your
> compile
> > command succeeded and the result does not depend, indeed, on
> > *cyggcc_s-seh-1.dll*. I didn't test the *-fuse-ld=lld* flag.
> >
> > For the test versions (21.1.4-1) I kept getting link errors. The
> > command *clang++
> > -v -stdlib=libc++ -fuse-ld=lld hello.cc -lc++ -lunwind* produces a few
> > errors like this:
> >
> > > ld.lld: error: undefined symbol: std::__1::basic_ostream<char,
> > >
> std::__1::char_traits<char>>::sentry::sentry(std::__1::basic_ostream<char,
> > > std::__1::char_traits<char>>&)
> > > >>> referenced by /tmp/hello-a3d7ec.o:(std::__1::basic_ostream<char,
> > > std::__1::char_traits<char>>& std::__1::__put_character_sequence
> > > *[abi:ne210104]*<char,
> > > std::__1::char_traits<char>>(std::__1::basic_ostream<char,
> > > std::__1::char_traits<char>>&, char const*, unsigned long))
> >
> >
> > The default *ld* linker (*clang++ -v -stdlib=libc++ hello.cc -lc++
> -lunwind* )
> > behaves similarly:
> >
> > > /usr/bin/ld:
> > >
> /tmp/hello-e03638.o:hello.cc:(.text$_ZNSt3__124__put_character_sequenceB8ne210104IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m[_ZNSt3__124__put_character_sequenceB8ne210104IcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m]+0x1ad):
> > > undefined reference to `std::__1::basic_ostream<char,
> > > std::__1::char_traits<char> >::sentry::~sentry()'
> > >
> >
> > I've tried different workarounds but couldn't make it work for clang-21
> > (-std=c++14, -D_LIBCPP_ABI_VERSION=1, -fno-exceptions, -fno-rtti).
> >
> > Do you have a working compile command I could try?
> >
> > The symbols demanded by compiler require *[abi:ne210104]* while the
> libc++
> > contains symbols with different ABI.
> > The command *nm /usr/lib/libc++.dll.a | grep "basic_ostream" *produces
> > lines like "*0000000000000000 T
> > _ZTv0_n24_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev*", which
> lacks
> > the expected ABI tag.
> >
> > Is libc++ compiled with the correct flags?
> > Has the compiler some defaults not matching what current libc++ provides?
> >
> > Thank you for your time and we love your work,
>
> Thanks for testing and the report. That issue will be fixed in 21.1.4-2
> (Test).
> Please test 21.1.4-2 (Test) as well that will be uploaded shortly.
>
> --
> 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