Hi, while trying to simplify the usage of pypy in uWSGI, i started working with pie mode (gcc -pie option). Position independent executables can be dl-opened (at least) on Linux and OSX as normal shared libraries. As dealing with libpypy-c is basically messy, this could be a solution. I think distributing a -pie enabled binary package would push adoption of uWSGI+pypy solutions (currently the biggest deployment i have found rely on libpypy-c distributed by my company that is months old), and generally will simplify the embedding of pypy in other apps. I still have not tried to translate a pypy source tree with -pie flag, so maybe nothing will work (even if i do not see why). I will make an attempt in the next few hours Regards -- Roberto De Ioris http://unbit.it
Hi Roberto. I'll look into it (I know I wanted to do it for a few months now though ;-) Cheers, fijal On Mon, Jan 27, 2014 at 7:06 AM, Roberto De Ioris <roberto@unbit.it> wrote:
Hi, while trying to simplify the usage of pypy in uWSGI, i started working with pie mode (gcc -pie option).
Position independent executables can be dl-opened (at least) on Linux and OSX as normal shared libraries.
As dealing with libpypy-c is basically messy, this could be a solution.
I think distributing a -pie enabled binary package would push adoption of uWSGI+pypy solutions (currently the biggest deployment i have found rely on libpypy-c distributed by my company that is months old), and generally will simplify the embedding of pypy in other apps.
I still have not tried to translate a pypy source tree with -pie flag, so maybe nothing will work (even if i do not see why). I will make an attempt in the next few hours
Regards
-- Roberto De Ioris http://unbit.it _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev
participants (2)
-
Maciej Fijalkowski
-
Roberto De Ioris