Frederik Carlier
Frederik Carlier
... looks like the difference is that MSYS2 appends `-Wl,--whole-archive` to the linker command, which seems to help mitigate this. Need to dive a bit further, though.
@arctic-marmoset So, it looks like there's an issue with the codegen for ivar references on Windows. They appear to be marked as `extern` but are missing the `__declspec( dllimport )`...
@arctic-marmoset Thanks, that confirms my theory that the `dllimport` attribute is missing on all those ivar symbols. On MinGW (or with the `-auto-import` and `-runtime-pseudo-reloc` flags enabled), the linker detects...
Quick update: I have a toolchain running on Windows which compiles libobj2, libs-base, libs-gui and libs-back (with win32/winlib support) using the latest version of Clang (and one patch). It doesn't...
@davidchisnall I think you want everything from main into the 2.2 branch. Can you review the commit list in this PR and let me know if there's anything you'd prefer...
Thanks @davidchisnall !
Here's the PR to get it included in MSYS2: https://github.com/msys2/MINGW-packages/pull/20406