>>> bcc 0.29.1 Extracting gzip -d -c /home/buildroot/instance-0/dl/bcc/bcc-src-with-submodule.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/bcc-0.29.1 -xf - >>> bcc 0.29.1 Patching >>> bcc 0.29.1 Configuring (mkdir -p /home/buildroot/instance-0/output-1/build/bcc-0.29.1/ && cd /home/buildroot/instance-0/output-1/build/bcc-0.29.1/ && rm -f CMakeCache.txt && PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake /home/buildroot/instance-0/output-1/build/bcc-0.29.1/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_LLVM_SHARED:BOOL=ON -DREVISION:STRING=0.29.1 -DENABLE_CLANG_JIT:BOOL=ON -DENABLE_MAN:BOOL=OFF -DENABLE_EXAMPLES:BOOL=OFF -DPY_SKIP_DEB_LAYOUT:BOOL=ON ) CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 7.3.1 -- The CXX compiler identification is GNU 7.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/instance-0/output-1/host/bin/aarch64-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/buildroot/instance-0/output-1/host/bin/aarch64-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done fatal: not a git repository (or any of the parent directories): .git CMake Warning at CMakeLists.txt:49 (message): Failed to update submodule blazesym warning: Not a git repository. Use --no-index to compare two paths outside a working tree usage: git diff --no-index [] Diff output format options -p, --patch generate patch -s, --no-patch suppress diff output -u generate patch -U, --unified[=] generate diffs with lines context -W, --function-context generate diffs with lines context --raw generate the diff in raw format --patch-with-raw synonym for '-p --raw' --patch-with-stat synonym for '-p --stat' --numstat machine friendly --stat --shortstat output only the last line of --stat -X, --dirstat[=...] output the distribution of relative amount of changes for each sub-directory --cumulative synonym for --dirstat=cumulative --dirstat-by-file[=...] synonym for --dirstat=files,param1,param2... --check warn if changes introduce conflict markers or whitespace errors --summary condensed summary such as creations, renames and mode changes --name-only show only names of changed files --name-status show only names and status of changed files --stat[=[,[,]]] generate diffstat --stat-width generate diffstat with a given width --stat-name-width generate diffstat with a given name width --stat-graph-width generate diffstat with a given graph width --stat-count generate diffstat with limited lines --compact-summary generate compact summary in diffstat --binary output a binary diff that can be applied --full-index show full pre- and post-image object names on the "index" lines --color[=] show colored diff --ws-error-highlight highlight whitespace errors in the 'context', 'old' or 'new' lines in the diff -z do not munge pathnames and use NULs as output field terminators in --raw or --numstat --abbrev[=] use digits to display object names --src-prefix show the given source prefix instead of "a/" --dst-prefix show the given destination prefix instead of "b/" --line-prefix prepend an additional prefix to every line of output --no-prefix do not show any source or destination prefix --inter-hunk-context show context between diff hunks up to the specified number of lines --output-indicator-new specify the character to indicate a new line instead of '+' --output-indicator-old specify the character to indicate an old line instead of '-' --output-indicator-context specify the character to indicate a context instead of ' ' Diff rename options -B, --break-rewrites[=[/]] break complete rewrite changes into pairs of delete and create -M, --find-renames[=] detect renames -D, --irreversible-delete omit the preimage for deletes -C, --find-copies[=] detect copies --find-copies-harder use unmodified files as source to find copies --no-renames disable rename detection --rename-empty use empty blobs as rename source --follow continue listing the history of a file beyond renames -l prevent rename/copy detection if the number of rename/copy targets exceeds given limit Diff algorithm options --minimal produce the smallest possible diff -w, --ignore-all-space ignore whitespace when comparing lines -b, --ignore-space-change ignore changes in amount of whitespace --ignore-space-at-eol ignore changes in whitespace at EOL --ignore-cr-at-eol ignore carrier-return at the end of line --ignore-blank-lines ignore changes whose lines are all blank -I, --ignore-matching-lines ignore changes whose all lines match --indent-heuristic heuristic to shift diff hunk boundaries for easy reading --patience generate diff using the "patience diff" algorithm --histogram generate diff using the "histogram diff" algorithm --diff-algorithm choose a diff algorithm --anchored generate diff using the "anchored diff" algorithm --word-diff[=] show word diff, using to delimit changed words --word-diff-regex use to decide what a word is --color-words[=] equivalent to --word-diff=color --word-diff-regex= --color-moved[=] moved lines of code are colored differently --color-moved-ws how white spaces are ignored in --color-moved Other diff options --relative[=] when run from subdir, exclude changes outside and show relative paths -a, --text treat all files as text -R swap two inputs, reverse the diff --exit-code exit with 1 if there were differences, 0 otherwise --quiet disable all output of the program --ext-diff allow an external diff helper to be executed --textconv run external text conversion filters when comparing binary files --ignore-submodules[=] ignore changes to submodules in the diff generation --submodule[=] specify how differences in submodules are shown --ita-invisible-in-index hide 'git add -N' entries from the index --ita-visible-in-index treat 'git add -N' entries as real in the index -S look for differences that change the number of occurrences of the specified string -G look for differences that change the number of occurrences of the specified regex --pickaxe-all show all changes in the changeset with -S or -G --pickaxe-regex treat in -S as extended POSIX regular expression -O control the order in which files appear in the output --find-object look for differences that change the number of occurrences of the specified object --diff-filter [(A|C|D|M|R|T|U|X|B)...[*]] select files by diff type --output Output to a specific file fatal: not a git repository (or any of the parent directories): .git CMake Warning at CMakeLists.txt:83 (message): Failed to update submodule libbpf -- Revision is 0.29.1 (major 0, minor 29, patch 1) -- Performing Test HAVE_NO_PIE_FLAG -- Performing Test HAVE_NO_PIE_FLAG - Success -- Performing Test HAVE_REALLOCARRAY_SUPPORT -- Performing Test HAVE_REALLOCARRAY_SUPPORT - Failed -- Kernel release: 6.1.0-18-amd64 -- Kernel headers: KERNELHEADERS_DIR-NOTFOUND -- Found zstd: /home/buildroot/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libzstd.so -- Found LLVM: /home/buildroot/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include 15.0.3 (Use LLVM_ROOT envronment variable for another version of LLVM) -- Found BISON: /home/buildroot/instance-0/output-1/host/bin/bison (found version "3.8.2") -- Found FLEX: /home/buildroot/instance-0/output-1/host/bin/flex (found version "2.6.4") -- Found LibElf: /home/buildroot/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libelf.so -- Performing Test ELF_GETSHDRSTRNDX -- Performing Test ELF_GETSHDRSTRNDX - Success -- Could NOT find LibDebuginfod (missing: LIBDEBUGINFOD_LIBRARIES LIBDEBUGINFOD_INCLUDE_DIRS) -- Found LibLzma: /home/buildroot/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so -- Could NOT find LuaJIT (missing: LUAJIT_LIBRARIES LUAJIT_INCLUDE_DIR) CMake Warning at tests/python/CMakeLists.txt:6 (message): Recommended test program 'arping' not found CMake Warning at tests/python/CMakeLists.txt:10 (message): Recommended test program 'netperf' not found CMake Warning at tests/python/CMakeLists.txt:16 (message): Recommended test program 'iperf' or 'iperf3' not found -- Configuring done (0.5s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/instance-0/output-1/build/bcc-0.29.1 >>> bcc 0.29.1 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake --build /home/buildroot/instance-0/output-1/build/bcc-0.29.1/ -j17 -- make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 5%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/kbuild_helper.cc.o [ 4%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o [ 5%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o [ 5%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o [ 5%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/tp_frontend_action.cc.o [ 4%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o [ 4%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o [ 4%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/b_frontend_action.cc.o [ 5%] Building CXX object src/cc/api/CMakeFiles/api-objects.dir/BPF.cc.o [ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o [ 6%] Building sdist for python3 [ 7%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o [ 7%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o [ 8%] Building CXX object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.cc.o [ 9%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o [ 10%] Building CXX object src/cc/api/CMakeFiles/api-objects.dir/BPFTable.cc.o [ 11%] Building CXX object tests/cc/CMakeFiles/debuginfo_test_lib.dir/debuginfo_test_lib.cc.o [ 12%] Linking CXX shared library libdebuginfo_test_lib.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 12%] Built target debuginfo_test_lib [ 12%] Linking CXX shared library libusdt_test_lib.so [ 13%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/frontends/clang/kbuild_helper.cc:84:3: warning: multi-line comment [-Wcomment] // USERINCLUDE := \ ^ /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/frontends/clang/kbuild_helper.cc:93:3: warning: multi-line comment [-Wcomment] // LINUXINCLUDE := \ ^ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 13%] Built target usdt_test_lib make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 14%] Generating archive.zip [ 15%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o adding: libdebuginfo_test_lib.so (stored 0%) adding: zip_subdir/file.txt (stored 0%) make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 15%] Built target zip_archive make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 15%] Generating debuginfo.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 15%] Built target debuginfo [ 15%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_zip.c.o running sdist running egg_info creating bcc.egg-info make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' writing bcc.egg-info/PKG-INFO writing dependency_links to bcc.egg-info/dependency_links.txt writing top-level names to bcc.egg-info/top_level.txt writing manifest file 'bcc.egg-info/SOURCES.txt' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' reading manifest file 'bcc.egg-info/SOURCES.txt' writing manifest file 'bcc.egg-info/SOURCES.txt' warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md running check make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' creating bcc-0.29.1 creating bcc-0.29.1/bcc creating bcc-0.29.1/bcc.egg-info copying files to bcc-0.29.1... copying setup.py -> bcc-0.29.1 copying bcc/__init__.py -> bcc-0.29.1/bcc copying bcc/containers.py -> bcc-0.29.1/bcc copying bcc/disassembler.py -> bcc-0.29.1/bcc copying bcc/libbcc.py -> bcc-0.29.1/bcc copying bcc/perf.py -> bcc-0.29.1/bcc [ 16%] Generating with_gnu_debuglink.so copying bcc/syscall.py -> bcc-0.29.1/bcc copying bcc/table.py -> bcc-0.29.1/bcc copying bcc/tcp.py -> bcc-0.29.1/bcc copying bcc/usdt.py -> bcc-0.29.1/bcc copying bcc/utils.py -> bcc-0.29.1/bcc copying bcc/version.py -> bcc-0.29.1/bcc copying bcc.egg-info/PKG-INFO -> bcc-0.29.1/bcc.egg-info copying bcc.egg-info/SOURCES.txt -> bcc-0.29.1/bcc.egg-info copying bcc.egg-info/dependency_links.txt -> bcc-0.29.1/bcc.egg-info copying bcc.egg-info/top_level.txt -> bcc-0.29.1/bcc.egg-info copying bcc.egg-info/SOURCES.txt -> bcc-0.29.1/bcc.egg-info Writing bcc-0.29.1/setup.cfg creating dist Creating tar archive make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 16%] Built target with_gnu_debuglink removing 'bcc-0.29.1' (and everything under it) [ 17%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o [ 18%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 18%] Built target bcc_py_python3 make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 18%] Generating debuginfo.so.xz [ 19%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 19%] Built target debuginfo_xz make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 20%] Generating with_gnu_debugdata.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 20%] Built target with_gnu_debugdata [ 20%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o [ 20%] Building C object src/cc/CMakeFiles/bpf-shared.dir/perf_reader.c.o [ 21%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o [ 22%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o [ 22%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/gen_loader.c.o [ 23%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf.c.o [ 24%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf_prog_linfo.c.o /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc: In function 'ebpf::field_kind_t ebpf::_get_field_kind(const string&, std::__cxx11::string&, std::__cxx11::string&, int*)': /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:178:59: error: no matching function for call to 'std::__cxx11::basic_string::replace(long unsigned int, long unsigned int, std::__cxx11::basic_string&, int)' field_name.replace(pos1 + 1, pos2 - pos1 - 1, dim, 0); ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/string:52:0, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/ios:42, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/istream:38, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/fstream:38, from /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:16: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1861:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n, const basic_string& __str) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1861:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1883:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos1, size_type __n1, const basic_string& __str, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1883:7: note: candidate expects 5 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1908:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, const _CharT* __s, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1908:7: note: no known conversion for argument 3 from 'std::__cxx11::basic_string' to 'const char*' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1933:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, const _CharT* __s) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1933:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1957:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1957:7: note: no known conversion for argument 3 from 'std::__cxx11::basic_string' to 'std::__cxx11::basic_string::size_type {aka long unsigned int}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1975:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1975:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1995:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1995:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2017:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, const _CharT* __s) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2017:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2038:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(__const_iterator __i1, __const_iterator __i2, size_type __n, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2038:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2065:9: note: candidate: template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] replace(const_iterator __i1, const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2065:9: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:178:59: note: deduced conflicting types for parameter '_InputIterator' ('std::__cxx11::basic_string' and 'int') field_name.replace(pos1 + 1, pos2 - pos1 - 1, dim, 0); ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/string:52:0, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/ios:42, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/istream:38, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/fstream:38, from /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:16: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2095:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, _CharT*, _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2095:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2106:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2106:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2117:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::pointer = char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2117:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2128:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator >] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2128:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2153:21: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] basic_string& replace(const_iterator __i1, const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2153:21: note: candidate expects 3 arguments, 4 provided make[3]: *** [src/cc/CMakeFiles/bcc-loader-static.dir/build.make:146: src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 24%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf.c.o [ 25%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o [ 26%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o [ 27%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf_dump.c.o [ 27%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o [ 28%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o [ 29%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/linker.c.o [ 30%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/gen_loader.c.o [ 30%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o [ 31%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o [ 31%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/hashmap.c.o [ 32%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf.c.o [ 33%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/relo_core.c.o [ 33%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/ringbuf.c.o [ 34%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_errno.c.o [ 34%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_probes.c.o [ 35%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o [ 36%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/linker.c.o [ 37%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/strset.c.o [ 38%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/netlink.c.o [ 38%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/nlattr.c.o [ 39%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/relo_core.c.o [ 40%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/ringbuf.c.o [ 40%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/str_error.c.o [ 41%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/strset.c.o [ 42%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/usdt.c.o [ 42%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/zip.c.o [ 43%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/bcc_syms.cc.o [ 44%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_elf.c.o [ 44%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_perf_map.c.o [ 45%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_proc.c.o [ 46%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_zip.c.o [ 47%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/common.cc.o [ 47%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt.cc.o [ 48%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt_args.cc.o [ 48%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/usdt.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[2]: *** [CMakeFiles/Makefile2:515: src/cc/CMakeFiles/bcc-loader-static.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 49%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/zip.c.o [ 50%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/bcc_syms.cc.o [ 50%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_elf.c.o [ 51%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_perf_map.c.o [ 52%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_proc.c.o [ 52%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_zip.c.o [ 53%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/common.cc.o [ 54%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt.cc.o /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc: In function 'ebpf::field_kind_t ebpf::_get_field_kind(const string&, std::__cxx11::string&, std::__cxx11::string&, int*)': /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:178:59: error: no matching function for call to 'std::__cxx11::basic_string::replace(long unsigned int, long unsigned int, std::__cxx11::basic_string&, int)' field_name.replace(pos1 + 1, pos2 - pos1 - 1, dim, 0); ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/string:52:0, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/ios:42, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/istream:38, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/fstream:38, from /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:16: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1861:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n, const basic_string& __str) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1861:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1883:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos1, size_type __n1, const basic_string& __str, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1883:7: note: candidate expects 5 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1908:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, const _CharT* __s, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1908:7: note: no known conversion for argument 3 from 'std::__cxx11::basic_string' to 'const char*' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1933:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, const _CharT* __s) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1933:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1957:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1957:7: note: no known conversion for argument 3 from 'std::__cxx11::basic_string' to 'std::__cxx11::basic_string::size_type {aka long unsigned int}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1975:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1975:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1995:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1995:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2017:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, const _CharT* __s) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2017:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2038:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(__const_iterator __i1, __const_iterator __i2, size_type __n, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2038:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2065:9: note: candidate: template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] replace(const_iterator __i1, const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2065:9: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:178:59: note: deduced conflicting types for parameter '_InputIterator' ('std::__cxx11::basic_string' and 'int') field_name.replace(pos1 + 1, pos2 - pos1 - 1, dim, 0); ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/string:52:0, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/ios:42, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/istream:38, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/fstream:38, from /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:16: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2095:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, _CharT*, _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2095:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2106:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2106:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2117:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::pointer = char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2117:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2128:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator >] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2128:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2153:21: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] basic_string& replace(const_iterator __i1, const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2153:21: note: candidate expects 3 arguments, 4 provided [ 54%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt_args.cc.o make[3]: *** [src/cc/CMakeFiles/bpf-shared.dir/build.make:426: src/cc/CMakeFiles/bpf-shared.dir/common.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 54%] Built target api-objects [ 55%] Linking CXX static library libapi-static.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 55%] Built target api-static /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc: In function 'ebpf::field_kind_t ebpf::_get_field_kind(const string&, std::__cxx11::string&, std::__cxx11::string&, int*)': /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:178:59: error: no matching function for call to 'std::__cxx11::basic_string::replace(long unsigned int, long unsigned int, std::__cxx11::basic_string&, int)' field_name.replace(pos1 + 1, pos2 - pos1 - 1, dim, 0); ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/string:52:0, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/ios:42, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/istream:38, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/fstream:38, from /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:16: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1861:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n, const basic_string& __str) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1861:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1883:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos1, size_type __n1, const basic_string& __str, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1883:7: note: candidate expects 5 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1908:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, const _CharT* __s, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1908:7: note: no known conversion for argument 3 from 'std::__cxx11::basic_string' to 'const char*' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1933:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, const _CharT* __s) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1933:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1957:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1957:7: note: no known conversion for argument 3 from 'std::__cxx11::basic_string' to 'std::__cxx11::basic_string::size_type {aka long unsigned int}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1975:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1975:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1995:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:1995:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2017:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, const _CharT* __s) ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2017:7: note: candidate expects 3 arguments, 4 provided /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2038:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] replace(__const_iterator __i1, __const_iterator __i2, size_type __n, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2038:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2065:9: note: candidate: template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] replace(const_iterator __i1, const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2065:9: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:178:59: note: deduced conflicting types for parameter '_InputIterator' ('std::__cxx11::basic_string' and 'int') field_name.replace(pos1 + 1, pos2 - pos1 - 1, dim, 0); ^ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/string:52:0, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/ios:42, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/istream:38, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/fstream:38, from /home/buildroot/instance-0/output-1/build/bcc-0.29.1/src/cc/common.cc:16: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2095:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, _CharT*, _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2095:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2106:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, const _CharT*, const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2106:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2117:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::pointer = char*] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2117:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2128:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator >] replace(__const_iterator __i1, __const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2128:7: note: no known conversion for argument 1 from 'long unsigned int' to 'std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator >}' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2153:21: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer = const char*] basic_string& replace(const_iterator __i1, const_iterator __i2, ^~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/aarch64-linux-gnu/include/c++/7.3.1/bits/basic_string.h:2153:21: note: candidate expects 3 arguments, 4 provided make[3]: *** [src/cc/CMakeFiles/bpf-static.dir/build.make:426: src/cc/CMakeFiles/bpf-static.dir/common.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 56%] Linking CXX static library libusdt-static.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 56%] Built target usdt-static make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[2]: *** [CMakeFiles/Makefile2:598: src/cc/CMakeFiles/bpf-shared.dir/all] Error 2 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[2]: *** [CMakeFiles/Makefile2:572: src/cc/CMakeFiles/bpf-static.dir/all] Error 2 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 56%] Built target clang_frontend-objects make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make[1]: *** [Makefile:146: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/bcc-0.29.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'