[Bug 22812] New: mt under wine corrupts executables

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 22 03:29:50 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22812

           Summary: mt under wine corrupts executables
           Product: Wine
           Version: 1.1.44
          Platform: x86
               URL: http://ghostscript.com/~hintak/wine-debug/
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: loader
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: htl10 at users.sourceforge.net


part of ghostscript's building process runs:

mt -nologo -manifest psi/dwsetup_x86.manifest -outputresource:setupgs.exe;#1
mt -nologo -manifest psi/dwuninst_x86.manifest -outputresource:uninstgs.exe;#1

This step corrupts executables under wine and they gain a wrong image size;
both vista and win7 then complains they are not valid win32 applications. See
discussion on wine-devel mailing list.

I have modified the makefiles slightly so that setupgs.exe and uninstgs.exe are
saved to setupgs.exe.bak and uninstgs.exe.bak before running mt. So the two
*.bak files can be found in:

http://ghostscript.com/~hintak/wine-debug/vista-bins.zip
and the manifests in:
http://ghostscript.com/~hintak/wine-debug/dw_manifests.zip

and one can compare running mt against them with the vista executables, also in
that zip file.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list