From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cOl9D5bt6V5XZAAA0tVLHw (envelope-from ) for ; Wed, 17 Jun 2020 10:16:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0DmGC5bt6V4deAAA1q6Kng (envelope-from ) for ; Wed, 17 Jun 2020 10:16:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9EC7494001C for ; Wed, 17 Jun 2020 10:16:53 +0000 (UTC) Received: from localhost ([::1]:50298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlV7j-0000n6-CM for larch@yhetil.org; Wed, 17 Jun 2020 06:16:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlV7c-0000my-1B for help-guix@gnu.org; Wed, 17 Jun 2020 06:16:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42952) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlV7b-0005yW-HD; Wed, 17 Jun 2020 06:16:43 -0400 Received: from lfbn-ann-1-136-86.w86-200.abo.wanadoo.fr ([86.200.104.86]:33772 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jlV7U-0006Zr-EO; Wed, 17 Jun 2020 06:16:39 -0400 From: Mathieu Othacehe To: John Soo Subject: Re: BPF in linux-libre References: <44046537-51AD-4BD7-8442-41738C4D8C98@asu.edu> <87lfkqknla.fsf@gnu.org> <87h7vdd6ms.fsf@asu.edu> Date: Wed, 17 Jun 2020 12:16:32 +0200 In-Reply-To: <87h7vdd6ms.fsf@asu.edu> (John Soo's message of "Sun, 14 Jun 2020 08:11:39 -0700") Message-ID: <87wo46uhdr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Help Guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: i5mcktROLWpd Hello John, > /tmp/guix-build-bcc-0.14.0.drv-0/source/src/cc/libbpf.c:694:58: error: = =E2=80=98BPF_PROG_TYPE_EXT=E2=80=99 undeclared (first use in this function)= ; did you mean =E2=80=98BPF_PROG_TYPE_XDP=E2=80=99? > if (prog_type !=3D BPF_PROG_TYPE_TRACING && prog_type !=3D BPF_PROG_TY= PE_EXT) > ^~~~~~~~~~~~~~~= ~~ > BPF_PROG_TYPE_X= DP > > The bcc github releases seem to indicate that bcc supports kernels up to > 5.6. Yes the issue here is that linux-libre-headers is in fact linux-libre-headers-5.4.20 which is too old. I tried to add linux-libre-headers-5.7 to the inputs. Even though it comes first in CPLUS_INCLUDE_PATH, GCC is picking the old headers. I'll have another look later. Thanks, Mathieu