[Bug 39195] New: msvcr120.dll.nextafter is needed by Sonkwo
https://bugs.winehq.org/show_bug.cgi?id=39195 Bug ID: 39195 Summary: msvcr120.dll.nextafter is needed by Sonkwo Product: Wine Version: 1.7.48 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: litimetal(a)gmail.com Distribution: --- http://www.sonkwo.com is a game store in China. 0. Download http://www.sonkwo.com/installer/SonkwoInstaller.exe $ sha1sum SonkwoInstaller.exe 0ef9ccba21b0b00ebeb312a40f2f5ce752fadd16 SonkwoInstaller.exe 2. wine SonkwoInstaller.exe wine: Call from 0x7b83c2b3 to unimplemented function msvcr120.dll.nextafter, aborting wine: Unimplemented function msvcr120.dll.nextafter called at address 0x7b83c2b3 (thread 002a), starting debugger... -- 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=39195 lizhenbo <litimetal(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.sonkwo.com/insta | |ller/SonkwoInstaller.exe CC| |christopherwuy(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=39195 Michael Bosse <metiscus(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |metiscus(a)gmail.com --- Comment #1 from Michael Bosse <metiscus(a)gmail.com> --- I have observed the same crash while installing the new eve launcher program. I resolved it in the following way: 1. Download and install the Microsoft Visual C 2012 Runtime https://www.microsoft.com/en-us/download/details.aspx?id=30679 2. Run winecfg. 3. Add msvcr120.dll as an override and set it to native. The program will then work as expected. -- 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=39195 --- Comment #2 from christopherwuy(a)gmail.com --- Created attachment 53144 --> https://bugs.winehq.org/attachment.cgi?id=53144 hack -- 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=39195 --- Comment #3 from christopherwuy(a)gmail.com --- I had wrote the hack to fix the problem. The hack works well on my machine. Will send a patch to upstream after code frozen. -- 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=39195 Sergey Isakov <isakov-sl(a)bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl(a)bk.ru --- Comment #4 from Sergey Isakov <isakov-sl(a)bk.ru> --- What was the reason initially to make these functions to be stubs for i386 and real functions for x86_64? -- 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=39195 --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Sergey Isakov from comment #4)
What was the reason initially to make these functions to be stubs for i386 and real functions for x86_64?
For msvcr120 they are stubs regardless, for older CRT versions they did not exist in 32bit versions. -- 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=39195 --- Comment #6 from christopherwuy(a)gmail.com --- Yep, so this is just a hack. I will sharpen the code. ;P -- 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=39195 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt --- Comment #7 from Nikolay Sivov <bunglehead(a)gmail.com> --- I don't think it's a hack, msvcr120 have such exports on both arches. I don't see a problem in enabling this code in msvcrt for i386 case. -- 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=39195 --- Comment #8 from Sergey Isakov <isakov-sl(a)bk.ru> --- (In reply to Nikolay Sivov from comment #7)
I don't think it's a hack, msvcr120 have such exports on both arches. I don't see a problem in enabling this code in msvcrt for i386 case.
Enabling more codes? -- 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=39195 --- Comment #9 from YongHao Hu <christopherwuy(a)gmail.com> --- (In reply to Sergey Isakov from comment #8)
(In reply to Nikolay Sivov from comment #7)
I don't think it's a hack, msvcr120 have such exports on both arches. I don't see a problem in enabling this code in msvcrt for i386 case.
Enabling more codes?
I think that Nikolay Sivov means using the code below to enable nextafter function in msvcrt for i386 case -#if defined(__x86_64__) || defined(__arm__) +#if defined(__x86_64__) || defined(__arm__) || defined(__i386__) -- 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=39195 --- Comment #10 from YongHao Hu <christopherwuy(a)gmail.com> --- (In reply to Nikolay Sivov from comment #7)
I don't think it's a hack, msvcr120 have such exports on both arches. I don't see a problem in enabling this code in msvcrt for i386 case.
Hi, I prefer #if defined(__x86_64__) || defined(__arm__) || _MSVCR_VER>=120. And Wine had used this method in MSVCRT__chgsignf function. How do you think about that? Thank you. #if defined(__x86_64__) || defined(__arm__) || _MSVCR_VER>=120 /********************************************************************* * _chgsignf (MSVCRT.@) */ float CDECL MSVCRT__chgsignf( float num ) { /* FIXME: +-infinity,Nan not tested */ return -num; } -- 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=39195 --- Comment #11 from Sergey Isakov <isakov-sl(a)bk.ru> --- Let the dll to be better then native one. ;) -- 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=39195 --- Comment #12 from Nikolay Sivov <bunglehead(a)gmail.com> --- Fix was committed as http://source.winehq.org/git/wine.git/?a=commit;h=072f34be730761faa2fabefa8e..., please retest with current wine. -- 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=39195 lizhenbo <litimetal(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #13 from lizhenbo <litimetal(a)gmail.com> --- (In reply to Nikolay Sivov from comment #12)
Fix was committed as http://source.winehq.org/git/wine.git/?a=commit; h=072f34be730761faa2fabefa8e4a3306d19c4a63, please retest with current wine.
Yes, this bug has been fixed. Installer finished successfully, although other bugs are blocking this app to run. -- 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=39195 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |072f34be730761faa2fabefa8e4 | |a3306d19c4a63 -- 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=39195 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.1. -- 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=39195 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ultracook314(a)gmail.com --- Comment #15 from Nikolay Sivov <bunglehead(a)gmail.com> --- *** Bug 40654 has been marked as a duplicate of this bug. *** -- 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=39195 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani(a)redhat.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=39195 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- --- Comment #16 from Michael Stefaniuc <mstefani(a)redhat.com> --- Removing 1.8.x milestone from bugs included in 1.8.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