-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
-fcf-protection is not compatible with this target #37
Comments
It seems that this is both GCC-11 & Ubuntu 21.10 bug by packaging with the affected GCC toolchain. The fix is already in GCC. I am not sure how Ubuntu keeps up with GCC upstream these days or if you are comfortable with custom PPA. I personally hated Ubuntu custom PPA during my days with Ubuntu. The easiest fix is to get the updated GCC toolchain with CET fix for your current Ubuntu distro. Otherwise, you can try adding I can also offer you another upgrade for QEMU binary package, as the prize & honor for being the First Donor of the project. 😄 I have made several improvements with regard to full-screen game experience since you donated. If you decided to stay with Ubuntu 21.10, then I will setup the VM to build the package for you. |
It seems that the following additional configure options may also help you to get around GCC-11 CET issue.
The |
Hi KJ! I want gladly to test this new package but for Ubuntu 20.04. Can you send it to me? |
So. I'm trying to compile QEMU under Ubuntu 21.10. And I can't because I got this message:
cc1: error: ‘-fcf-protection’ is not compatible with this target
make[2]: *** [Makefile:50: linuxboot_dma.o] Fehler 1
make[1]: *** [Makefile:197: pc-bios/optionrom/all] Fehler 2
This problem appears only under Ubuntu 21.10. Under 20.04 compiling went flawlessly. Any suggestions (except change OS to 20.04)?
The text was updated successfully, but these errors were encountered: