lightning
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lightning] Re: Broken jump patching on x86_64


From: Paolo Bonzini
Subject: [Lightning] Re: Broken jump patching on x86_64
Date: Wed, 11 Jun 2008 12:44:25 -0700
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Turns out that on MacOS the VM areas for static vars and malloc do not have the execution bit set.

Does using mprotect work?

1) How can I _cleanly_ configure for that target ?

Probably, something like

  CC="gcc -arch x86_64" ./configure && make

3) What is the general state of the x86_64 port? What can I expect to work / not work ? What are the big changes I should be aware of ?

Large (>32-bit) immediates do not work for most instructions. The rest should be ok.

Thanks,

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]