yonghong-song
yonghong-song
The error mostly due to kernel code change. So some hook change might be needed for your 4.15 kernel as kernel verifier change heavily affects this.
I guess, you will have to add some missing hooks. Some newer kernels will have additional hooks which need to be implemented.
@wineway Do you have an actual case for this infinite loop? Is it possible to have an infinite loop theoretically yet? But I would argument it is unlikely since this...
This patch added batch interface in bcc. ``` commit 748d6b51b1cb3090fb83980f5ba018ece48f656c Author: Emilien Gobillot Date: Sun Apr 25 19:18:50 2021 +0200 add bpf_map_lookup_batch and bpf_map_delete_batch in bcc (#3363) . add bpf_map_lookup_batch...
This is because bcc linked both clang shared library and llvm shared library and there are duplicated symbols. Could you try cmake function ENABLE_LLVM_SHARED when you build bcc to see...
The bcc tries to find `/lib/modules/$(uname -r)/` directory for kernel-devel header files. You might need additional steps, esp. for upgraded kernel.
Your change sound okay. But I want to understand which flag caused compilation failure. I tried with bcc examples/cpp/HelloWorld.cc with the following scripts (derived from CMakefile file flags.make ``` [$...
@juchem thanks for the script and explanation. For your script, my locally self build gcc 12.1 still cannot reproduce the issue. Maybe there are some config options I didn't use....
I just tried with clang14 and latest development clang16, both works fine without failure even for c++2b. I guess my build might have different cmake options from debian.
I have not tried to reproduce the issue yet, could you paste the details of the error? Also, could you try the following patch to see whether it works for...