Has anyone faced issues with Linux Build for SystemC 2.3.2 configured with PThreads as the threading library backend?
I have configured the SystemC library using the following command:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$HOME/apps/systemc-2.3.2 -DCMAKE_CXX_STANDARD=11 -DCMAKE_CXX_EXTENSIONS=OFF -DENABLE_PTHREADS=ON -DENABLE_PHASE_CALLBACKS=ON ..
# Then followed by
I having issues with the SystemC kernel get
I get this problem on Fedora 33.
Helgrind detects plenty of errors (see below), and the hang seems to be occurring when a call to pthread_cond_destoy is made whilst the object is still being held. I haven't debugged further.
==87323== Thread #3: lock order "0x5378948 before 0x4ACC978" violated
==87323== Observed (incorrect) order is: acquisition of lock at 0x4ACC978
==87323== at 0x483DB42: mutex_lock_WRK (hg_intercepts.c:907)
==87323== by 0x4841A3A: pt