[ITA] llvm

Takashi Yano takashi.yano@nifty.ne.jp
Fri Jul 11 08:18:35 GMT 2025


On Thu, 10 Jul 2025 10:06:13 -0700 (PDT)
Jeremy Drake wrote:
> On Thu, 10 Jul 2025, Takashi Yano via Cygwin-apps wrote:
> 
> > On Wed, 9 Jul 2025 23:27:10 -0700 (PDT)
> > Jeremy Drake wrote:
> > > Also, I am confused about #define-ing constinit in the libc++ patches.  Is
> > > there still some issue with constinit?
> >
> > Without this patch, I have seen errors like:
> > libcxx-20.1.7-1.x86_64/src/libcxx-20.1.7.src/src/random_shuffle.cpp:22:35: error: variable does not have a constant initializer
> >    22 | static constinit __libcpp_mutex_t __rs_mut = _LIBCPP_MUTEX_INITIALIZER;
> >       |                                   ^          ~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > I'm using gcc v12.4.0. Using gcc 13 may solves the issue?
> 
> This should have been fixed in cygwin by
> 5be6ebd4d5c3492c539e662cc8849c284a456e7d (and
> 1186791e9f404644832023b8fa801227c2995ab7 on cygwin-3_6-branch)

Ah, I'm using latest cygwin1.dll in main branch, but other parts of
the cygwin package remain in v3.6.3.

My understanding is the workaround for constinit will not be necessary
anymore if cygwin header files are updated.

Thanks.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin-apps mailing list