39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: 44 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: 44 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: 44 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/main.c:1:30: error: expected expression
39: int failure(void *ctx) { if (); return 0; }
39: ^
39: 3 warnings and 10 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:2:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: 44 warnings and 9 errors generated.
39: In file included from <built-in>:317:
39: In file included from <command line>:11:
39: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
39: ^
39: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_send_signal_thread(__u32 sig) =
39: ^
39: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
39: ^
39: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
39: ^
39: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
39: ^
39: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
39: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
39: ^
39: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
39: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[3] | set->sig[2] |
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: return (set->sig[1] | set->sig[0]) == 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigorsets, _sig_or)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandsets, _sig_and)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
39: a3 = a->sig[3]; a2 = a->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
39: b3 = b->sig[3]; b2 = b->sig[2]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[3] = op(a3, b3); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[2] = op(a2, b2); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
39: a1 = a->sig[1]; b1 = b->sig[1]; \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_BINOP(sigandnsets, _sig_andn)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
39: r->sig[1] = op(a1, b1); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
39: case 4: set->sig[3] = op(set->sig[3]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
39: set->sig[2] = op(set->sig[2]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
39: #define _sig_not(x) (~(x))
39: ^
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: _SIG_SET_OP(signotset, _sig_not)
39: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
39: case 2: set->sig[1] = op(set->sig[1]); \
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = 0;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: In file included from /virtual/main.c:1:
39: In file included from include/linux/blkdev.h:4:
39: In file included from include/linux/sched.h:37:
39: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
39: case 2: set->sig[1] = -1;
39: ^ ~
39: ./arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
39: unsigned long sig[_NSIG_WORDS];
39: ^
39: 44 warnings and 9 errors generated.
39: EEEEEEEEEEEEEEEEE.EE
39: Failed tests:
39: -------------
39: 1) TestClang.test_blk_start_request
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:129: in function 'TestClang.test_blk_start_request'
39:
39: 2) TestClang.test_bpf_hash
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:139: in function 'TestClang.test_bpf_hash'
39:
39: 3) TestClang.test_cflags
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:318: in function 'TestClang.test_cflags'
39:
39: 4) TestClang.test_char_array_probe
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:180: in function 'TestClang.test_char_array_probe'
39:
39: 5) TestClang.test_complex_leaf_types
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:305: in function 'TestClang.test_complex_leaf_types'
39:
39: 6) TestClang.test_consecutive_probe_read
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:161: in function 'TestClang.test_consecutive_probe_read'
39:
39: 7) TestClang.test_exported_maps
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'BPF'
39: test_clang.lua:322: in function 'TestClang.test_exported_maps'
39:
39: 8) TestClang.test_iosnoop
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:116: in function 'TestClang.test_iosnoop'
39:
39: 9) TestClang.test_nested_probe_read
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:175: in function 'TestClang.test_nested_probe_read'
39:
39: 10) TestClang.test_probe_read1
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:13: in function 'TestClang.test_probe_read1'
39:
39: 11) TestClang.test_probe_read2
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:25: in function 'TestClang.test_probe_read2'
39:
39: 12) TestClang.test_probe_read_helper
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:188: in function 'TestClang.test_probe_read_helper'
39:
39: 13) TestClang.test_probe_read_keys
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:48: in function 'TestClang.test_probe_read_keys'
39:
39: 14) TestClang.test_probe_simple_assign
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:256: in function 'TestClang.test_probe_simple_assign'
39:
39: 15) TestClang.test_probe_struct_assign
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:212: in function 'TestClang.test_probe_struct_assign'
39:
39: 16) TestClang.test_sscanf
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:60: in function 'TestClang.test_sscanf'
39:
39: 17) TestClang.test_sscanf_array
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:81: in function 'TestClang.test_sscanf_array'
39:
39: 18) TestClang.test_task_switch
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:232: in function 'TestClang.test_task_switch'
39:
39: 19) TestClang.test_unop_probe_read
39: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
39: stack traceback:
39: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
39: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
39: test_clang.lua:281: in function 'TestClang.test_unop_probe_read'
39:
39: Ran 20 tests in 5.788 seconds, 1 successes, 19 errors
39: Failed
39/42 Test #39: lua_test_clang ...................***Failed 5.98 sec
test 40
Start 40: lua_test_uprobes
40: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
40: Test timeout computed to be: 9.99988e+06
40: In file included from <built-in>:317:
40: In file included from <command line>:11:
40: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
40: ^
40: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_send_signal_thread(__u32 sig) =
40: ^
40: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
40: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
40: ^
40: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
40: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
40: ^
40: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
40: ^
40: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
40: ^
40: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
40: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
40: ^
40: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
40: ^
40: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
40: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
40: ^
40: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
40: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
40: ^
40: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
40: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
40: ^
40: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
40: ^
40: 3 warnings and 9 errors generated.
40: In file included from <built-in>:317:
40: In file included from <command line>:11:
40: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
40: ^
40: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_send_signal_thread(__u32 sig) =
40: ^
40: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
40: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
40: ^
40: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
40: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
40: ^
40: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
40: ^
40: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
40: ^
40: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
40: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
40: ^
40: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
40: ^
40: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
40: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
40: ^
40: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
40: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
40: ^
40: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
40: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
40: ^
40: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
40: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
40: ^
40: 3 warnings and 9 errors generated.
40: EE
40: Failed tests:
40: -------------
40: 1) TestUprobes.test_simple_binary
40: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
40: stack traceback:
40: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
40: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
40: test_uprobes.lua:56: in function 'TestUprobes.test_simple_binary'
40:
40: 2) TestUprobes.test_simple_library
40: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
40: stack traceback:
40: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
40: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
40: test_uprobes.lua:29: in function 'TestUprobes.test_simple_library'
40:
40: Ran 2 tests in 0.142 seconds, 0 successes, 2 errors
40: Failed
40/42 Test #40: lua_test_uprobes .................***Failed 0.16 sec
test 41
Start 41: lua_test_dump
41: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
41: Test timeout computed to be: 9.99988e+06
41: In file included from <built-in>:317:
41: In file included from <command line>:11:
41: /virtual/include/bcc/helpers.h:617:12: error: illegal initializer (only variables can be initialized)
41: static int bpf_tcp_send_ack(void *tp, __u32 rcv_nxt) =
41: ^
41: /virtual/include/bcc/helpers.h:619:12: error: illegal initializer (only variables can be initialized)
41: static int bpf_send_signal_thread(__u32 sig) =
41: ^
41: /virtual/include/bcc/helpers.h:621:14: error: illegal initializer (only variables can be initialized)
41: static __u64 bpf_jiffies64(void) = (void *)BPF_FUNC_jiffies64;
41: ^
41: /virtual/include/bcc/helpers.h:622:43: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
41: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
41: ^
41: /virtual/include/bcc/helpers.h:622:12: error: illegal initializer (only variables can be initialized)
41: static int bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf,
41: ^
41: /virtual/include/bcc/helpers.h:625:12: error: illegal initializer (only variables can be initialized)
41: static int bpf_get_ns_current_pid_tgid(__u64 dev, __u64 ino,
41: ^
41: /virtual/include/bcc/helpers.h:629:45: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
41: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
41: ^
41: /virtual/include/bcc/helpers.h:629:12: error: illegal initializer (only variables can be initialized)
41: static int bpf_xdp_output(void *ctx, struct bpf_map *map, __u64 flags,
41: ^
41: /virtual/include/bcc/helpers.h:632:14: error: illegal initializer (only variables can be initialized)
41: static __u64 bpf_get_netns_cookie(void *ctx) = (void *)BPF_FUNC_get_netns_cookie;
41: ^
41: /virtual/include/bcc/helpers.h:633:14: error: illegal initializer (only variables can be initialized)
41: static __u64 bpf_get_current_ancestor_cgroup_id(int ancestor_level) =
41: ^
41: /virtual/include/bcc/helpers.h:635:33: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
41: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
41: ^
41: /virtual/include/bcc/helpers.h:635:12: error: illegal initializer (only variables can be initialized)
41: static int bpf_sk_assign(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
41: ^
41: 3 warnings and 9 errors generated.
41: E
41: Failed tests:
41: -------------
41: 1) TestDump.test_dump_func
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_dump.lua:6: in function 'TestDump.test_dump_func'
41:
41: Ran 1 tests in 0.068 seconds, 0 successes, 1 errors
41: Failed
41/42 Test #41: lua_test_dump ....................***Failed 0.09 sec
test 42
Start 42: lua_test_standalone
42: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/lua/test_standalone.sh
42: Test timeout computed to be: 9.99988e+06
42: + cd src/lua
42: + [[ ! -x bcc-lua ]]
42: + echo 'bcc-lua not built --- skipping'
42: bcc-lua not built --- skipping
42: + exit 0
42/42 Test #42: lua_test_standalone .............. Passed 0.00 sec
26% tests passed, 31 tests failed out of 42
Total Test time (real) = 100.61 sec
The following tests FAILED:
2 - c_test_static (Failed)
3 - test_libbcc (Failed)
4 - py_test_stat1_b (Failed)
5 - py_test_bpf_log (Failed)
6 - py_test_stat1_c (Failed)
7 - py_test_xlate1_c (Failed)
8 - py_test_call1 (Failed)
9 - py_test_trace1 (Failed)
10 - py_test_trace2 (Failed)
11 - py_test_trace3_c (Failed)
12 - py_test_trace4 (Failed)
13 - py_test_trace_maxactive (Failed)
14 - py_test_probe_count (Failed)
16 - py_test_brb (Failed)
18 - py_test_clang (Failed)
19 - py_test_histogram (Failed)
20 - py_array (Failed)
21 - py_uprobes (Failed)
22 - py_uprobes_2 (Failed)
25 - py_test_perf_event (Failed)
28 - py_test_dump_func (Failed)
29 - py_test_disassembler (Failed)
30 - py_test_tools_smoke (Failed)
32 - py_test_usdt (Failed)
33 - py_test_usdt2 (Failed)
34 - py_test_usdt3 (Failed)
35 - py_test_license (Failed)
37 - py_test_rlimit (Failed)
39 - lua_test_clang (Failed)
40 - lua_test_uprobes (Failed)
41 - lua_test_dump (Failed)
Errors while running CTest
Build step 'Execute shell' marked build as failure
Taking single-use slave ubuntu1604-slave-bb8 offline.
Finished: FAILURE