Re: [PATCH] ARM: disable ARMv6 for Clang older than 8.0

2018-10-01 Thread Stefan Agner
On 01.10.2018 18:53, Russell King - ARM Linux wrote: > On Sun, Sep 30, 2018 at 04:48:20PM -0700, Joe Perches wrote: >> On Mon, 2018-10-01 at 00:22 +0200, Stefan Agner wrote: >> > The kernel passes the ArmV6K architecture to the compiler when >> > using the multi platform selection and enabling ARMv

Re: [PATCH] ARM: disable ARMv6 for Clang older than 8.0

2018-10-01 Thread Russell King - ARM Linux
On Sun, Sep 30, 2018 at 04:48:20PM -0700, Joe Perches wrote: > On Mon, 2018-10-01 at 00:22 +0200, Stefan Agner wrote: > > The kernel passes the ArmV6K architecture to the compiler when > > using the multi platform selection and enabling ARMv6. Clang > > older than version 8.0 emit assembly with an

Re: [PATCH] ARM: disable ARMv6 for Clang older than 8.0

2018-09-30 Thread Joe Perches
On Mon, 2018-10-01 at 00:22 +0200, Stefan Agner wrote: > The kernel passes the ArmV6K architecture to the compiler when > using the multi platform selection and enabling ARMv6. Clang > older than version 8.0 emit assembly with an non-existing CPU, > which then makes the assembler fail. Prevent the

[PATCH] ARM: disable ARMv6 for Clang older than 8.0

2018-09-30 Thread Stefan Agner
The kernel passes the ArmV6K architecture to the compiler when using the multi platform selection and enabling ARMv6. Clang older than version 8.0 emit assembly with an non-existing CPU, which then makes the assembler fail. Prevent the user from selecting ARMv6 when using Clang before 8.0. Signed-