[pypy-dev] update (+patch) on embedding pypy
Amaury Forgeot d'Arc
amauryfa at gmail.com
Wed Apr 11 09:22:51 CEST 2012
Hi,
2012/4/11 Max Lavrenov <max.lavrenov at gmail.com>
> Hello everyone!
>
> I got some errors while i was building the embedded-pypy branch with
> python translate.py -Ojit --shared.
> Could anybody help me with it, please?
>
trackgcroot.py does not recognize some constructs used when compiling with
-fPIC.
I thought I fixed them though...
Anyway it will crash at runtime: because of code relocation, function
pointers are actually
addresses into a translation table, which contains the real code address.
I already fixed this for Windows a long time ago.
Meanwhile, the best thing to do is to avoid assembler magic, and translate
with the option:
--gcrootfinder=shadowstack
--
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120411/0aac2af6/attachment-0001.html>
More information about the pypy-dev
mailing list