11 Apr
2012
11 Apr
'12
3:22 a.m.
Hi, 2012/4/11 Max Lavrenov <max.lavrenov@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