Open yskelg opened 1 month ago
I ran into this earlier. I believe this is due to Rust nightly upgrading to LLVM 19 and bpf-linker
using LLVM 18.
bpf-linker
is available, so that should probably solve it.Either that or roll back to rust nightly 2024-07-31 (or earlier).
Following the README guide, you need to install
bpf-linker
on the aarch64 environment as follows.Right, I've been tested
aya-rs
on my Apple M2 VMware Fusion Eenvironment with Fedora 40.I have confirmed that this works well with the XDP template.
So, I build with
external LLVM method
option.But, there seems to be
error: failure linking module /home/paran/perf-aya-rs/perf-aya-rs-ebpf/../target/bpfel-unknown-none/debug/deps/perf_aya_rs-58caae9717f08677.perf_aya_rs.4b0d608d0cf878c2-cgu.0.rcgu.o
This is my log when linking failed.
Do you know anyone who could help with this, or could you provide some hints for debugging it myself?
I think it would be great if I could looking into it and contribute to this issue.