https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123516
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- 123516 $ ls test.sh xdp_trafficgen.bpf.i xdp_trafficgen.bpf.i.clang xdp_trafficgen.bpf.o xdp_trafficgen.bpf.o.clang xdp_trafficgen.skel.h 123516 $ ./test.sh + bpftool gen skeleton xdp_trafficgen.bpf.o name xdp_trafficgen libbpf: elf: skipping section(2) .data (size 0) libbpf: elf: skipping unrecognized data section(36) .comment + bpftool gen skeleton xdp_trafficgen.bpf.o.clang name xdp_trafficgen I'm assuming this `gen skeleton` output is relevant and not just a red herring. I don't know much about BTF yet, I did diff the two object files but saw nothing obvious wrt .xdp_run_config.
