* [PATCH] linux: add "dwarves" to KBUILD_DEPENDS
@ 2023-06-28 3:39 Srinuvasan Arjunan
2023-06-28 10:53 ` Henning Schild
0 siblings, 1 reply; 4+ messages in thread
From: Srinuvasan Arjunan @ 2023-06-28 3:39 UTC (permalink / raw)
To: isar-users; +Cc: cedric.hombourger, Srinuvasan A
From: Srinuvasan A <srinuvasan.a@siemens.com>
When we build custom 5.10.175-cip29 kernel
in one of the downstream layer we faced below error:
`BTF: .tmp_vmlinux.btf: pahole (pahole) is not available
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF`
hence install "dwarves" package as a dependency in sbuild-chroot
when we build custom kernels.
Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
meta/recipes-kernel/linux/linux-custom.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 1404ab0..f255d68 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -21,6 +21,7 @@ KBUILD_DEPENDS ?= "build-essential:native, \
bc, \
bison, \
cpio, \
+ dwarves, \
flex, \
git, \
kmod, \
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] linux: add "dwarves" to KBUILD_DEPENDS
2023-06-28 3:39 [PATCH] linux: add "dwarves" to KBUILD_DEPENDS Srinuvasan Arjunan
@ 2023-06-28 10:53 ` Henning Schild
2023-07-04 10:00 ` Srinuvasan Arjunan
0 siblings, 1 reply; 4+ messages in thread
From: Henning Schild @ 2023-06-28 10:53 UTC (permalink / raw)
To: Srinuvasan Arjunan; +Cc: isar-users, cedric.hombourger, Srinuvasan A
Am Wed, 28 Jun 2023 09:09:10 +0530
schrieb Srinuvasan Arjunan <srinuvasan_a@mentor.com>:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
>
> When we build custom 5.10.175-cip29 kernel
> in one of the downstream layer we faced below error:
>
> `BTF: .tmp_vmlinux.btf: pahole (pahole) is not available
> Failed to generate BTF for vmlinux
> Try to disable CONFIG_DEBUG_INFO_BTF`
>
> hence install "dwarves" package as a dependency in sbuild-chroot
> when we build custom kernels.
This commit message is rather specific and could be more generic, but i
think the patch itself is fine.
Stock debian kernels have CONFIG_DEBUG_INFO_BTF enabled so it is kind of
likely that pahole will be needed at build time.
Henning
> Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
> ---
> meta/recipes-kernel/linux/linux-custom.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-kernel/linux/linux-custom.inc
> b/meta/recipes-kernel/linux/linux-custom.inc index 1404ab0..f255d68
> 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc
> +++ b/meta/recipes-kernel/linux/linux-custom.inc
> @@ -21,6 +21,7 @@ KBUILD_DEPENDS ?= "build-essential:native, \
> bc, \
> bison, \
> cpio, \
> + dwarves, \
> flex, \
> git, \
> kmod, \
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] linux: add "dwarves" to KBUILD_DEPENDS
2023-06-28 10:53 ` Henning Schild
@ 2023-07-04 10:00 ` Srinuvasan Arjunan
2023-07-11 6:39 ` Uladzimir Bely
0 siblings, 1 reply; 4+ messages in thread
From: Srinuvasan Arjunan @ 2023-07-04 10:00 UTC (permalink / raw)
To: isar-users; +Cc: henning.schild, Srinuvasan A
From: Srinuvasan A <srinuvasan.a@siemens.com>
Stock debian kernels have CONFIG_DEBUG_INFO_BTF enabled so it is kind of
likely that pahole will be needed at build time.
hence install "dwarves" package as a dependency in sbuild-chroot
when we build custom kernels.
Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
meta/recipes-kernel/linux/linux-custom.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 1404ab0..f255d68 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -21,6 +21,7 @@ KBUILD_DEPENDS ?= "build-essential:native, \
bc, \
bison, \
cpio, \
+ dwarves, \
flex, \
git, \
kmod, \
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] linux: add "dwarves" to KBUILD_DEPENDS
2023-07-04 10:00 ` Srinuvasan Arjunan
@ 2023-07-11 6:39 ` Uladzimir Bely
0 siblings, 0 replies; 4+ messages in thread
From: Uladzimir Bely @ 2023-07-11 6:39 UTC (permalink / raw)
To: isar-users
On Tue, 2023-07-04 at 15:30 +0530, Srinuvasan Arjunan wrote:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
>
> Stock debian kernels have CONFIG_DEBUG_INFO_BTF enabled so it is kind
> of
> likely that pahole will be needed at build time.
>
> hence install "dwarves" package as a dependency in sbuild-chroot
> when we build custom kernels.
>
> Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
> ---
> meta/recipes-kernel/linux/linux-custom.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-kernel/linux/linux-custom.inc
> b/meta/recipes-kernel/linux/linux-custom.inc
> index 1404ab0..f255d68 100644
> --- a/meta/recipes-kernel/linux/linux-custom.inc
> +++ b/meta/recipes-kernel/linux/linux-custom.inc
> @@ -21,6 +21,7 @@ KBUILD_DEPENDS ?= "build-essential:native, \
> bc, \
> bison, \
> cpio, \
> + dwarves, \
> flex, \
> git, \
> kmod, \
> --
> 2.34.1
>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-11 6:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-28 3:39 [PATCH] linux: add "dwarves" to KBUILD_DEPENDS Srinuvasan Arjunan
2023-06-28 10:53 ` Henning Schild
2023-07-04 10:00 ` Srinuvasan Arjunan
2023-07-11 6:39 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox