Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Ivan Khoronzhuk
On Fri, Sep 06, 2019 at 05:04:08PM -0700, Alexei Starovoitov wrote: On Fri, Sep 6, 2019 at 4:52 PM Ivan Khoronzhuk wrote: On Fri, Sep 06, 2019 at 04:31:39PM -0700, Alexei Starovoitov wrote: >On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: >> No need to set --target for native

Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Alexei Starovoitov
On Fri, Sep 6, 2019 at 4:52 PM Ivan Khoronzhuk wrote: > > On Fri, Sep 06, 2019 at 04:31:39PM -0700, Alexei Starovoitov wrote: > >On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: > >> No need to set --target for native build, at least for arm, the > >> default target will be used

Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Ivan Khoronzhuk
On Fri, Sep 06, 2019 at 04:31:39PM -0700, Alexei Starovoitov wrote: On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: No need to set --target for native build, at least for arm, the default target will be used anyway. In case of arm, for at least clang 5 - 10 it causes error

Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Alexei Starovoitov
On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: > No need to set --target for native build, at least for arm, the > default target will be used anyway. In case of arm, for at least > clang 5 - 10 it causes error like: > > clang: warning: unknown platform, assuming

[PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-04 Thread Ivan Khoronzhuk
No need to set --target for native build, at least for arm, the default target will be used anyway. In case of arm, for at least clang 5 - 10 it causes error like: clang: warning: unknown platform, assuming -mfloat-abi=soft LLVM ERROR: Unsupported calling convention make[2]: ***