Closed web3creator closed 5 months ago
could not find symtab
is harmless logging from the symbolizer. The real error message is something Cython related at the bottom where there's some place Cinder doesn't mask out the nargsf
well (there's a high bit set somewhere)
@tekknolagi Thank you very much for your answer. I just executed /cinder/bin/python3 -m compiler app.py
How should I solve this problem?
I don't think it's Cinder's responsibility to mask out the nargsf
flag, but it is going to be a source of binary incompatibility as we've added extra bits that need to be masked out. But consumers of vectorcall should mask using PyVectorcall_NARGS
to get the number of arguments.
One possibility is that they're doing n & ~PY_VECTORCALL_ARGUMENTS_OFFSET
but I'd be surprised if that's happening. We certainly use Cython internally and it works with this.
Could the Cython code have been built against stock CPython and is being re-used on Cinder? The runtime warnings of size mismatches are certainly an indication that it could have been built against a different version. If so then the Cython code just needs to be re-built against Cinder headers in order to work properly.
Closing for now, please re-open if it seems like this wasn't originally built against normal CPython.
JIT: /cinder/src/CinderX/Jit/symbolizer.cpp:55 -- could not find symtab