ALT Linux Bugzilla
– Attachment 12029 Details for
Bug 44536
Не запускается bindsnoop с Failed to compile BPF module <text>
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
bindsnoop.log
bindsnoop.log (text/x-log), 4.34 KB, created by
Evgeny Shesteperov
on 2022-12-05 11:29:15 MSK
(
hide
)
Description:
bindsnoop.log
Filename:
MIME Type:
Creator:
Evgeny Shesteperov
Created:
2022-12-05 11:29:15 MSK
Size:
4.34 KB
patch
obsolete
>In file included from <built-in>:2: >In file included from /virtual/include/bcc/bpf.h:12: >In file included from include/linux/types.h:6: >In file included from include/uapi/linux/types.h:14: >In file included from include/uapi/linux/posix_types.h:5: >In file included from include/linux/stddef.h:5: >In file included from include/uapi/linux/stddef.h:5: >In file included from include/linux/compiler_types.h:76: >include/linux/compiler-clang.h:35:9: warning: '__HAVE_BUILTIN_BSWAP32__' macro redefined [-Wmacro-redefined] >#define __HAVE_BUILTIN_BSWAP32__ > ^ ><command line>:4:9: note: previous definition is here >#define __HAVE_BUILTIN_BSWAP32__ 1 > ^ >In file included from <built-in>:2: >In file included from /virtual/include/bcc/bpf.h:12: >In file included from include/linux/types.h:6: >In file included from include/uapi/linux/types.h:14: >In file included from include/uapi/linux/posix_types.h:5: >In file included from include/linux/stddef.h:5: >In file included from include/uapi/linux/stddef.h:5: >In file included from include/linux/compiler_types.h:76: >include/linux/compiler-clang.h:36:9: warning: '__HAVE_BUILTIN_BSWAP64__' macro redefined [-Wmacro-redefined] >#define __HAVE_BUILTIN_BSWAP64__ > ^ ><command line>:5:9: note: previous definition is here >#define __HAVE_BUILTIN_BSWAP64__ 1 > ^ >In file included from <built-in>:2: >In file included from /virtual/include/bcc/bpf.h:12: >In file included from include/linux/types.h:6: >In file included from include/uapi/linux/types.h:14: >In file included from include/uapi/linux/posix_types.h:5: >In file included from include/linux/stddef.h:5: >In file included from include/uapi/linux/stddef.h:5: >In file included from include/linux/compiler_types.h:76: >include/linux/compiler-clang.h:37:9: warning: '__HAVE_BUILTIN_BSWAP16__' macro redefined [-Wmacro-redefined] >#define __HAVE_BUILTIN_BSWAP16__ > ^ ><command line>:3:9: note: previous definition is here >#define __HAVE_BUILTIN_BSWAP16__ 1 > ^ >In file included from /virtual/main.c:17: >In file included from include/net/sock.h:14: >In file included from include/linux/netdevice.h:23: >In file included from include/net/netprio_cgroup.h:7: >In file included from include/linux/cgroup.h:22: >In file included from include/linux/cgroup-defs.h:17: >In file included from include/linux/bpf-cgroup.h:5: >include/linux/bpf.h:198:35: error: invalid application of 'sizeof' to an incomplete type 'struct bpf_timer' > memset(dst + map->timer_off, 0, sizeof(struct bpf_timer)); > ^ ~~~~~~~~~~~~~~~~~~ >include/linux/bpf.h:198:49: note: forward declaration of 'struct bpf_timer' > memset(dst + map->timer_off, 0, sizeof(struct bpf_timer)); > ^ >include/linux/bpf.h:212:10: error: invalid application of 'sizeof' to an incomplete type 'struct bpf_timer' > t_sz = sizeof(struct bpf_timer); > ^ ~~~~~~~~~~~~~~~~~~ >include/linux/bpf.h:212:24: note: forward declaration of 'struct bpf_timer' > t_sz = sizeof(struct bpf_timer); > ^ >In file included from /virtual/main.c:17: >In file included from include/net/sock.h:27: >include/linux/filter.h:1419:44: error: use of undeclared identifier 'BPF_F_BROADCAST'; did you mean 'IFF_BROADCAST'? > if (unlikely(!ri->tgt_value) && !(flags & BPF_F_BROADCAST)) { > ^~~~~~~~~~~~~~~ > IFF_BROADCAST >include/uapi/linux/if.h:30:2: note: 'IFF_BROADCAST' declared here > IFF_BROADCAST = 1<<1, > ^ >In file included from /virtual/main.c:17: >In file included from include/net/sock.h:27: >include/linux/filter.h:1430:14: error: use of undeclared identifier 'BPF_F_BROADCAST'; did you mean 'IFF_BROADCAST'? > if (flags & BPF_F_BROADCAST) { > ^~~~~~~~~~~~~~~ > IFF_BROADCAST >include/uapi/linux/if.h:30:2: note: 'IFF_BROADCAST' declared here > IFF_BROADCAST = 1<<1, > ^ >3 warnings and 4 errors generated. >Traceback (most recent call last): > File "/usr/share/bcc/tools/bindsnoop", line 464, in <module> > b = BPF(text=bpf_text) > File "/usr/lib64/python3/site-packages/bcc/__init__.py", line 365, in __init__ > raise Exception("Failed to compile BPF module %s" % (src_file or "<text>"))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44536
: 12029