Wine on AMD64 (heap problem)

Mike Hearn mh at codeweavers.com
Sat May 15 11:08:43 CDT 2004


On Sat, 15 May 2004 08:19:26 +0200, Maurizio Monge wrote:
Hello, i compiled wine cvs on my amd64 without many problem (i had
> to set PATH to point to a directory with wrappers for gcc,ld and as
> that would call respectively "gcc -m32","ld -melf_i386","as --32", 
> it would be nice if wine would support natively this or would support 
> LDFLAGS=-melf_i368.., but this is not the point).
> When i started wine i got:
> 
> wine: failed to create the process heap
> 
> The same wine executable was running ok on my 32bits distro.
> I read that this happens on fedora2 too because of nx stack, and
> i think that, even if i do not have SeLinux installed, the stack
> is not executable by default on amd64...
> 
> Do you have any idea of how this could be fixed/hacked?

Probably something is being loaded at the address we need to create the
heap at - check that you don't have things like execshield/prelink active
- it's not the NX stack that breaks Wine, it's the DSO load address
randomization.





More information about the wine-devel mailing list