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

Anton Blanchard anton at samba.org
Tue May 26 08:53:24 AEST 2015


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(-)

-- 
2.1.4



More information about the Linuxppc-dev mailing list