https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106773
--- Comment #16 from James Hilliard <james.hilliard1 at gmail dot com> --- (In reply to David Faust from comment #15) > Created attachment 54021 [details] > [v2] DATASEC entries for extern funcs > > v2 fixes an off-by-one bug introduced in the patch which was causing > libbpf: Invalid BTF total size Yeah, this seems to work.