On Friday, August 18th, 2023 at 8:59 AM, 小さい猫 via Cygwin-apps 
<cygwin-apps@cygwin.com> wrote:

> also starting from llvm 11, libunwind seemed to use some asm and the build 
> bugged due a cmake bug(?)

the cmake issue is about to remove -fPIC from the asmflags.

starting from llvm12, msys2/mingw introduced a patch to suppress the 
error/warning about this flag and it only appear when using MSVC target, so i 
imported that patch: 
https://github.com/ookiineko-cygpkg/clang/blob/main/12.0.1-cygming-disable-fpic-errs.patch

Reply via email to