-
Notifications
You must be signed in to change notification settings - Fork 14
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
kselftests try to build with gcc #374
Comments
They should be using |
I plan to give this to my student as a good exercise to touch some build scripts and submit his first kernel patch. |
To reproduce the issue, we actually do not need the cross-compile setup. It suffices to run |
In particular, the author of the rseq system call mentioned that their kselftests fail to build because they reset So as part of this issue, it's not just that the |
cc @gctucker |
Thanks for the heads, up. We're trying to fix all existing build errors we have in our environment with |
Relevant patch/thread: https://lore.kernel.org/r/20201203221005.2813159-1-adelg@google.com/ |
@nickdesaulniers BTW we've enabled clang builds with kselftest on staging, does this look good? |
I do see quite a few errors in there but it does look like |
yeah cool those are clang warnings all right! |
Nice, we're working on splitting out the kselftest build log, in fact having a build log for each step of the build job, and then that will get turned on in production. It's working on the command line already, hopefully it'll be there by the end of the month. Then we could include a separate section in the build email reports and on the web dashboard for kselftest errors, or maybe have a "kselftest special" report with both build and test results. We'll be discussing that once we get there. |
shows that clang is being used so closing this issue. We can open individual issues for the errors that we see. |
FYI we now have separate build steps working on staging, here's a sample kselftest log: This should get enabled in production by the end of the month. We could then look into generating a kselftest special email report with both build and runtime issues. |
@gctucker nice! Looks like we have a good list of warnings+errors to start fixing in the kselftests! |
The text was updated successfully, but these errors were encountered: