Skip to content

Stop enabling CONFIG_PPC_DISABLE_WERROR=y for clang-14+ #620

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

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

nathanchance
Copy link
Member

Split up the ppc64 configuration into a "no -Werror" variant so that -Werror can be enabled for clang-14+. -Warray-bounds is only enabled for 5.18+, so we only need this configuration enabled for clang-13 and older on 6.1 and newer.

Closes: #617

@nickdesaulniers
Copy link
Member

Does this need to wait on ClangBuiltLinux/linux#252 (the revert of the revert being accepted)?

@nathanchance
Copy link
Member Author

Does this need to wait on ClangBuiltLinux/linux#252 (the revert of the revert being accepted)?

Maybe? The build is already broken for powernv_defconfig though: https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/5999812721/job/16275680076

@nickdesaulniers
Copy link
Member

Does this need to wait on ClangBuiltLinux/linux#252 (the revert of the revert being accepted)?

Maybe? The build is already broken for powernv_defconfig though: https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/5999812721/job/16275680076

ah, then I guess not. Merge away!

Split up the ppc64 configuration into a "no -Werror" variant so that
-Werror can be enabled for clang-14+. -Warray-bounds is only enabled for
5.18+, so we only need this configuration enabled for clang-13 and older
on 6.1 and newer.

Closes: ClangBuiltLinux#617
Signed-off-by: Nathan Chancellor <[email protected]>
@nathanchance nathanchance merged commit 470ab4a into ClangBuiltLinux:main Aug 28, 2023
@nathanchance nathanchance deleted the ppc64-werror-update branch August 28, 2023 20:26
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 this pull request may close these issues.

remove CONFIG_PPC_DISABLE_WERROR=y for ppc64 (BE) target
2 participants