Re: [ITA] llvm

Takashi Yano via Cygwin-apps <[email protected]>
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
On Thu, 17 Jul 2025 17:24:04 -0700 (PDT)
Jeremy Drake <[email protected]> wrote:

> On Tue, 15 Jul 2025, Takashi Yano via Cygwin-apps wrote:
> 
> > On Fri, 11 Jul 2025 16:16:09 -0700 (PDT)
> > Jeremy Drake <[email protected]> wrote:
> >
> > > On Fri, 11 Jul 2025, Takashi Yano via Cygwin-apps wrote:
> > >
> > > > BTW, I just realized we havent submitted the ITP for lld yet.
> > > > Jeremy, would you like to do it? Or shall I do that?
> > > > I'm asking because I did not contribute anything for lld.
> > >
> > > I sent something.  I was holding off because it can't be built yet until
> > > llvm is updated.
> >
> > Thanks! I've updated the maintainer as folows.
> > +clang                                        Jeremy Drake/Takashi Yano
> > +compiler-rt                                  Takashi Yano
> > +libcxx                                       Takashi Yano
> > +libcxxabi                                    Takashi Yano
> > +libunwind                                    Takashi Yano
> > +lld                                          Jeremy Drake
> > +llvm                                         Jeremy Drake/Takashi Yano
> >
> >
> 
> I pushed the playground lld branch as master to lld.

I tried lld in the master branch. clang can work with
lld without -L/usr/lib/w32api. However, g++ cannot.

$ clang++ -fuse-ld=lld hello.cc
$ g++ -fuse-ld=lld hello.cc
lld: error: unable to find library -ladvapi32
lld: error: unable to find library -lshell32
lld: error: unable to find library -luser32
lld: error: unable to find library -lkernel32
collect2: error: ld returned 1 exit status
$ 

Is this intentional behaviour?

-- 
Takashi Yano <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.