Martin Storsjö

Results 328 comments of Martin Storsjö

> I must admit this issue got me very curious. I have used this kind of configuration for many years and never had any issue with such drive - I...

> Any additional info or test I may provide to help? I'll try to build a test version of LLD, with a bunch of debug printouts along the relevant codepaths,...

If you download https://martin.st/temp/ld.lld-debug.exe and replace your `ld.lld.exe` in the `bin` directory with this one, and retry linking a test executable, I'd be interested in looking at the output messages...

> I assume the debug output is same and you don' need me to o run the -debug version? The debug output probably is near identical, yeah. It’d be nice...

It looks to me like there's two separate issues: - On some (older) versions of Windows, writes to a memory map won't end up in the file unless explicitly flushed,...

It's been a design criteria for me that this should be possible; I don't apply any custom modifications to the clang/llvm/lld build (but all tweaks are handled outside of that)...

Hmm, so, > I'm trying this out how you've outlined here, but running into some issues when it's trying to build-mingw-w64.sh. Looks like there's a lot of complaining about redefinitions...

Just FWIW, I've now reproduced this issue too (sorry for the long delay).

As mentioned in #29, the issue seems to be that rules.ninja contains a command that looks like `command = "" RC $in $DEP_FILE $out [...]`. The `""` is actually supposed...

Oh, there seems to be another workaround too - you can set `-DCMAKE_NINJA_CMCLDEPS_RC=0` when configuring. The `Windows-Clang.cmake` file in cmake does this already, as cmcldeps isn't expected to exist when...