12 Feb
2026
12 Feb
'26
11:31 a.m.
On Thu Feb 12 04:40:44 2026 +0000, Yuxuan Shui wrote:
it only defines it if the linker is `ld.lld`, but we seem to be [using](https://gitlab.winehq.org/wine/wine/-/jobs/225794#L121) `lld-link`? Yes, CI uses lld-link, but it's because is uses Clang's MSVC mode. In the commit I linked, we pull gcc_constr.o only for mingw mode, so we'd never reference `__CTOR_LIST__` in MSVC mode.
(I know it may be a bit confusing; we install llvm-mingw and use clang from that instalation, but we use it in MSVC mode. If you'd like to try it in mingw mode, it requires `--with-mingw=llvm-mingw` configure option). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9758#note_129515