On 7/6/22 4:06 PM, James Hilliard wrote:
The current bpf_helper_defs.h helpers are llvm specific and don't work correctly with gcc. Generate gcc compatible headers based on the format in bpf-helpers.h. See: https://github.com/gcc-mirror/gcc/blob/releases/gcc-12.1.0/gcc/config/bpf/bpf-helpers.h#L24-L27 Signed-off-by: James Hilliard <james.hilliard1@xxxxxxxxx>
Please improve the commit description a bit with all the necessary context around this, and perhaps also provide a small before/after extract around the bpf-helpers.h. The github.com/gcc-mirror could stay as reference but all details should be self-explanatory in commit description. Thanks, Daniel