Skip to content
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

Add patches to fix performing PGO with current LLVM main #264

Merged

Conversation

nathanchance
Copy link
Member

See the individual patch commit messages to see what is being fixed.

This change has been merged into mainline (6.9) and it should be backported to
the stable releases automatically in time.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
See the patch commit message for further details. This is currently
pending acceptance on the mailing list.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
We add KCFLAGS=-Wno-error to turn off -Werror but unfortunately, there
are some files that turn on -Werror unconditionally, which breaks the
build. Add the patch that will disable -Wenum-enum-conversion for the
normal kernel, which is a part of the 6.9 Kbuild pull request.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Copy link
Member

@msfjarvis msfjarvis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patches look sensible. Have they all landed upstream?

@msfjarvis msfjarvis merged commit da4471b into ClangBuiltLinux:main Mar 22, 2024
7 checks passed
@msfjarvis msfjarvis deleted the add-patches-for-llvm-main-breakage branch March 22, 2024 05:20
@nathanchance
Copy link
Member Author

Patches look sensible. Have they all landed upstream?

The compiler flag patches have landed upstream, the Hexagon one should be on its way soon: https://lore.kernel.org/mm-commits/20240322005118.EBC46C433F1@smtp.kernel.org/

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.

None yet

2 participants