Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit introduces a dependency on scx_lib in gen_bpf_o. Without this dependency the build fails intermittently with the following error: ``` FAILED: scheds/c/scx_pair.p/scx_pair.bpf.skel.h scheds/c/scx_pair.p/scx_pair.bpf.subskel.h /home/frelon/src/scx/meson-scripts/bpftool_build_skel /usr/sbin/bpftool scheds/c/scx_pair.p/scx_pair.bpf.o scheds/c/scx_pair.p/scx_pair.bpf.skel.h scheds/c/scx_pair.p/scx_pair.bpf.subskel.h /home/frelon/src/scx/build/lib/lib libbpf: failed to get ELF header for /home/frelon/src/scx/build/lib/lib.bpf.o: invalid `Elf' handle /home/frelon/src/scx/meson-scripts/bpftool_build_skel: line 25: 3400506 Segmentation fault (core dumped) "$bpftool" gen object "$stem".l1o "$input" "$lib".bpf.o ``` Signed-off-by: Fredrik Lönnegren <[email protected]>
- Loading branch information