Vitaly Chikunov
156cf74278
process-debuginfo: Keep .BTF section for kernel objects
`.BTF' section is needed to load kernel modules if `CONFIG_DEBUG_INFO_BTF_MODULES' is enabled. This requirement is introduced in Linux commit c446fdacb10d ("bpf: fix register_btf_kfunc_id_set for !CONFIG_DEBUG_INFO_BTF"). `--keep-section=.BTF' is added also for vmlinux processing, because commit seems to affect vmlinux (in case of `CONFIG_DEBUG_INFO_BTF'). Encountered error message: # modprobe nf_nat; dmesg | tail -1 modprobe: ERROR: could not insert 'nf_nat': Unknown symbol in module, or unknown parameter (see dmesg) [16781.315808] missing module BTF, cannot register kfuncs Reported-by: Andrew A. Vasilyev <andy@altlinux.org> Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This is RPM, the Red Hat Package Manager. The latest releases are always available at: ftp://ftp.rpm.org/pub/rpm Additional RPM documentation (papers, slides, HOWTOs) can also be found at the same site, as well as http://www.rpm.org. There is a mailing list for discussion of RPM issues, rpm-list@redhat.com. To subscribe, send a message to rpm-list-request@redhat.com with the word "subscribe" in the subject line. RPM was originally written by: Erik Troan <ewt@redhat.com> Marc Ewing <marc@redhat.com> See the CREDITS file for a list of folks who have helped us out tremendously. RPM is Copyright (c) 1998 by Red Hat Software, Inc., and may be distributed under the terms of the GPL and LGPL (see the file COPYING for details).
Description
Languages
C
88.7%
Shell
8.9%
M4
1.3%
Makefile
1%