On Thu, Aug 13, 2020 at 01:49:36PM -0700, Andrii Nakryiko wrote: > This patch set contains fixes to libbpf, bpftool, and selftests that were > found while testing libbpf and selftests built in 32-bit mode. 64-bit nature > of BPF target and 32-bit host environment don't always mix together well > without extra care, so there were a bunch of problems discovered and fixed. > > Each individual patch contains additional explanations, where necessary. > > v2->v3: > - don't give up if failed to determine ELF class; > v1->v2: > - guess_ptr_sz -> determine_ptr_sz as per Alexei; > - added pointer size determination by ELF class. lgtm Applied, Thanks