On Tue Feb 3 21:57:35 2026 +0000, Martin Storsjö wrote:
It only does this when the linker is running in mingw mode, see https://github.com/llvm/llvm-project/blob/main/lld/COFF/Writer.cpp#L1308-L13.... If invoked through the mingw style `ld.lld` interface (when invoked through the compiler), it prints error messages with a `ld.lld` prefix (since https://github.com/llvm/llvm-project/commit/1c8bb625b716b647206bcf5f51ac1c35...), while it prints `lld-link` if invoked that way. In `lld-link` mode, it doesn't define such mingw specifics, unless you pass the `-lldmingw` option. Thanks! That makes sense. So what's the best thing to do here? Should wine be using `ld.lld` when using llvm in MinGW mode? Or maybe I just need to add `-lldmingw`?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9758#note_128730