-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
qemu-linuxboot: x86_64-linux-musl-gcc cannot find Linux headers when building #939
Comments
The checkout is clean except for a small change made manually in |
Meet the same issue. ASH 7a6a3fe dirty qemu-linuxboot make[4]: Leaving directory '/home/abc/linuxboot/heads/build/linuxboot-git/edk2/Build/MdeModule/DEBUG_GCC5/X64/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe'
make[3]: Leaving directory '/home/abc/linuxboot/heads/build/linuxboot-git/edk2' |
There are install directory under heads root directory: /install/include/linux/types.h 1.Edit build/linuxboot-git/dxe/Makefile and add one more line
|
Can somebody post a clean working PR adressing pinning of linuxboot to a commit ID and patches under patches directory as addressed in #845 and state for which tested platform it was tested on? Linuxboot needs to be under CI. Doesn't build under Debian-10? Thanks! |
I read your comment on #978 (comment) and wanted to clarify: Are you suggesting pinning the Linuxboot commit to linuxboot/linuxboot@f0ea0af as a temporary workaround until the Linuxboot repository gets straightened out? The Linuxboot repository proper has been very recently undergoing a major overhaul right now with integrating the mainboards repo (where most of the development has been occurring). This includes a completely different directory structure. So we may want to pin the commit until Linuxboot stabilizes and HEADS can adapt. |
@synackd as tagged under #845 and #978, linuxboot is the only module not pinned to a commit Id. So someone saying "it works" yesterday means something different then "it works" today if linuxboot changed in between. As said and reviewed under #845, patches need to be under patches directory. As I tagged NHellfire and you there, a working PR containing snippets here and there that permits to build linuxboot is missing for a while now. A working pull request is needed so that linuxboot can then be added back into CI. Which it is not for more then a year if not two. Heads, here, is just supposed to build linuxboot instead of itself and pack it up inside of initrd and put it inside of coreboot as a payload. I am no linuxboot maintainer but can gladly help into making it come back as maintained under heads. This starts by having someone fixing #845. This means taking the commits that are there to credit author, and adding in top of it taking action on the review. @synackd : can you resume work under #845 and prepare a working PR not containing hacks but having the patches under parches/ directory? |
@synackd I am not aware of the last working commit to build inside of Heads and saw boards integration inside of main repo recently. My concern is having linuxboot building and working with needed manual fixes being added upstream where needed and here if specific to Heads to properly build linuxboot. So I am unaware of what was the last working commit ID upstream and why, and what was actually needed from community members to build successfully linuxboot from Heads. There is a lot of issues opened in regard of linuxboot on Heads side |
I realized today that host |
When attempting to build the
qemu-linuxboot
target on an Ubuntu 18.04 docker container, the following error occurs:I assume that it is supposed to use the headers included with the downloaded/built kernel and not the ones on the system.
The text was updated successfully, but these errors were encountered: