Skip to content

Build ppc64le kernel with llvm/clang

Anton Blanchard linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6powerpc: Fix duplicate const clang warning in user access codearch/powerpc/include/asm/uaccess.h+4 -40 replies
2/6powerpc: Only use -mabi=altivec if toolchain supports itarch/powerpc/lib/Makefile lib/raid6/Makefile+2 -20 replies
3/6powerpc: Only use -mtraceback=no, -mno-string and -msoft-float if toolchain supports itarch/powerpc/Makefile+4 -30 replies
4/6powerpc: Don't use -mno-strict-align on clangarch/powerpc/Makefile+4 -10 replies
5/6powerpc: Don't use gcc specific options on clangarch/powerpc/Makefile+2 -00 replies
6/6llvm: A few Makefile hacksMakefile+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Build ppc64le kernel with llvm/clang

Now that Michael has fixed the 32 bit VDSO issue in his next branch, there are only a few remaining things left to get the ppc64le kernel building with clang.

The last patch is a hack to workaround some generic Makefile issues. Hopefully the relevant bits of the LLVMLinux tree will get merged upstream to fix them.

Anton Blanchard (6):
powerpc: Fix duplicate const clang warning in user access code
powerpc: Only use -mabi=altivec if toolchain supports it
powerpc: Only use -mtraceback=no, -mno-string and -msoft-float if
toolchain supports it
powerpc: Don't use -mno-strict-align on clang
powerpc: Don't use gcc specific options on clang
llvm: A few Makefile hacks

 Makefile                           |  5 +++++
 arch/powerpc/Makefile              | 14 ++++++++++----
 arch/powerpc/include/asm/uaccess.h |  8 ++++----
 arch/powerpc/lib/Makefile          |  2 +-
 lib/raid6/Makefile                 |  2 +-
 5 files changed, 21 insertions(+), 10 deletions(-)
Signature · 1 line
2.1.4