New issue 1932: Invalid assembler if libpypy-c.so was dlopen()ed
https://bitbucket.org/pypy/pypy/issue/1932/invalid-assembler-if-libpypy-cso-was

Armin Rigo:

If libpypy-c.so was loaded with ``dlopen()`` instead of by the dynamic linker 
when the program starts, then x86/assembler.py will produce wrong code (or 
crash in an assertion error) in ``threadlocalref_get()``.  This is because the 
handling of thread-local variables is rather messy on Linux.

One easy workaround is to load your main program with 
``LD_PRELOAD=...libpypy-c.so``.  Obviously, it would be a better idea to find a 
proper fix.


_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to