[pypy-dev] update (+patch) on embedding pypy

Max Lavrenov max.lavrenov at gmail.com
Wed Apr 11 16:42:51 CEST 2012


Thank you!  Finally I've built libpupy.so and uwsgi with it.

On Wed, Apr 11, 2012 at 11:22, Amaury Forgeot d'Arc <amauryfa at gmail.com>wrote:

> 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/2e28eaa4/attachment.html>


More information about the pypy-dev mailing list