From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iCUSO+BqR2a2fgAAqHPOHw:P1 (envelope-from ) for ; Fri, 17 May 2024 16:34:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iCUSO+BqR2a2fgAAqHPOHw (envelope-from ) for ; Fri, 17 May 2024 16:34:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=geVK11e1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715956448; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Jvf56oPNcqibKWQ9g9bSBNIGdREBo6vGtZA+y3UCqIA=; b=emTYLXxfEzlGPxvYHbT1ClNv2157AY4pV7RDtsJsRG3bkPQ1TnkdMP2+kzl6cMUoI5ZcqN D6/7idzE0O9UQMluLQyXqULP53CqnvXUCTXPUBMyhs7JTmTV8N1zjmPnbTs0tSU5tTH/vg bx2m1EAQ6HuHSnLo5bknkimXI/6d8NhS88DnOmFn39WUDe72EPZkx/+7hAT/cvlypgBcPH NHFZCce0Xdcs8zRPBYkNhUoh+1uAh3gLdEaZYHAZrnolApxDFPGiWh3Eyqv3yLDSFhph9r cxvBtVv+pcESTgNjuF7H0qqaTk/3JOXB9/DFba7/P+lleTGbqEV0zE9FdozvMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715956448; a=rsa-sha256; cv=none; b=M8c4Btb21IxJXGlCQGasRT8XYaTzKyuLuhE5RwsV4srfdzqK9BxHP9mIDOKvl9QEdo0vQv pq0MrI+apUP2AapWMFWZ3jRfDIn4gZnokyhqqEKMUQvfCfOayiJW9Hz9sxwWht54N4yIKr cEjkbzA9kuSoiJKlni6Y75WweQu3txnXM2cpEVohngJnHgzFH31GoFwv7jF5dSv9dktGea XKwk12jb9z4dByNZiYDX984d06bfdFAM/gHS38A0YU+A3VC698J9n93+n8xNVDokxiC22i BTP3WBD7PxWLsJJx3hb8AZjcWVwSznWotlHGi97VpJWvnjx+17dTn2ZcAZZFYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=geVK11e1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" 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 C621F7332 for ; Fri, 17 May 2024 16:34:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7yeU-0003Sy-W7; Fri, 17 May 2024 10:33:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7yeT-0003Sn-Dn for help-guix@gnu.org; Fri, 17 May 2024 10:33:41 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7yeQ-0008Ar-3a for help-guix@gnu.org; Fri, 17 May 2024 10:33:41 -0400 Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-43df2c8eeb1so3042641cf.3 for ; Fri, 17 May 2024 07:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715956416; x=1716561216; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Jvf56oPNcqibKWQ9g9bSBNIGdREBo6vGtZA+y3UCqIA=; b=geVK11e1QJ0py5184xp5R069dC1MN/7xZq/1HdGCs6EzxTq0AZpL+0u8CbZ8jbqfyt JNy5PQ1HvLvo+P2a5pfTkTQFVP66wfcSKM8XV4GlSxdY3apua2ptzsmAMrxqxHJDFviP qOjZgoJl4foTgXgCeJ1hdFZyUFdY+tp+u0Cs/9o6ngqlBUUseL37R3LrGn070FtfvaE8 utp9RlP1UHexLDXtGFHMuN4Z8iCWpC+Z6LGqWxaSI1EUJssZOSYKR/SGsKMgjd0HFj9A 9WGQeH/UOAmm0JR1hvM7TbIXDGY3H7IlTbWk7f3irWUD3lnK/srVFLxx/F8Iix0tH9XC Mikg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715956416; x=1716561216; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Jvf56oPNcqibKWQ9g9bSBNIGdREBo6vGtZA+y3UCqIA=; b=Cnhu6QqojdyOtKail5DaOrCYMiQDQLB+DXVKCzYendFTcogLFdcGJlfiC/1Fauvf97 9CwMxjktOPzqo0Pn6G+nM9mnqCY3jmh19iYZhiJ+54wXVRvXZPn5BTo69qcWVLUrodQ5 fFN4DzesS+RbN1rFJA8UNJ60EM5Lep2f6WPgO/NXaTFzyt+q12SkbyTGrjj4s6JvKYNF WRNZmig0soEusyULz65DGk8+xkMc/iUGvkgqlCQL3YmjR3U0WNP+yeuwpDIjCII8n+m3 /FmsSq+QRfKeQtXSEsnGSdQ9xk9peOVWgiAN/yKKdoJk/Qi8KrN3Nh7JEIQub+L3SmLH Gphg== X-Gm-Message-State: AOJu0YzE3w7ERt89NwrVnpBh0m1Y2c7wKeAcCn+kVRxkgozUwsQ06f4s Zg2+IM6D5l/kgyXACdBikNCFS7CwoQ0tjq9cQ9pTw3qVB+CN1IU6FmFtdA== X-Google-Smtp-Source: AGHT+IFBYHz+iMwRKhueEBY9R5shZYqd+KqUhxIo0tx/qrHBraUP2ybscKlwC6M1JmVv252z6dbibw== X-Received: by 2002:ac8:7f89:0:b0:43e:3a16:a85 with SMTP id d75a77b69052e-43e3a160dddmr62121771cf.18.1715956416102; Fri, 17 May 2024 07:33:36 -0700 (PDT) Received: from hurd (dsl-155-127.b2b2c.ca. [66.158.155.127]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43e4a89b61csm4047221cf.45.2024.05.17.07.33.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 07:33:35 -0700 (PDT) From: Maxim Cournoyer To: shaqtsui Cc: help-guix@gnu.org Subject: Re: Error when Kernel configed with "CONFIG_DEBUG_INFO_BTF=y" In-Reply-To: <875xvf407v.fsf@outlook.com> (shaqtsui@163.com's message of "Wed, 15 May 2024 22:29:56 +0800") References: <875xvf407v.fsf@outlook.com> Date: Fri, 17 May 2024 10:33:34 -0400 Message-ID: <87a5kowls1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x834.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.69 X-Spam-Score: -6.69 X-Migadu-Queue-Id: C621F7332 X-Migadu-Scanner: mx11.migadu.com X-TUID: Lt3FiChjun6P Hi, shaqtsui writes: > Hi Guix team, > > I am struggling on this error but can not get it resolved. > Please kindly help. > > > Config code snippet > > ``` > (kernel (customize-linux > #:linux linux-libre-with-bpf > #:configs '( > "CONFIG_DEBUG_INFO_BTF=y" > ))) > [...] I think I've answered on IRC in #guix, but in case it didn't reach you, the reason the configure validation step fails is probably due to a missing KConfig dependency. CONFIG_DEBUG_INFO_BTF depends on CONFIG_DEBUG_INFO, among others. In doubt, you can run 'make menuconfig' from the Linux-libre kernel source directory in a 'guix shell -D linux-libre ncurses' environment. There you'll be able to inspect dependencies. After configuring the kernel to your needs (starting from the base config of Guix if you like), you can even save a 'defconfig' file, via 'make savedefconfig' and provide that directly to customize-linux. This way of doing things ensure all the KConfig dependencies are satisfied and avoids any surprise. -- Thanks, Maxim