Try the patch below, I am not yet sure why this would be necessary.
Perhaps it helps.
>I've got some cross platform issues i cannot resolve. There are some
>obvious issues like the assumption that round() is in the math library
>and not linking in the math library itself. i've worked passed thos
On Fri, Jul 30, 2004 at 02:30:14PM +0100, Mike Hearn wrote:
> > I must be doing something wrong, since wine-kthread gave the same error.
> > Anything I may have missed? I copied wine-kthread from loader/wine-kthread.
>
> In that case I guess it's the code which reserves the top 2gig which is
> bai
Yorick Hardy <[EMAIL PROTECTED]> writes:
> Also in libs/wine/mmap.c line 119 the result of mincore is never tested,
> should it not be
>
> if ( (mincore( (caddr_t)addr + i, pagesize, &vec ) != -1) && (vec&1) )
No, the goal is to check if something is mapped there, we don't
actually care whethe
Thanks for the response.
I must be doing something wrong, since wine-kthread gave the same error.
Anything I may have missed? I copied wine-kthread from loader/wine-kthread.
It does not appear to be correct, but is there any chance
madvise(..., MADV_DONTNEED) could help?
Also in libs/wine/mmap.c
On Fri, 2004-07-30 at 09:36 +0200, Yorick Hardy wrote:
> Thanks for the response.
>
> I must be doing something wrong, since wine-kthread gave the same error.
> Anything I may have missed? I copied wine-kthread from loader/wine-kthread.
In that case I guess it's the code which reserves the top 2g
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, Yori
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 linkin