Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #77762 > unrolled thread

Bug#1027304: linux-kbuild-6.0: missing `resolve_btfids` and some scripts

Started byms23a28926@outlook.com
First post2022-12-30 03:50 +0100
Last post2022-12-30 03:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1027304: linux-kbuild-6.0: missing `resolve_btfids` and some scripts ms23a28926@outlook.com - 2022-12-30 03:50 +0100

#77762 — Bug#1027304: linux-kbuild-6.0: missing `resolve_btfids` and some scripts

Fromms23a28926@outlook.com
Date2022-12-30 03:50 +0100
SubjectBug#1027304: linux-kbuild-6.0: missing `resolve_btfids` and some scripts
Message-ID<FIdD3-eeut-1@gated-at.bofh.it>
Package: linux-kbuild-6.0
Version: 6.0.12-1~bpo11+1
Severity: important
Tags: patch
X-Debbugs-Cc: ur4t@protonmail.com

Dear Maintainer,

I tried to build my out-of-tree kernel module and noticed a message:
`Skipping BTF generation for PATH_TO_KO due to unavailability of vmlinux`.
After copying `/sys/kernel/btf/vmlinux` to corresponding position and with
`dwarves` installed, building the kernel module throws a error: 
`/bin/sh: 1: ./tools/bpf/resolve_btfids/resolve_btfids: not found`.

Besides I find that some useful scripts are not included in `linux-kbuild`
package such as `clang-tools/gen_compile_commands.py`, and I had to copy
it from kernel source tree.

I patched build scripts to contain those components locally with
following patches.

-- System Information:
Debian Release: 11.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-0.deb11.2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-kbuild-6.0 depends on:
ii  libc6      2.31-13+deb11u5
ii  libelf1    0.183-1
ii  libssl1.1  1.1.1n-0+deb11u3

linux-kbuild-6.0 recommends no packages.

linux-kbuild-6.0 suggests no packages.

-- no debconf information

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web