https://bugs.winehq.org/show_bug.cgi?id=54889
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- (In reply to szl from comment #2)
The llvm-project developer said that it is not their bug, and suggested that the problem might be that the connection with shell32.dll exceeded the maximum memory that can be used by 32 bits (4GB).
Can you perhaps link to this discussion?
LLVM is known to be far more memory hungry than binutils ld. I tested with ulimit -v, and binutils ld can link 32-bit shell32 with as few as 64 MiB of available virtual memory (though not much lower than that), which means that whether they want to or not, I think this is a bug they can theoretically fix.
If they don't want to, I suppose that's their right, but I don't think it should be the responsibility of Wine to accommodate that either, not without some hard evidence that there's something simple we can do to significantly lower memory usage.
I think there is some truth to this, and moreover, the same clang version compiled without problems using shell32.dll on wine-8.1, while linking failed on wine-8.2. Could it be that version 8.2 modified some linking commands and caused a need for very large memory, which resulted in a memory overflow?
Nothing of the sort was done. In fact, somewhat unusually, there were no modifications to shell32 or any part of the build system between 8.1 and 8.2. I don't know how to account for the difference in that case... best guess is that an import library changed just enough to break the camel's back?