From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 271ACC433B4 for ; Fri, 23 Apr 2021 11:30:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DD8FC613B0 for ; Fri, 23 Apr 2021 11:30:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229957AbhDWLam (ORCPT ); Fri, 23 Apr 2021 07:30:42 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:21264 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbhDWLal (ORCPT ); Fri, 23 Apr 2021 07:30:41 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4FRXBx1czYz9ttBT; Fri, 23 Apr 2021 13:30:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id VRzNkODV-j7U; Fri, 23 Apr 2021 13:30:01 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4FRXBx07wyz9ttBK; Fri, 23 Apr 2021 13:30:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B72208B849; Fri, 23 Apr 2021 13:30:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id b6jQpDb8KpiG; Fri, 23 Apr 2021 13:30:02 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 9748F8B765; Fri, 23 Apr 2021 13:29:59 +0200 (CEST) Subject: Re: [PATCH bpf-next 1/2] bpf: Remove bpf_jit_enable=2 debugging mode To: Quentin Monnet , Alexei Starovoitov Cc: Ian Rogers , Song Liu , "open list:DOCUMENTATION" , Zi Shen Lim , Paul Walmsley , Alexei Starovoitov , Andrii Nakryiko , Paul Mackerras , Sandipan Das , "H. Peter Anvin" , sparclinux@vger.kernel.org, Shubham Bansal , Mahesh Bandewar , Will Deacon , Nicolas Dichtel , linux-s390 , Ilya Leoshkevich , paulburton@kernel.org, Jonathan Corbet , Mauro Carvalho Chehab , Masahiro Yamada , X86 ML , John Fastabend , Russell King , linux-riscv , Christian Borntraeger , Ingo Molnar , linux-arm-kernel , Catalin Marinas , "Naveen N . Rao" , Jakub Kicinski , Tobias Klauser , linux-mips@vger.kernel.org, grantseltzer@gmail.com, Xi Wang , Albert Ou , Kees Cook , Vasily Gorbik , Luke Nelson , LKML , Heiko Carstens , ppc-dev , KP Singh , iecedge@gmail.com, Simon Horman , Borislav Petkov , Alexander Viro , Yonghong Song , Thomas Gleixner , Dmitry Vyukov , tsbogend@alpha.franken.de, Daniel Borkmann , Hideaki YOSHIFUJI , Network Development , David Ahern , Wang YanQing , Martin KaFai Lau , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Palmer Dabbelt , bpf , Jianlin Lv , "David S. Miller" References: <20210415093250.3391257-1-Jianlin.Lv@arm.com> <9c4a78d2-f73c-832a-e6e2-4b4daa729e07@iogearbox.net> <0dea05ba-9467-0d84-4515-b8766f60318e@csgroup.eu> <58296f87-ad00-a0f5-954b-2150aa84efc4@isovalent.com> <6a809d3f-c9e3-0eb7-9c1d-a202ad848424@csgroup.eu> From: Christophe Leroy Message-ID: <90e2da42-6924-4246-f2f6-cfb2778cd804@csgroup.eu> Date: Fri, 23 Apr 2021 13:29:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Le 23/04/2021 à 12:59, Quentin Monnet a écrit : > 2021-04-23 12:46 UTC+0200 ~ Christophe Leroy >> >> >> Le 23/04/2021 à 12:26, Quentin Monnet a écrit : >>> 2021-04-23 09:19 UTC+0200 ~ Christophe Leroy >>> >>> >>> [...] >>> >>>> 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