Martin Storsjö
                                            Martin Storsjö
                                        
                                    Fixes for this are pushed now, in https://github.com/llvm/llvm-project/commit/a23bf1786be7c0738a4cf999c2957155bb32d5af and https://github.com/llvm/llvm-project/commit/5c92c9f34a7dba804479acef62c576d1a170ef1f. They should show up in the next successful nightly builds at https://github.com/mstorsjo/llvm-mingw/releases/nightly.
The new handling of LTO options caused broken builds whenever Clang passed any other LTO flags to the linker, but that should have been fixed by https://github.com/llvm/llvm-project/commit/0b51e648307cf6c21c463d3e73e51c03aaa8c9e2 now as well...
I made a PoC of a commit that should fix this (and the duplicate issue #19279, CC @huangqinjin). See https://github.com/mstorsjo/llvm-project/commit/mingw-install-base-sysroot - does someone want to try to apply this on...
> Without patch and with `*-gcc-compat` package removed: > > ``` > $ PATH=$PATH:/d/msys64/mingw64/bin > > $ which clang > /clang64/bin/clang > > $ which gcc > /d/msys64/mingw64/bin/gcc > >...
> Thanks for testing! That looks like it works exactly as intended; I'll try to get this change upstreamed then. Posted a PR at https://github.com/llvm/llvm-project/pull/76949.
> > Thanks for testing! That looks like it works exactly as intended; I'll try to get this change upstreamed then. > > Posted a PR at [llvm/llvm-project#76949](https://github.com/llvm/llvm-project/pull/76949). FWIW, the...
Can you be more specific as to what the exact issue is and how to reproduce it? You're installing MSVC within WSL using these scripts, and then execute cl.exe without...
> > You're installing MSVC within WSL using these scripts, and then execute cl.exe without using wine? > > Yes. The problem is specifically about not finding properly cased DLL...
I think the issue here is mostly about the difference between libstdc++ and libc++; when headers produce inline functions, they end up emitted in the calling object files, and it...
> Current trunk version lld not support `-Wl,--version-script` on mingw target Correct. So far, I have ran into very few projects that use this, and one that did, had a...