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 XkseDgE68l9HNQAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 21:41:21 +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 EP+gCQE68l+5aAAA1q6Kng (envelope-from ) for ; Sun, 03 Jan 2021 21:41:21 +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 9B1D994036A for ; Sun, 3 Jan 2021 21:41:20 +0000 (UTC) Received: from localhost ([::1]:56654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwB7n-0005ew-HS for larch@yhetil.org; Sun, 03 Jan 2021 16:41:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwB7W-0005d9-JD for bug-guix@gnu.org; Sun, 03 Jan 2021 16:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwB7W-0005qB-Be for bug-guix@gnu.org; Sun, 03 Jan 2021 16:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwB7W-00079x-9r for bug-guix@gnu.org; Sun, 03 Jan 2021 16:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45633: bcc and bpftrace require kernel headers from system Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 03 Jan 2021 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45633 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: John Soo X-Debbugs-Original-Cc: 45633@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160971003027476 (code B ref -1); Sun, 03 Jan 2021 21:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jan 2021 21:40:30 +0000 Received: from localhost ([127.0.0.1]:38746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwB70-000796-GK for submit@debbugs.gnu.org; Sun, 03 Jan 2021 16:40:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:50428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwB6z-00078y-19 for submit@debbugs.gnu.org; Sun, 03 Jan 2021 16:40:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwB6y-0005Qk-MY for bug-guix@gnu.org; Sun, 03 Jan 2021 16:40:28 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:46856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwB6t-0005WT-0d for bug-guix@gnu.org; Sun, 03 Jan 2021 16:40:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=7Kex4J8zifUt2hGxesJhGLiZ1+mCy3dHPQSvMk5/+y4=; h=date:in-reply-to: references:subject:cc:to:from; b=JFPjYm0xg660O4dcnSC+upehgGIqPRin/QcxS 38tWyV035gSh386ysm6VCfk2FDYKzYqKqIt6R7za/j5BTGsUqU8nFfjMky1eavAzfggeMA 0gZVjEKGxiJ7zKkr7NtVzOEaiKe20sv5Dgitxyz7GE3M7kkYtdTS8Uqjoje6Sy7O3WQvOx Z9x57kY9Q+aRRGsdr188ZTxLxwX3YeaWRKPO4y/xb0zvF2WcpJpVujCM9suTHd/ZSPGRvL dvIEehGFqDtTuExVxzCdBXnUTiUSecCdvc/FnGxz0BgyTTzEVj7foYbxuIssFCd3RA73i6 85J/yGWuWeswMiI1D1EGpkg/A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 630ed570 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sun, 3 Jan 2021 21:40:48 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; References: <875z4d3m83.fsf@asu.edu> In-reply-to: <875z4d3m83.fsf@asu.edu> Date: Sun, 03 Jan 2021 22:40:17 +0100 Message-ID: <87turxhf7i.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45633@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.43 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=tobias.gr header.s=2018 header.b=JFPjYm0x; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 9B1D994036A X-Spam-Score: -4.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: W0sk+wqolyKF --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable John, This reminds me of . John Soo =E5=86=99=E9=81=93=EF=BC=9A > Hi Guix, > > When I added bcc and bpftrace to guix I didn't think much of=20 > which > version of the kernel headers would be used. After a few kernel > updates, it has become clear that the current-system kernel=20 > headers need This should probably be booted-system. > to match the kernel headers the packages are compiled with. Can=20 > they be > provided with a variant property? The ocaml packages that need > different ocaml versions seem like a nice model on how to do the=20 > kernel > headers. I know exact kernel headers are needed at toolchain run time, when=20 building eBPF programmes. Are they really needed at toolchain=20 build time, too? That sounds wrong (but there are more things=20 fundamentally wrong with eBPF on Linux; ask me to rant about=20 CONFIG_IKHEADERS). Still, could pointing bcc/bpftrace to=20 booted-system headers at run time not suffice? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX/I5wg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15EcwBAM+IS788ZxGg1zbMsih7NKP+JyNxBbFpb2FpS7ah 4FYuAQCBg/+d+g7x/7Zak3pRN5f2tvf8LLiB9lMK/Fs4CG4fBw== =vzkP -----END PGP SIGNATURE----- --=-=-=--