Open TheExGenesis opened 1 year ago
It looks like for some reason the syscall arch_prctl
is needed
can you try adding said syscall to this line and re-executing these? It should solve this error
builder.AllowSyscall(__NR_arch_prctl);
I also encountered this compilation failure with Python3.9.
Adding the builder.AllowSyscall(__NR_arch_prctl);
didn't work - I still got compilation issues in the example.
The only thing that solved it was to use Python 3.10 (in my case 3.10.13)
Default python:
anaconda python 3.9
python 3.8
python 2.7