https://bugs.winehq.org/show_bug.cgi?id=58040
Bug ID: 58040 Summary: Compiling with clang 20.1.1 results in a lot of mp67e96999/shell32-00000000.spec-00000000.s:32085:10: error: Could not find incbin file 'dlls/shell32/shell32.res' errors when shell32.dll is built. Product: Wine Version: 10.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: contact@ivanchev.net Distribution: ---
Created attachment 78296 --> https://bugs.winehq.org/attachment.cgi?id=78296 Excerpt from the build log
Using latest clang (20.1.1) to compile Wine results in weird error about missing incbin file dlls/shell32/shell32.res when shell32.dll is being built although shell32.res is successfully compiled before hand (see log excerpt).
https://bugs.winehq.org/show_bug.cgi?id=58040
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- This might be a duplicate of the bug 54889. Are you compiling with a 32-bit toolchain by any chance?
https://bugs.winehq.org/show_bug.cgi?id=58040
--- Comment #2 from Mihail Ivanchev contact@ivanchev.net --- (In reply to Dmitry Timoshkov from comment #1)
This might be a duplicate of the bug 54889. Are you compiling with a 32-bit toolchain by any chance?
Dmitry, I don't think so. It's 64-bit clang and I have no out of memory errors.
https://bugs.winehq.org/show_bug.cgi?id=58040
--- Comment #3 from Mihail Ivanchev contact@ivanchev.net --- (In reply to Dmitry Timoshkov from comment #1)
This might be a duplicate of the bug 54889. Are you compiling with a 32-bit toolchain by any chance?
Actually, from what Vitaly wrote there, it might be the same thing, yeah...
https://bugs.winehq.org/show_bug.cgi?id=58040
Mihail Ivanchev contact@ivanchev.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Mihail Ivanchev contact@ivanchev.net --- This seems to be an LLVM bug indeed, I reported it over at https://github.com/llvm/llvm-project/issues/133631. Getting rid of .incbin in tools/winebuild/res32.c makes Wine compile successfully. Thanks everyone! Note this is NOT a duplicate of #54889.
https://bugs.winehq.org/show_bug.cgi?id=58040
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |NOTOURBUG