Hi,

2012/4/11 Max Lavrenov <max.lavre...@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
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to