jhxu001 / MHSim

A Simulation Framework for Memristor-based Heterogeneous Computing Architectures
1 stars 2 forks source link

PIN runtime error #4

Open saba-er opened 2 years ago

saba-er commented 2 years ago

I receive this error when trying to run tests/simple.cfg: A: Source/pin/vm_ia32_l/emu_ia32_linux.cpp: ExecuteSysArchPrct1: 664: Unknown sub-function for SYS_arch_prctl . . . Pin app terminated abnormally due to signal 6.

jhxu001 commented 2 years ago

Since the PIN 2.x is not fully compatible with Linux kernel 4, we usually use the flag '-ifeellucky' for the PIN tool to run normally. However, some syscalls have been changed in the newer Linux kernel, which may lead to the error as you report. You can check whether the syscall is defined in bits/syscall.h (it seems that your kernel does not provide the syscall 'SYS_arch_prctl').

saba-er commented 2 years ago

Thanks for the advice. Could you please share some information about which linux kernel you tested the simulator?

jhxu001 commented 2 years ago

Linux 4.10.2 still works.