Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 21:41:22 -0400 (EDT)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        andrew@lake.com.au, nox@jelal.kn-bremen.de
Cc:        freebsd-emulation@FreeBSD.ORG
Subject:   Re:  Wine, Win32 stripped executables vs FreeBSD mmap()
Message-ID:  <199904280141.VAA29678@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> Hi Jurgen, -emulators,
> 
> As a simultaneous expert in Wine and FreeBSD, do you have any
> thoughts on the problem I reported last week: I found that Wine
> could not execute any of my Win32 programs, because the FreeBSD mmap
> system call refused to allocate a block of VM at 0x4000000 for
> the executable.  I poked around in /proc a little, and it didn't
> nothing appeared to use virtual addresses lower than 0x8048000.
> Is there some architectural reason for that space to be off
> limmits in FreeBSD?
> 
You should be able to mmap at any address in user space (currently address
<0xc0000000). I wrote a test program to map one anonymous page at 0x4000000
and it worked. What's the errno from the mmap() call? How big is the block
wine tried to allocate? What's the flag argument passed to mmap()?

> -- 
> Andrew
> 
-lq


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904280141.VAA29678>