Question about mmap issues on FreeBSD/NetBSD

Mike Hearn mike at navi.cx
Thu Jul 29 10:19:25 CDT 2004


You need MAP_NORESERVE support otherwise we can't control the address
space correctly (unless you have a ton of virtual memory): if you run
wine-kthread directly it should still work though unless you have
execshield type address space randomisation active.

On Thu, 29 Jul 2004 09:13:25 +0200, Yorick Hardy wrote:
> Just a question about the mmap issues experienced on FreeBSD, i.e.
>  http://www.winehq.org/?issue=230#Wine%20on%20FreeBSD
> 
> I encountered the same on NetBSD. It seems the error message is set from
> ld.elf_so in NetBSD and ld-elf.so.1 in FreeBSD, when the address space
> is mapped for the run time linking? Since MAP_NORESERVE is not documented
> (and not supported?) for mmap on FreeBSD and NetBSD, it would appear
> that wine and the ld.elf_so together require too much memory for all the mmap
> calls.
> 
> Am I correct?
> 
> Kind regards,





More information about the wine-devel mailing list