Skip to content

Not build #12

@delvin-fil

Description

@delvin-fil
make
cd src; make
make[1]: вход в каталог «/home/delvin/git/bpftune/src»
clang -g -D__TARGET_ARCH_x86 -O2 -target bpf			\
	-I../include -I/usr/include -I/usr/include/libnl3 -I../include/uapi -c tcp_buffer_tuner.bpf.c -o tcp_buffer_tuner.bpf.o;
tcp_buffer_tuner.bpf.c:167:1: error: A call to built-in function '__stack_chk_fail' is not supported.
BPF_FENTRY(tcp_enter_memory_pressure, struct sock *sk)
^
../include/bpftune/bpftune.bpf.h:98:15: note: expanded from macro 'BPF_FENTRY'
        int BPF_PROG(entry__##func, ##args)
                     ^
<scratch space>:82:1: note: expanded from here
entry__tcp_enter_memory_pressure
^
tcp_buffer_tuner.bpf.c:192:1: error: A call to built-in function '__stack_chk_fail' is not supported.
BPF_FENTRY(tcp_sndbuf_expand, struct sock *sk)
^
../include/bpftune/bpftune.bpf.h:98:15: note: expanded from macro 'BPF_FENTRY'
        int BPF_PROG(entry__##func, ##args)
                     ^
<scratch space>:118:1: note: expanded from here
entry__tcp_sndbuf_expand
^
tcp_buffer_tuner.bpf.c:232:1: error: A call to built-in function '__stack_chk_fail' is not supported.
BPF_FENTRY(tcp_rcv_space_adjust, struct sock *sk)
^
../include/bpftune/bpftune.bpf.h:98:15: note: expanded from macro 'BPF_FENTRY'
        int BPF_PROG(entry__##func, ##args)
                     ^
<scratch space>:151:1: note: expanded from here
entry__tcp_rcv_space_adjust
^
tcp_buffer_tuner.bpf.c:276:1: error: A call to built-in function '__stack_chk_fail' is not supported.
BPF_FENTRY(tcp_init_sock, struct sock *sk)
^
../include/bpftune/bpftune.bpf.h:98:15: note: expanded from macro 'BPF_FENTRY'
        int BPF_PROG(entry__##func, ##args)
                     ^
<scratch space>:184:1: note: expanded from here
entry__tcp_init_sock
^
4 errors generated.
make[1]: *** [Makefile:148: tcp_buffer_tuner.bpf.o] Ошибка 1
make[1]: выход из каталога «/home/delvin/git/bpftune/src»
make: *** [Makefile:41: srcdir] Ошибка 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions