+LIBBPF_API int bpf_object__set_kversion(struct bpf_object *obj, __u32
kern_version);
have you run libbpf's Makefile? It should have complained about
bpf_object__set_kversion symbol mismatches/etc. That means that this
API needs to be listed in libbpf.map file, please add it there (to
latest version, 0.4, and also preserve alphabetical order). Thanks.
Alright, sending a v3 with changes. I had only static builds on
my side and it didn’t run assigned linker version-script. Will
include in my tests before further submissions.