New issue 2903: Translation error when oprofile is enabled
https://bitbucket.org/pypy/pypy/issues/2903/translation-error-when-oprofile-is-enabled

Tinho Lee:

Some errors raised when translating with *translation-jit_profiler=oprofile*

1. *log* is undefined in rpython/jit/backend/x86/runner.py:47

2. 

```
#!

[translation:ERROR] Exception: 'no_release_gil' function can release the GIL: 
<function finish_once at 0x000000004038cf20>
[GilAnalyzer] 
analyze_direct_call((rpython.rtyper.lltypesystem.rffi:3)ccall_op_close_agent__arrayPtr):
 True
[GilAnalyzer] 
analyze_direct_call((rpython.jit.backend.x86.oprofile:58)OProfileAgent.shutdown):
 True
```

Maybe *releasegil=False* should be set for *op_open_agent*, *op_close_agent* 
and *op_write_native_code*.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to