New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixing linking issue on qemu build #990
Conversation
seems like check fails for binding. problem we are having is because qemu checks if keyutils exists or not in system. if it exists it will build extra files. and this source code uses keyutils therefore when you link qemu in libafl_qemu_build, you have to link keyutils or it will not compile. if you do not have keyutils everything will work fine. i guess i have to either edit qemu to just always disable source code that use keyutils since it doesnt have --disable-keyutils option or check it from rust side that is like this meson script below
|
I was unable to build qemu_systemmode at commit 159e6ea (current HEAD) on an Ubuntu 22.04 machine with The errors I was seeing mostly overlap with the screenshot above:
|
Trying to run qemu_systemmode example and qemu_arm example, i received linker error shown below. Odd thing is I tried it on 6 different machine and 3 of them worked while other 3 times it didnt.