Skip to content
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

Automatically patch host-qemu #6

Closed
neithanmo opened this issue Dec 23, 2021 · 1 comment · Fixed by #7
Closed

Automatically patch host-qemu #6

neithanmo opened this issue Dec 23, 2021 · 1 comment · Fixed by #7
Assignees

Comments

@neithanmo
Copy link
Collaborator

There is an issue when trying to build and run qemu

@neithanmo neithanmo self-assigned this Dec 23, 2021
@jleni
Copy link
Member

jleni commented Dec 24, 2021

I found a way to fix the problem but we would need to integrate this as a buildroot automatic patch.

The current fix is to replace line 11 in

buildroot-zondax/buildroot/output/build/host-qemu-6.1.0/pc-bios/optionrom/Makefile

and add -fcf-protection=none

this results in

CFLAGS = -O2 -g -fcf-protection=none

after this... everything compiles correctly

@jleni jleni changed the title Fix qemu builds Automatically patch host-qemu Dec 24, 2021
@jleni jleni linked a pull request Dec 24, 2021 that will close this issue
@jleni jleni closed this as completed in #7 Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants