]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: 8875/1: Kconfig: default to AEABI w/ Clang
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 8 Jul 2019 19:38:15 +0000 (20:38 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:26:22 +0000 (04:26 -0400)
commit304402c83f9fadf7e69afe0c74a29e98ed00949c
tree90f12f2d43d76bde90462815b8efc84f7020dff7
parent6cd10d77d7fe5e3fbe5880d59cbc9c7232e4bc8d
ARM: 8875/1: Kconfig: default to AEABI w/ Clang

BugLink: https://bugs.launchpad.net/bugs/1848047
[ Upstream commit a05b9608456e0d4464c6f7ca8572324ace57a3f4 ]

Clang produces references to __aeabi_uidivmod and __aeabi_idivmod for
arm-linux-gnueabi and arm-linux-gnueabihf targets incorrectly when AEABI
is not selected (such as when OABI_COMPAT is selected).

While this means that OABI userspaces wont be able to upgraded to
kernels built with Clang, it means that boards that don't enable AEABI
like s3c2410_defconfig will stop failing to link in KernelCI when built
with Clang.

Link: https://github.com/ClangBuiltLinux/linux/issues/482
Link: https://groups.google.com/forum/#!msg/clang-built-linux/yydsAAux5hk/GxjqJSW-AQAJ
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm/Kconfig