You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ebpf-for-windows currently only supports clang v11.0.1. If someone is using a newer clang version to compile their eBPF program, the program may fail the verification and it is not easy to figure out that the issue is with the clang version used.
It looks like clang embeds the version in the ELF file in .debug_str section like below:
We can probably update ebpfapi and bpf2c to check the clang version before invoking the verifier, and fail verification with clear error message stating that wrong version of clang was used.
The text was updated successfully, but these errors were encountered:
ebpf-for-windows currently only supports clang
v11.0.1
. If someone is using a newer clang version to compile their eBPF program, the program may fail the verification and it is not easy to figure out that the issue is with the clang version used.It looks like clang embeds the version in the ELF file in
.debug_str
section like below:We can probably update ebpfapi and bpf2c to check the clang version before invoking the verifier, and fail verification with clear error message stating that wrong version of clang was used.
The text was updated successfully, but these errors were encountered: