-
Notifications
You must be signed in to change notification settings - Fork 9
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
Issues with using with master of kernel #3
Comments
They've apparently added some dummy rules for lib.a and built-in.a files with no dependencies (e.g. only I was able to work around this problem by skipping such rules in the conversion, as no file is actually created by make in these case:
unfortunately while that passes the initial ninja explain check, it fails real world rebuilds (at least for my cross build with BTF enabled) -- it didn't build the .o file as expected and pahole couldn't handle it (+ other scary warnings before that):
from that point just running make again fails the build too, modifying the c file again and running make fixes it -- a cursory look with
Anyway, that quick fix wasn't enough so I won't open a PR and will just stop here, but it's worth a shot depending on your exact config. @vitkyrka great idea to just parse make -p output, if someone has a bit of time I think it'd definitely be useful to brush this up again! Thank you! |
An error is occurring when using kninja against master (I've tested up to v5.12) at the ninja -d explain -n
command "ninja -d explain -n" ran manually :
full stacktrace :
The text was updated successfully, but these errors were encountered: