Re: [PATCH] arm64: Disable big endian builds with clang
From: Nick Desaulniers <ndesaulniers@google.com>
Date: 2019-08-06 21:26:05
On Tue, Aug 6, 2019 at 11:39 AM Mark Brown [off-list ref] wrote:
Current boot tests with clang built big endian kernels in KernelCI are showing problems with the kernel being unable to interpret big endian userspace. This is a bug and should be fixed but for now let's prevent these kernels being built, we may end up needing to add a version dependency on the compiler anyway. Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://github.com/ClangBuiltLinux/linux/issues/628 Acked-by: Nick Desaulniers <ndesaulniers@google.com>
quoted hunk ↗ jump to hunk
--- The clang people (CCed) are aware and looking into this. arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+)diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 990fdcbf05c7..1c32d9889e0f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig@@ -813,6 +813,7 @@ config ARM64_PA_BITS config CPU_BIG_ENDIAN bool "Build big-endian kernel" + depends on !CC_IS_CLANG help Say Y if you plan on running a kernel in big-endian mode. --2.20.1
-- Thanks, ~Nick Desaulniers _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel