help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when Kernel configed with "CONFIG_DEBUG_INFO_BTF=y"


From: Maxim Cournoyer
Subject: Re: Error when Kernel configed with "CONFIG_DEBUG_INFO_BTF=y"
Date: Fri, 17 May 2024 10:33:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

shaqtsui <shaqtsui@163.com> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]