All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: Disable big endian builds with clang
@ 2019-08-06 18:39 Mark Brown
  2019-08-06 21:25 ` Nick Desaulniers
  2019-08-07 13:01 ` Mark Rutland
  0 siblings, 2 replies; 13+ messages in thread
From: Mark Brown @ 2019-08-06 18:39 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Nick Desaulniers,
	Nathan Chancellor, Tri Vo
  Cc: clang-built-linux, Mark Brown, linux-arm-kernel

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

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-08-07 16:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06 18:39 [PATCH] arm64: Disable big endian builds with clang Mark Brown
2019-08-06 21:25 ` Nick Desaulniers
2019-08-06 23:47   ` Nick Desaulniers
2019-08-07 12:38     ` Mark Brown
2019-08-07 14:41       ` Robin Murphy
2019-08-07 16:01         ` Mark Brown
2019-08-07 13:01 ` Mark Rutland
2019-08-07 13:05   ` Mark Brown
2019-08-07 13:56     ` Mark Rutland
2019-08-07 14:14       ` Mark Rutland
2019-08-07 15:29       ` Mark Brown
2019-08-07 15:43         ` Mark Rutland
2019-08-07 16:19           ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.