From: Justin M. Forbes <[email protected]>
Add -fzero-init-padding-bits to bindgen_skip_cflags
This seems to break the build when building with gcc15.
Unable to generate bindings: ClangDiagnostic("error: unknown argument:
'-fzero-init-padding-bits=all'\n")
Signed-off-by: Justin M. Forbes <[email protected]>
diff --git a/rust/Makefile b/rust/Makefile
index blahblah..blahblah 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -240,6 +240,7 @@ bindgen_skip_c_flags := -mno-fp-ret-in-387
-mpreferred-stack-boundary=% \
-fzero-call-used-regs=% -fno-stack-clash-protection \
-fno-inline-functions-called-once -fsanitize=bounds-strict \
-fstrict-flex-arrays=% -fmin-function-alignment=% \
+ -fzero-init-padding-bits=% \
--param=% --param asan-%
# Derived from `scripts/Makefile.clang`.
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3611
--
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue