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 support for RISC-V LTO on -next #690

Merged
merged 2 commits into from Jan 26, 2024

Conversation

nathanchance
Copy link
Member

RISC-V selects CONFIG_ARCH_SUPPORTS_LTO_CLANG{,_THIN} after https://git.kernel.org/riscv/c/021d23428bdbae032294e8f4a29cb53cb50ae71c, which is now in linux-next. Wire up builds to make sure this does not regress. A problem with linker relaxation in LLVM 15 and 16 prevents testing allmodconfig + ThinLTO with those versions.

RISC-V selects CONFIG_ARCH_SUPPORTS_LTO_CLANG{,_THIN} after
https://git.kernel.org/riscv/c/021d23428bdbae032294e8f4a29cb53cb50ae71c,
which is now in linux-next. Wire up builds to make sure this does not
regress. A problem with linker relaxation in LLVM 15 and 16 prevents
testing allmodconfig + ThinLTO with those versions.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@nathanchance nathanchance linked an issue Jan 25, 2024 that may be closed by this pull request
@nathanchance nathanchance merged commit 862e4e6 into ClangBuiltLinux:main Jan 26, 2024
7 checks passed
@nathanchance nathanchance deleted the riscv-lto branch January 26, 2024 00:31
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.

enable LTO for riscv
2 participants