bcc is using blkdev.h instead of blk-md.h and struct request definition was moved to the later in kernels 5.17 and aove. Also new LLVm have a warning that can be removed by adding -fcf-protection Reproducible: Always Steps to Reproduce: 1.install dev-util/bcc-0.24.0-r1 2.run bitehist.py 3. Actual Results: Error (struct request not defined) Expected Results: Works correctly
Created attachment 786623 [details, diff] Patch to bcc
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e482150437ac4a792fdbc3b6e1e527cd51f157 commit 43e482150437ac4a792fdbc3b6e1e527cd51f157 Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2022-08-10 19:38:35 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2022-08-10 19:38:35 +0000 dev-util/bcc: add 0.25.0 Closes: https://bugs.gentoo.org/853649 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> dev-util/bcc/Manifest | 1 + dev-util/bcc/bcc-0.25.0.ebuild | 137 +++++++++++++++++++++++++ dev-util/bcc/files/bcc-0.25.0-cmakelists.patch | 15 +++ 3 files changed, 153 insertions(+)