Hi,
On Tue, 19 Oct 2021 at 20:47, M A wrote:
> [translation:ERROR] Exception: A function calling locals() is not RPython.
> Note that if you're translating code outside the PyPy repository, a likely
> cause is that py.test's --assert=rewrite mode is getting in the way. You
> should copy the
Hi, I'm trying to call a C function from the asmmemmgr.py:_copy_to_raw_memory()
function now. I tried following an example for malloc() and used llexternal()
to make the call work. Here is what I tried:
from rpython.translator.tool.cbuild import ExternalCompilationInfo
info = Ext
Hi,
On Wed, 13 Oct 2021 at 04:08, M A wrote:
> Hi guys. I am having a problem with a function called _copy_to_raw_memory()
> in the file rpython/jit/backend/llsupport/asmmemmgr.py. After building PyPy
> there is always a crash in this function. Here is a partial backtrace I
> captured:
>
> * t
Hi guys. I am having a problem with a function called _copy_to_raw_memory() in
the file rpython/jit/backend/llsupport/asmmemmgr.py. After building PyPy there
is always a crash in this function. Here is a partial backtrace I captured:
* thread #1, queue = 'com.apple.main-thread', stop reason = EX