Package Base Details: linux-next-git

Git Clone URL: https://aur.archlinux.org/linux-next-git.git (read-only, click to copy)
Submitter: Nefelim4ag
Maintainer: sir_lucjan (ptr1337)
Last Packager: sir_lucjan
Votes: 16
Popularity: 0.000034
First Submitted: 2014-10-12 19:04 (UTC)
Last Updated: 2023-05-22 07:24 (UTC)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

sir_lucjan commented on 2023-02-06 19:28 (UTC)

@kro007

You're welcome. Thanks for report.

kro007 commented on 2023-02-06 19:24 (UTC)

It's ok now, thanks you

sir_lucjan commented on 2023-02-06 18:55 (UTC)

@kro007

Could you check now?

kro007 commented on 2023-02-06 18:27 (UTC) (edited on 2023-02-06 18:57 (UTC) by kro007)

Hello, i get this at the end of the build :

btf_encoder__encode: btf__dedup failed!
Failed to encode BTF
LD .tmp_vmlinux.kallsyms1
(...)
libbpf: failed to find '.BTF' ELF section in vmlinux
FAILED: load BTF from vmlinux: No data available
make[1]: [scripts/Makefile.vmlinux:35: vmlinux] Error 255
make[1]:
Suppression du fichier « vmlinux »
make: *** [Makefile:1249: vmlinux] Error 2
==> ERREUR : Une erreur s’est produite dans build().
Abandon…
-> erreur lors de la construction : linux-next-git

What can i do ?

sir_lucjan commented on 2023-01-31 20:32 (UTC)

@riod

This solution works very well if you want to disable DEBUG in the kernel. If you leave it on by default, you won't notice any difference in the build. In my kernels I mostly use this solution and I have not had any error report. I am glad that after much perturbation I was able to solve the problem. Thanks for the notification and feedback.

riod commented on 2023-01-31 20:29 (UTC)

i don't know enough about btf to say whether your modification is a good idea or not. so really it's up to you

sir_lucjan commented on 2023-01-31 20:24 (UTC) (edited on 2023-01-31 20:24 (UTC) by sir_lucjan)

@riod

If you want, I could add something like this:

# required when DEBUG_INFO_BTF_MODULES is enabled
  if [ -f tools/bpf/resolve_btfids/resolve_btfids ]; then
        install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
  fi

sir_lucjan commented on 2023-01-31 20:21 (UTC) (edited on 2023-01-31 20:22 (UTC) by sir_lucjan)

@riod

So the current solution can be considered as working?

riod commented on 2023-01-31 20:11 (UTC)

pulling the latest version i was able to build after disabling btf

sir_lucjan commented on 2023-01-31 18:37 (UTC)

@riod

Could you check now?