Messages in this thread | | | Date | Fri, 13 Oct 2017 15:12:44 -0700 | From | Abhijit Ayarekar <> | Subject | Re: [PATCH] Add -target to clang switch while cross compiling. |
| |
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 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 cross compiling > > > > Tested on x86 and arm64. > > > > Signed-off-by: Abhijit Ayarekar <abhijit.ayarekar@caviumnetworks.com> > > Thanks > Acked-by: Alexei Starovoitov <ast@kernel.org> > Glad i could help :)
| |