diff options
| author | He Zhe <zhe.he@windriver.com> | 2026-05-09 11:07:39 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-05-12 01:10:18 -0700 |
| commit | e65e1a81e412421d6349f9ab1ef368c5c7ff84d1 (patch) | |
| tree | 127d67acd1182c90b950f235a678d7d0dcc910a8 /meta-python/recipes-devtools/python/python-lxml | |
| parent | a6a2d6346cf0df9123ead1498cd9fa619b7616b5 (diff) | |
| download | meta-openembedded-e65e1a81e412421d6349f9ab1ef368c5c7ff84d1.tar.gz | |
bpftool-native: Fix -Wdiscarded-qualifiers errors for glibc 2.42+
Backport a patch from kernel to fix the following build errors.
bbpf.c: In function ‘kallsyms_cb’:
| libbpf.c:8192:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
| 8192 | res = strstr(sym_name, ".llvm.");
| | ^
| libbpf.c: In function ‘avail_kallsyms_cb’:
| libbpf.c:11497:31: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
| 11497 | if (!(sym_sfx = strstr(sym_name, ".llvm.")))
| | ^
| libbpf.c: In function ‘resolve_full_path’:
| libbpf.c:12085:35: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
| 12085 | next_path = strchr(s, ':');
| |
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-lxml')
0 files changed, 0 insertions, 0 deletions
