On Thu, 10 Apr 2025 12:45:06 -0700 (PDT)
Jeremy Drake wrote:
> We (@mati865 and I) just managed to get llvm/clang 20.1.2 building and
> targeting Cygwin over at MSYS2, and I was wondering if you had anyone
> interested in these patches to update the package(s) in Cygwin?  I'm not
> particularly interested in taking on more responsibilities, but I guess I
> could take a look at this if nobody else wants to.
> 
> MSYS2 package:
> https://github.com/msys2/MSYS2-packages/tree/master/llvm
> 
> Note that we wound up punting on LLD support for Cygwin targets: there's
> currently no way to tell the difference in the LLD driver between Cygwin
> and MinGW targets, and trying to adapt to Cygwin broke the ability to use
> that LLD for MinGW cross-compiling.  Given that it was all pretty hacky
> anyway, it seemed better to keep the working MinGW cross-compiling support
> than trade it in for still-somewhat-broken Cygwin support when we can just
> keep using GNU ld for the Cygwin target.

Amazing!

Now I am trying to build llvm for cygwin. For now, it fails with 
ld: error: export ordinal too large: xxxxx
in dll linkage.

If you could give me a suggestion, I would greatly appreciate it.

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

Reply via email to