Skip to content

Commit

Permalink
libbpf-compat: skip failing netif_receive_skb.linked3.o
Browse files Browse the repository at this point in the history
Trying to load the ELF gives the following error:

    elf_reader_test.go:665: Error during loading: program trace_netif_receive_skb:
    apply CO-RE relocations: apply fixup target_type_id=67->16253:
    invalid immediate 73, expected 67 (fixup: target_type_id=67->16253)

After some cursory digging this doesn't seem to be a bug in the library
but maybe one in either pahole or clang.

See #739
  • Loading branch information
lmb committed Jul 19, 2022
1 parent 929b669 commit 0571ab3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions elf_reader_test.go
Expand Up @@ -695,6 +695,8 @@ func TestLibBPFCompat(t *testing.T) {
case "btf_type_tag.o", "btf_type_tag.linked3.o", "test_btf_decl_tag.o",
"test_btf_decl_tag.linked3.o":
t.Skip("Skipping due to missing support for BTF_KIND_TYPE_TAG and BTF_KIND_DECL_TAG")
case "netif_receive_skb.linked3.o":
t.Skip("Skipping due to possible bug in upstream CO-RE generation")
}

t.Parallel()
Expand Down

0 comments on commit 0571ab3

Please sign in to comment.