Thread (22 messages) 22 messages, 5 authors, 2021-06-08

Re: [PATCH v2 bpf-next 06/11] libbpf: add BPF static linker APIs

flat view

From: Tom Stellard <hidden>
Date: 2021-06-07 23:12:08
Also in: bpf

Hi,
quoted hunk ↗ jump to hunk
+                               } else {
+                                       pr_warn("relocation against STT_SECTION in non-exec section is not supported!\n");
+                                       return -EINVAL;
+                               }
Kernel build of commit 324c92e5e0ee are failing for me with this error
message:

/builddir/build/BUILD/kernel-5.13-rc4-61-g324c92e5e0ee/linux-5.13.0-0.rc4.20210603git324c92e5e0ee.35.fc35.x86_64/tools/bpf/bpftool/bpftool gen object /builddir/build/BUILD/kernel-5.13-rc4-61-g324c92e5e0ee/linux-5.13.0-0.rc4.20210603git324c92e5e0ee.35.fc35.x86_64/tools/testing/selftests/bpf/bind_perm.linked1.o /builddir/build/BUILD/kernel-5.13-rc4-61-g324c92e5e0ee/linux-5.13.0-0.rc4.20210603git324c92e5e0ee.35.fc35.x86_64/tools/testing/selftests/bpf/bind_perm.o
libbpf: relocation against STT_SECTION in non-exec section is not supported!

What information can I provide to help debug this failure?

Thanks,
Tom
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help