Skip to content

Commit 791558a

Browse files
committed
libbpf-compat: skip failing netif_receive_skb.linked3.o
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 cilium#739
1 parent 5a756ba commit 791558a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

elf_reader_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,8 @@ func TestLibBPFCompat(t *testing.T) {
695695
case "btf_type_tag.o", "btf_type_tag.linked3.o", "test_btf_decl_tag.o",
696696
"test_btf_decl_tag.linked3.o":
697697
t.Skip("Skipping due to missing support for BTF_KIND_TYPE_TAG and BTF_KIND_DECL_TAG")
698+
case "netif_receive_skb.linked3.o":
699+
t.Skip("Skipping due to possible bug in upstream CO-RE generation")
698700
}
699701

700702
t.Parallel()

0 commit comments

Comments
 (0)