http://bugs.winehq.org/show_bug.cgi?id=2255
Summary: New mmap breaks application loading on FreeBSD Product: Wine Version: CVS Platform: PC OS/Version: FreeBSD Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-loader AssignedTo: wine-bugs@winehq.org ReportedBy: syjef@mdanderson.org
I have just attempted my first upgrade of wine in a couple of weeks (from CVS) and on trying to launch various applications I receive errors related to mapping addresses. Of particular interest to me is the failure I get trying to run Lotus Notes R5 client. Running wine nlnotes I receive the following messages:
fixme:ntdll:NtQueryVolumeInformationFile device info not properly supported on this platform fixme:file:get_default_drive_device auto detection of DOS devices not supported on this platform fixme:cdrom:CDROM_GetInterfaceInfo not implemented for BSD err:virtual:map_image Image was mapped at 0x205d0000: standard load address for a Win32 program (0x00400000) not available err:virtual:map_image Do you have exec-shield or prelink active? wine: could not load L"C:\notes\nlnotes.exe" as Win32 binary
Apparently at version 1.9 of loader/main.c, some code was removed that changed the way memory was mapped, and the workaround for this was basically to revert to version 1.89 (this is what the FreeBSD port does). It seems that in the last few days some new functionality was added to libwine to handle this, and a new file, mmap.c, was added in libs/wine. I am assuming this is where the failure is, but I don't yet have an understanding of how this code works. Can anyone help with this?