QEMU image librt: undefined symbol: __clock_nanosleep
Closed this issue · 3 comments
andreia-oca commented
I am trying to use the precompiled QEMU image to fuzz with P2IM and I am receiving the following error:
p2im/qemu/precompiled_bin/qemu-system-gnuarmeclipse: symbol lookup error: /home/circleci/p2im/qemu/precompiled_bin/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE
I tried to recompile using the instructions from the repo, but the error persisted.
Unfortunately, fuzz.py and me.py are also failing due to this error.
Does anyone have a clue how to solve it?
AustinParkes commented
Are you using 64-bit Ubuntu 16.04.? I had unexplained issues with the wrong version.
alejoseb commented
Are you using Ubuntu 20.04? we are aware of some issues with it. Please use 16.04 or 18.04 LTS. That is part of our documentation here https://github.com/RiS3-Lab/DICE-DMA-Emulation
andreia-oca commented
You were right. Using Ubuntu 20.04 was the cause. I switched to Ubuntu 16.04 and now the QEMU image works fine.
Thank you!