ilink32 hungs under Wine 0.9.10
Igor Sysoev
is at rambler-co.ru
Sat Mar 25 05:34:31 CST 2006
On Thu, 23 Mar 2006, Igor Sysoev wrote:
> When I try to link with ilink32.exe from C++ Builder Compiler and
> Command Line Tools ( http://appdb.winehq.org/appview.php?versionId=1423 )
> ilink32 hangs.
>
> I saw comment on http://appdb.winehq.org/appview.php?versionId=1423
> about changing ADDRESS_SPACE_LIMIT. Could be applied to 0.9.10 ?
I've tested changing ADDRESS_SPACE_LIMIT to 0x80000000 (patch attached)
and ilink32.exe runs successfully.
There is another patch
http://www.winehq.com/hypermail/wine-devel/2004/03/att-0082/01-0012-wine-fix-bcc55.patch
that marks the page at 0x80000000 as reserved.
As I know Windows has a compatibility code to emulate old bugs and
undocumented for some applications depending on program name. Why not
to add similar functionality to Wine ?
Igor Sysoev
http://sysoev.ru/en/
-------------- next part --------------
--- dlls/ntdll/virtual.c Sat Mar 25 13:36:11 2006
+++ dlls/ntdll/virtual.c Sat Mar 25 13:49:41 2006
@@ -120,7 +120,7 @@ static RTL_CRITICAL_SECTION csVirtual =
# define page_shift 12
# define page_size 0x1000
/* Note: these are Windows limits, you cannot change them. */
-# define ADDRESS_SPACE_LIMIT ((void *)0xc0000000) /* top of the total available address space */
+# define ADDRESS_SPACE_LIMIT ((void *)0x80000000) /* top of the total available address space */
# define USER_SPACE_LIMIT ((void *)0x7fff0000) /* top of the user address space */
#else
static UINT page_shift;
More information about the wine-devel
mailing list