[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <90e2da42-6924-4246-f2f6-cfb2778cd804@csgroup.eu>
Date: Fri, 23 Apr 2021 13:29:59 +0200
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Quentin Monnet <quentin@...valent.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: Ian Rogers <irogers@...gle.com>, Song Liu <songliubraving@...com>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
Zi Shen Lim <zlim.lnx@...il.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Alexei Starovoitov <ast@...nel.org>,
Andrii Nakryiko <andrii@...nel.org>,
Paul Mackerras <paulus@...ba.org>,
Sandipan Das <sandipan@...ux.ibm.com>,
"H. Peter Anvin" <hpa@...or.com>, sparclinux@...r.kernel.org,
Shubham Bansal <illusionist.neo@...il.com>,
Mahesh Bandewar <maheshb@...gle.com>,
Will Deacon <will@...nel.org>,
Nicolas Dichtel <nicolas.dichtel@...nd.com>,
linux-s390 <linux-s390@...r.kernel.org>,
Ilya Leoshkevich <iii@...ux.ibm.com>, paulburton@...nel.org,
Jonathan Corbet <corbet@....net>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Masahiro Yamada <masahiroy@...nel.org>,
X86 ML <x86@...nel.org>,
John Fastabend <john.fastabend@...il.com>,
Russell King <linux@...linux.org.uk>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Christian Borntraeger <borntraeger@...ibm.com>,
Ingo Molnar <mingo@...hat.com>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Catalin Marinas <catalin.marinas@....com>,
"Naveen N . Rao" <naveen.n.rao@...ux.ibm.com>,
Jakub Kicinski <kuba@...nel.org>,
Tobias Klauser <tklauser@...tanz.ch>,
linux-mips@...r.kernel.org, grantseltzer@...il.com,
Xi Wang <xi.wang@...il.com>, Albert Ou <aou@...s.berkeley.edu>,
Kees Cook <keescook@...omium.org>,
Vasily Gorbik <gor@...ux.ibm.com>,
Luke Nelson <luke.r.nels@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Heiko Carstens <hca@...ux.ibm.com>,
ppc-dev <linuxppc-dev@...ts.ozlabs.org>,
KP Singh <kpsingh@...nel.org>, iecedge@...il.com,
Simon Horman <horms@...ge.net.au>,
Borislav Petkov <bp@...en8.de>,
Alexander Viro <viro@...iv.linux.org.uk>,
Yonghong Song <yhs@...com>,
Thomas Gleixner <tglx@...utronix.de>,
Dmitry Vyukov <dvyukov@...gle.com>, tsbogend@...ha.franken.de,
Daniel Borkmann <daniel@...earbox.net>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Network Development <netdev@...r.kernel.org>,
David Ahern <dsahern@...nel.org>,
Wang YanQing <udknight@...il.com>,
Martin KaFai Lau <kafai@...com>,
Björn Töpel <bjorn@...nel.org>,
Palmer Dabbelt <palmer@...belt.com>, bpf <bpf@...r.kernel.org>,
Jianlin Lv <Jianlin.Lv@....com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode
Le 23/04/2021 à 12:59, Quentin Monnet a écrit :
> 2021-04-23 12:46 UTC+0200 ~ Christophe Leroy <christophe.leroy@...roup.eu>
>>
>>
>> Le 23/04/2021 à 12:26, Quentin Monnet a écrit :
>>> 2021-04-23 09:19 UTC+0200 ~ Christophe Leroy
>>> <christophe.leroy@...roup.eu>
>>>
>>> [...]
>>>
>>>> I finally managed to cross compile bpftool with libbpf, libopcodes,
>>>> readline, ncurses, libcap, libz and all needed stuff. Was not easy but I
>>>> made it.
>>>
>>> Libcap is optional and bpftool does not use readline or ncurses. May I
>>> ask how you tried to build it?
>>
>> cd tools/bpf/
>>
>> make ARCH=powerpc CROSS_COMPILE=ppc-linux-
>
> Ok, you could try running directly from tools/bpf/bpftool/ next time
> instead.
>
> Readline at least is for a different tool under tools/bpf/, bpf_dbg (But
> I'm still not sure where that ncurses requirement was pulled from). The
> requirements for specific kernel options probably came from yet another
> tool (runqslower, I think).
>
ncurses (or termcap) is required by readline
Christophe
Powered by blists - more mailing lists