Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853649 - dev-util/bcc-0.24.0-r1 fails on kernels 5.17-> with request not found
Summary: dev-util/bcc-0.24.0-r1 fails on kernels 5.17-> with request not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 02:34 UTC by Alexandre Ferreira
Modified: 2022-08-10 19:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to bcc (bcc-0.24.0-r1-5.19.patch,7.62 KB, patch)
2022-06-22 02:36 UTC, Alexandre Ferreira
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Ferreira 2022-06-22 02:34:43 UTC
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
Comment 1 Alexandre Ferreira 2022-06-22 02:36:32 UTC
Created attachment 786623 [details, diff]
Patch to bcc
Comment 2 Larry the Git Cow gentoo-dev 2022-08-10 19:39:01 UTC
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(+)