[Bug 44075] New: Unable to set subsystem version with VC++ 2013 link.exe
https://bugs.winehq.org/show_bug.cgi?id=44075 Bug ID: 44075 Summary: Unable to set subsystem version with VC++ 2013 link.exe Product: Wine Version: 2.22 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: msvcrt Assignee: wine-bugs(a)winehq.org Reporter: kervala(a)gmail.com Distribution: --- Created attachment 59791 --> https://bugs.winehq.org/attachment.cgi?id=59791 Full build log with all warnings I'm using VC++ 2013 command-line compilers under Linux with WINE. I'm specifying /SUBSYSTEM:WINDOWS,5.1 to link.exe to target Windows XP for x86 32 bits. Unfortunately, when using WINE VC++ runtimes, I got : LINK : warning LNK4010: invalid subsystem version number 5.1; default subsystem version assumed I tried to check what warnings WINE returned but I think the only relevant one was : fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub When I check the PE header of compiled executable, the minimum Windows version is set to 6.0. When using native msvcr120.dll by specifying : export WINEDLLOVERRIDES="msvcr120.dll=n" Everything link perfectly without warning and the PE headers has Windows 5.1 minimum version. I attached the full build log with all warnings. If you need a test case, I can create a small one with required VC++ executables and all files to reproduce the issue. Thanks :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44075 Cédric OCHS <kervala(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kervala(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44075 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |7aa67f1e5f4e0ecafe9fbeec982 | |326c4d78bf883 Resolution|--- |FIXED CC| |piotr.caban(a)gmail.com --- Comment #1 from Piotr Caban <piotr.caban(a)gmail.com> --- It works for me with this patch: 7aa67f1e5f4e0ecafe9fbeec982326c4d78bf883 (msvcrt: Fix buffer size checks in swscanf_s) Marking as fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44075 --- Comment #2 from Cédric OCHS <kervala(a)gmail.com> --- Wow ! I couldn't imagine it was related to that, but it makes sense :) Thanks a lot and great job for the fix :) I'll compile the latest version with your patch :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44075 --- Comment #3 from Cédric OCHS <kervala(a)gmail.com> --- I compiled the latest version from Git and it works perfectly :) Thanks again! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44075 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.0-rc1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44075 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44075 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #5 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.5. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org