Messages in this thread | | | From | Stefan Agner <> | Subject | [PATCH v2 0/6] ARM: clang support | Date | Sun, 25 Mar 2018 20:09:53 +0200 |
| |
This patchset fixes some remaining issues when building the ARM architecture using LLVM/clang. The patchset requires the following kbuild change: https://lkml.org/lkml/2018/3/19/1756
With that patch and this patchset applied and I can successfully build (and boot) the multi_v7_defconfig with 4.16-rc5 using clang 5.0.1 and 6.0.0.
This version also adds a patch to mitigate a often printed warning about duplicate 'const' declaration specifier when using get_user().
Stefan Agner (6): bus: arm-cci: use asm unreachable efi/libstub/arm: add support for building with clang ARM: trusted_foundations: do not use naked function ARM: drop no-thumb-interwork in EABI mode ARM: add support for building ARM kernel with clang ARM: uaccess: remove const to avoid duplicate specifier
arch/arm/Makefile | 2 +- arch/arm/boot/compressed/Makefile | 2 +- arch/arm/firmware/trusted_foundations.c | 14 +++++++++----- arch/arm/include/asm/uaccess.h | 2 +- drivers/bus/arm-cci.c | 2 -- drivers/firmware/efi/libstub/Makefile | 3 ++- 6 files changed, 14 insertions(+), 11 deletions(-)
-- 2.16.2
| |