diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2021-05-18 13:58:57 -0700 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-05-23 20:51:35 +1000 |
commit | 6fcb574125e673f33ff058caa54b4e65629f3a08 (patch) | |
tree | ceac7594f9b6f0de999f7f669c026cf00f715326 /kernel/kprobes.c | |
parent | 73e6e4e01134c9ee97433ad1f470c71b0748b08f (diff) | |
download | linux-6fcb574125e673f33ff058caa54b4e65629f3a08.tar.bz2 |
powerpc: Kconfig: disable CONFIG_COMPAT for clang < 12
Until clang-12, clang would attempt to assemble 32b powerpc assembler in
64b emulation mode when using a 64b target triple with -m32, leading to
errors during the build of the compat VDSO. Simply disable all of
CONFIG_COMPAT; users should upgrade to the latest release of clang for
proper support.
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://github.com/ClangBuiltLinux/linux/issues/1160
Link: https://github.com/llvm/llvm-project/commits/2288319733cd5f525bf7e24dece08bfcf9d0ff9e
Link: https://groups.google.com/g/clang-built-linux/c/ayNmi3HoNdY/m/XJAGj_G2AgAJ
Link: https://lore.kernel.org/r/20210518205858.2440344-1-ndesaulniers@google.com
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions