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 in

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

2017-10-13 Thread Abhijit Ayarekar
iles while cross compiling Tested on x86 and arm64. Signed-off-by: Abhijit Ayarekar --- samples/bpf/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index ebc2ad6..81f9fcd 100644 --- a/samples/bpf/Makefile +++ b/s

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

2017-10-12 Thread Abhijit Ayarekar
-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313593 91177308-0d34-0410-b5e6-96231b3b80d8 __ASM_SYSREG_H define is not required for native compile. -target switch includes appropriate target specific files while cross compiling Tested on x86 and arm64. Signed-off-by: Abhijit Ayarekar

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

2017-10-12 Thread Abhijit Ayarekar
-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313593 91177308-0d34-0410-b5e6-96231b3b80d8 __ASM_SYSREG_H define is not required for native compile. -target switch includes appropriate target specific files while cross compiling Tested on x86 and arm64. Signed-off-by: Abhijit Ayarekar

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

2017-10-12 Thread Abhijit Ayarekar
On Thu, Oct 12, 2017 at 03:23:04PM -0700, Alexei Starovoitov wrote: > On Thu, Oct 12, 2017 at 01:45:57PM -0700, Abhijit Ayarekar wrote: > > Latest llvm update excludes assembly instructions. > > As a result __ASM_SYSREGS_H define is not required. > > -target switch includ

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

2017-10-12 Thread Abhijit Ayarekar
Sep 28 02:46:11 2017 + bpf: add new insns for bswap_to_le and negation Signed-off-by: Abhijit Ayarekar --- samples/bpf/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index ebc2ad6..81f9fcd 100644 --- a/samples