-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi ,
Description :
Trying to build ebpf on power Rhel8 machine
Procedure:
git clone --recursive https://github.com/stackrox/falcosecurity-libs
cd falcosecurity-libs/
mkdir build && cd build
cmake -DUSE_BUNDLED_DEPS=true -DCREATE_TEST_TARGETS=OFF ../
make sinsp
clang -v
make driver
cmake -DBUILD_BPF=true ../
make bpf
Linux kernel version :
4.18.0-372.9.1.el8.ppc64le
Error facing :
#define __lwsync() __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
^
<built-in>:310:9: note: previous definition is here
#define __lwsync __builtin_ppc_lwsync
^
1 warning generated.
error: <unknown>:0:0: in function bpf_sys_open_by_handle_at_x i32 (i8*): Looks like the BPF stack limit of 512 bytes is exceeded. Please move large on stack variables into BPF per-cpu array map.
error: <unknown>:0:0: in function bpf_sys_open_by_handle_at_x i32 (i8*): Looks like the BPF stack limit of 512 bytes is exceeded. Please move large on stack variables into BPF per-cpu array map.
error: <unknown>:0:0: in function bpf_sys_open_by_handle_at_x i32 (i8*): Looks like the BPF stack limit of 512 bytes is exceeded. Please move large on stack variables into BPF per-cpu array map.
error: <unknown>:0:0: in function bpf_sys_open_by_handle_at_x i32 (i8*): Looks like the BPF stack limit of 512 bytes is exceeded. Please move large on stack variables into BPF per-cpu array map.
error: <unknown>:0:0: in function bpf_sys_open_by_handle_at_x i32 (i8*): Looks like the BPF stack limit of 512 bytes is exceeded. Please move large on stack variables into BPF per-cpu array map.
But if I try the same on Rhel9.2 It works fine
pratham-m
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working