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
Adding host-llvm to BPFTOOL_DEPENDENCIES makes the /bin/sh: 1: llvm-config: not found message disappear, and the build seems to fail a bit later, but still fails, this time ending with:
CC struct_ops.o
CC tracelog.o
CC xlated_dumper.o
CC disasm.o
LINK bpftool
/.../buildroot/output/host/lib/libLLVM-15.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:233: bpftool] Error 1
make[1]: *** [package/pkg-generic.mk:283: /.../buildroot/output/build/bpftool-v7.1.0/.stamp_built] Error 2
Building the debugging labs image on Ubuntu 22.04 fails under certain conditions. Superficially this looks like a Buildroot bug.
Steps to reproduce:
llvm
package is not installedbpftool fails building. This line is logged:
Installing
llvm
on the host and rebuilding the build succeeds:Maybe just a missing dependency of the
bpftool
package onhost-llvm
?The text was updated successfully, but these errors were encountered: