Re: [PATCH] Add -target to clang switch while cross compiling.

2017-10-14 Thread Daniel Borkmann
On 10/13/2017 09:24 PM, Abhijit Ayarekar wrote: Update to llvm excludes assembly instructions. llvm git revision is below commit 65fad7c26569 ("bpf: add inline-asm support") This change will be part of llvm release 6.0 __ASM_SYSREG_H define is not required for native compile. -target switch i

Re: [PATCH] Add -target to clang switch while cross compiling.

2017-10-13 Thread Abhijit Ayarekar
On Fri, Oct 13, 2017 at 03:10:38PM -0700, Alexei Starovoitov wrote: > On Fri, Oct 13, 2017 at 12:24:06PM -0700, Abhijit Ayarekar wrote: > > Update to llvm excludes assembly instructions. > > llvm git revision is below > > > > commit 65fad7c26569 ("bpf: add inline-asm support") > > > > This change

Re: [PATCH] Add -target to clang switch while cross compiling.

2017-10-13 Thread Alexei Starovoitov
On Fri, Oct 13, 2017 at 12:24:06PM -0700, Abhijit Ayarekar wrote: > Update to llvm excludes assembly instructions. > llvm git revision is below > > commit 65fad7c26569 ("bpf: add inline-asm support") > > This change will be part of llvm release 6.0 > > __ASM_SYSREG_H define is not required for

[PATCH] Add -target to clang switch while cross compiling.

2017-10-13 Thread Abhijit Ayarekar
Update to llvm excludes assembly instructions. llvm git revision is below commit 65fad7c26569 ("bpf: add inline-asm support") This change will be part of llvm release 6.0 __ASM_SYSREG_H define is not required for native compile. -target switch includes appropriate target specific files while cr

Re: [PATCH] Add -target to clang switch while cross compiling.

2017-10-12 Thread Alexei Starovoitov
On Thu, Oct 12, 2017 at 04:58:43PM -0700, Abhijit Ayarekar wrote: > Update to llvm excludes assembly instructions. > llvm git revision is below > > commit 2865ab6996164e7854d55c9e21c065fad7c26569 > Author: Yonghong Song > Date: Mon Sep 18 23:29:36 2017 + > > bpf: add inline-asm support

[PATCH] Add -target to clang switch while cross compiling.

2017-10-12 Thread Abhijit Ayarekar
Update to llvm excludes assembly instructions. llvm git revision is below commit 2865ab6996164e7854d55c9e21c065fad7c26569 Author: Yonghong Song Date: Mon Sep 18 23:29:36 2017 + bpf: add inline-asm support Signed-off-by: Yonghong Song Acked-by: Alexei Starovoitov git-svn

[PATCH] Add -target to clang switch while cross compiling.

2017-10-12 Thread Abhijit Ayarekar
Update to llvm excludes assembly instructions. llvm git revision is below commit 2865ab6996164e7854d55c9e21c065fad7c26569 Author: Yonghong Song Date: Mon Sep 18 23:29:36 2017 + bpf: add inline-asm support Signed-off-by: Yonghong Song Acked-by: Alexei Starovoitov git-svn