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
Disable s390 builds for clang 12 and earlier on mainline #161
Disable s390 builds for clang 12 and earlier on mainline #161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😞 😿
For the same reason as commit 342e440 ("generator.yml: Disable s390 builds for clang 12 and earlier on -next"). Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
0402fea
to
99bf844
Compare
Sorry to hijack the PR -- so is s390 not working under LLVM 12 now? (again?) I was planning to add this one as the next arch for Rust for Linux :-( |
if it helps and not too complex, I could backport the fix into apt.llvm.org |
Yes, see https://git.kernel.org/linus/e2bc3e91d91ede6710801fa0737e4e4ed729b19e for the reasoning.
Unfortunately, due to the commit above, that will not do anything :( |
Thanks Nathan! Understood -- let's wait for LLVM 13 then :) |
Commit 82d3edb50a11 ("s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops") was applied to 5.10, where it started causing build breakage with LLVM 11 and 12: arch/s390/kernel/perf_cpum_sf.c:1234:3: error: inline asm error: This value type register class is not natively supported! " cdsg %[old],%[new],%[ptr]\n" ^ warning: Compiler has made implicit assumption that TypeSize is not scalable. This may or may not lead to broken code. The construct that is used in the inline assembly was only supported in LLVM starting with the 13.0.0 release, even though it has been supported in GCC for a while. This was the catalyst for commit e2bc3e91d91e ("scripts/min-tool-version.sh: Raise minimum clang version to 13.0.0 for s390"). The min-tool-version.sh infrastructure does not exist in 5.10 and it may be undesirable to backport it. Do what was done in ClangBuiltLinux#150 and ClangBuiltLinux#161 and disable LLVM 11 and 12 builds on stable-5.10. This does not lose us much coverage, as we were only testing one configuration on these branches. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
No description provided.