Re: Using __always_inline attribute

2017-06-15 Thread Mark Rutland
Hi, On Wed, Jun 14, 2017 at 03:33:59PM -0700, Sodagudi Prasad wrote: > On 2017-06-14 03:06, Will Deacon wrote: > >On Tue, Jun 13, 2017 at 03:39:37PM -0700, Sodagudi Prasad wrote: > >>With a variant of a CLANG(based on 4.0) following errors > >>observed on Linux > >>4.12-rc5 tag. > >>net/built-in.

Re: Using __always_inline attribute

2017-06-14 Thread Sodagudi Prasad
On 2017-06-14 15:33, Sodagudi Prasad wrote: On 2017-06-14 03:06, Will Deacon wrote: Hi Prasad, On Tue, Jun 13, 2017 at 03:39:37PM -0700, Sodagudi Prasad wrote: With a variant of a CLANG(based on 4.0) following errors observed on Linux 4.12-rc5 tag. How are you building the kernel with clang

Re: Using __always_inline attribute

2017-06-14 Thread Sodagudi Prasad
On 2017-06-14 03:06, Will Deacon wrote: Hi Prasad, On Tue, Jun 13, 2017 at 03:39:37PM -0700, Sodagudi Prasad wrote: With a variant of a CLANG(based on 4.0) following errors observed on Linux 4.12-rc5 tag. How are you building the kernel with clang, btw? I'd be keen to try the same thing, bu

Re: Using __always_inline attribute

2017-06-14 Thread Will Deacon
Hi Prasad, On Tue, Jun 13, 2017 at 03:39:37PM -0700, Sodagudi Prasad wrote: > With a variant of a CLANG(based on 4.0) following errors observed on Linux > 4.12-rc5 tag. How are you building the kernel with clang, btw? I'd be keen to try the same thing, but I thought the LLVMLinux project was larg

Using __always_inline attribute

2017-06-13 Thread Sodagudi Prasad
Hi All, With a variant of a CLANG(based on 4.0) following errors observed on Linux 4.12-rc5 tag. net/built-in.o: In function `__xchg_mb': arch/arm64/include/asm/cmpxchg.h:99: \ undefined reference to `__compiletime_assert_99' arch/arm64/include/asm/cmpxchg.h:99: \