From 77205e0762c1ba3def3254fad42dd0ef52e845bd Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 14 Apr 2025 17:32:27 +0200 Subject: [PATCH] pahole: Explicitly build with the system libbpf [BEE] => entering bee_configure() .. [BEE] cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo /dev/shm/bee-pmenzel/pahole/pahole-1.30-0/source -- The C compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Setting BUILD_SHARED_LIBS = ON -- Checking availability of DWARF and ELF development libraries -- Looking for dwfl_module_build_id in elf -- Looking for dwfl_module_build_id in elf - found -- Found dwarf.h header: /usr/include -- Found elfutils/libdw.h header: /usr/include -- Found libdw library: /usr/lib/libdw.so -- Found libelf library: /usr/lib/libelf.so -- Checking availability of DWARF and ELF development libraries - done -- Found ZLIB: /usr/lib/libz.so (found version "1.3.#define ZLIB_VERSION "1.3"") -- Checking availability of argp library -- Assuming argp is in libc -- Checking availability of argp library - done -- Checking availability of obstack library -- Assuming obstack is in libc -- Checking availability of obstack library - done CMake Error at CMakeLists.txt:75 (message): The submodules were not downloaded! GIT_SUBMODULE was turned off or failed. Please update submodules and try again. -- Configuring incomplete, errors occurred! See also "/dev/shm/bee-pmenzel/pahole/pahole-1.30-0/build/CMakeFiles/CMakeOutput.log". --- pahole.be0 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pahole.be0 b/pahole.be0 index 45bac02ac..c6718ac36 100755 --- a/pahole.be0 +++ b/pahole.be0 @@ -19,9 +19,10 @@ SRCURL[0]="https://beehive.molgen.mpg.de/3787b1177acbe92388853cf0b8ce26f2/pahole # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure \ + -DLIBBPF_EMBEDDED=OFF +} #mee_build() { # bee_build