Re: bpftool cross-compilation for arm64

2018-12-19 Thread Stanislav Fomichev
On 12/18, Ivan Babrou wrote: > On Tue, Dec 18, 2018 at 7:02 PM Stanislav Fomichev wrote: > > > > On 12/18, Ivan Babrou wrote: > > > On Tue, Dec 18, 2018 at 6:06 PM Stanislav Fomichev > > > wrote: > > > > > > > > On 12/18, Ivan Babrou wrote: > > > > > On Tue, Dec 18, 2018 at 4:30 PM Stanislav Fom

Re: bpftool cross-compilation for arm64

2018-12-18 Thread Ivan Babrou
On Tue, Dec 18, 2018 at 7:02 PM Stanislav Fomichev wrote: > > On 12/18, Ivan Babrou wrote: > > On Tue, Dec 18, 2018 at 6:06 PM Stanislav Fomichev wrote: > > > > > > On 12/18, Ivan Babrou wrote: > > > > On Tue, Dec 18, 2018 at 4:30 PM Stanislav Fomichev > > > > wrote: > > > > > > > > > > On 12/1

Re: bpftool cross-compilation for arm64

2018-12-18 Thread Stanislav Fomichev
On 12/18, Ivan Babrou wrote: > On Tue, Dec 18, 2018 at 6:06 PM Stanislav Fomichev wrote: > > > > On 12/18, Ivan Babrou wrote: > > > On Tue, Dec 18, 2018 at 4:30 PM Stanislav Fomichev > > > wrote: > > > > > > > > On 12/18, Ivan Babrou wrote: > > > > > Hey, > > > > > > > > > > Is it possible to cr

Re: bpftool cross-compilation for arm64

2018-12-18 Thread Ivan Babrou
On Tue, Dec 18, 2018 at 6:06 PM Stanislav Fomichev wrote: > > On 12/18, Ivan Babrou wrote: > > On Tue, Dec 18, 2018 at 4:30 PM Stanislav Fomichev wrote: > > > > > > On 12/18, Ivan Babrou wrote: > > > > Hey, > > > > > > > > Is it possible to cross-compile bpftool for arm64? I'm trying to do > > >

Re: bpftool cross-compilation for arm64

2018-12-18 Thread Stanislav Fomichev
On 12/18, Ivan Babrou wrote: > On Tue, Dec 18, 2018 at 4:30 PM Stanislav Fomichev wrote: > > > > On 12/18, Ivan Babrou wrote: > > > Hey, > > > > > > Is it possible to cross-compile bpftool for arm64? I'm trying to do > > > the same thing we do for perf, but bpftool Makefile doesn't seem to > > > s

Re: bpftool cross-compilation for arm64

2018-12-18 Thread Ivan Babrou
On Tue, Dec 18, 2018 at 4:30 PM Stanislav Fomichev wrote: > > On 12/18, Ivan Babrou wrote: > > Hey, > > > > Is it possible to cross-compile bpftool for arm64? I'm trying to do > > the same thing we do for perf, but bpftool Makefile doesn't seem to > > support CROSS_COMPILE variable, so one needs t

Re: bpftool cross-compilation for arm64

2018-12-18 Thread Stanislav Fomichev
On 12/18, Ivan Babrou wrote: > Hey, > > Is it possible to cross-compile bpftool for arm64? I'm trying to do > the same thing we do for perf, but bpftool Makefile doesn't seem to > support CROSS_COMPILE variable, so one needs to pass > CC=aarch64-linux-gnu-gcc as well. Problems do not end there as

Re: bpftool cross-compilation for arm64

2018-12-18 Thread Stanislav Fomichev
On 12/18, Ivan Babrou wrote: > Hey, > > Is it possible to cross-compile bpftool for arm64? I'm trying to do > the same thing we do for perf, but bpftool Makefile doesn't seem to > support CROSS_COMPILE variable, so one needs to pass > CC=aarch64-linux-gnu-gcc as well. Problems do not end there as

bpftool cross-compilation for arm64

2018-12-18 Thread Ivan Babrou
Hey, Is it possible to cross-compile bpftool for arm64? I'm trying to do the same thing we do for perf, but bpftool Makefile doesn't seem to support CROSS_COMPILE variable, so one needs to pass CC=aarch64-linux-gnu-gcc as well. Problems do not end there as it requires EXTRA_LDFLAGS="-lz" too. With