error: ‘get_entry_ip’ defined but not used [-Werror=unused-function] 1030 | static unsigned long get_entry_ip(unsigned long fentry_ip) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors Reproducible: Always Steps to Reproduce: 1. make 2. make modules 3. Actual Results: make modules CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool CHK include/generated/compile.h CC kernel/trace/bpf_trace.o kernel/trace/bpf_trace.c:1030:22: error: ‘get_entry_ip’ defined but not used [-Werror=unused-function] 1030 | static unsigned long get_entry_ip(unsigned long fentry_ip) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors
Are you building with CONFIG_WERROR? You likely need to send this upstream. Could you also please ideally try upload the build log (try 'make clean' && 'make V=1 &> kernel.log') and your .config please?
Created attachment 826165 [details] kernel.log
Created attachment 826167 [details] .config
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02de83bc65c375e12888909c2be98232041a5b63 commit 02de83bc65c375e12888909c2be98232041a5b63 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-11-10 18:48:22 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-11-10 18:48:22 +0000 sys-kernel/gentoo-sources: add 6.0.8 and unused-function fix Closes: https://bugs.gentoo.org/878831 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-6.0.8.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+)