>>> bcc 0.29.1 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/instance-0/output-1/build/.bcc-src-with-submodule.tar.gz.L4BYK3/output' 'https://github.com/iovisor/bcc/releases/download/v0.29.1/bcc-src-with-submodule.tar.gz' --2024-04-05 10:03:06-- https://github.com/iovisor/bcc/releases/download/v0.29.1/bcc-src-with-submodule.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/34921116/57e84164-23e4-43d5-82f1-3fe4f3022bd5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240405%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240405T100307Z&X-Amz-Expires=300&X-Amz-Signature=f7a4732d04c1095b0c0fe54b0459e02c59f59e9960dfb88852f97abf56b0d4c6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=34921116&response-content-disposition=attachment%3B%20filename%3Dbcc-src-with-submodule.tar.gz&response-content-type=application%2Foctet-stream [following] --2024-04-05 10:03:07-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/34921116/57e84164-23e4-43d5-82f1-3fe4f3022bd5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240405%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240405T100307Z&X-Amz-Expires=300&X-Amz-Signature=f7a4732d04c1095b0c0fe54b0459e02c59f59e9960dfb88852f97abf56b0d4c6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=34921116&response-content-disposition=attachment%3B%20filename%3Dbcc-src-with-submodule.tar.gz&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 10364902 (9.9M) [application/octet-stream] Saving to: '/home/buildroot/instance-0/output-1/build/.bcc-src-with-submodule.tar.gz.L4BYK3/output' 0K .......... .......... .......... .......... .......... 0% 5.65M 2s 50K .......... .......... .......... .......... .......... 0% 8.12M 1s 100K .......... .......... .......... .......... .......... 1% 40.1M 1s 150K .......... .......... .......... .......... .......... 1% 29.6M 1s 200K .......... .......... .......... .......... .......... 2% 13.5M 1s 250K .......... .......... .......... .......... .......... 2% 52.1M 1s 300K .......... .......... .......... .......... .......... 3% 52.0M 1s 350K .......... .......... .......... .......... .......... 3% 50.7M 1s 400K .......... .......... .......... .......... .......... 4% 17.9M 1s 450K .......... .......... .......... .......... .......... 4% 64.2M 1s 500K .......... .......... .......... .......... .......... 5% 124M 0s 550K .......... .......... .......... .......... .......... 5% 72.1M 0s 600K .......... .......... .......... .......... .......... 6% 76.1M 0s 650K .......... .......... .......... .......... .......... 6% 109M 0s 700K .......... .......... .......... .......... .......... 7% 116M 0s 750K .......... .......... .......... .......... .......... 7% 89.5M 0s 800K .......... .......... .......... .......... .......... 8% 116M 0s 850K .......... .......... .......... .......... .......... 8% 27.6M 0s 900K .......... .......... .......... .......... .......... 9% 119M 0s 950K .......... .......... .......... .......... .......... 9% 105M 0s 1000K .......... .......... .......... .......... .......... 10% 98.0M 0s 1050K .......... .......... .......... .......... .......... 10% 116M 0s 1100K .......... .......... .......... .......... .......... 11% 121M 0s 1150K .......... .......... .......... .......... .......... 11% 85.6M 0s 1200K .......... .......... .......... .......... .......... 12% 113M 0s 1250K .......... .......... .......... .......... .......... 12% 112M 0s 1300K .......... .......... .......... .......... .......... 13% 114M 0s 1350K .......... .......... .......... .......... .......... 13% 109M 0s 1400K .......... .......... .......... .......... .......... 14% 109M 0s 1450K .......... .......... .......... .......... .......... 14% 112M 0s 1500K .......... .......... .......... .......... .......... 15% 107M 0s 1550K .......... .......... .......... .......... .......... 15% 96.1M 0s 1600K .......... .......... .......... .......... .......... 16% 112M 0s 1650K .......... .......... .......... .......... .......... 16% 111M 0s 1700K .......... .......... .......... .......... .......... 17% 112M 0s 1750K .......... .......... .......... .......... .......... 17% 105M 0s 1800K .......... .......... .......... .......... .......... 18% 113M 0s 1850K .......... .......... .......... .......... .......... 18% 109M 0s 1900K .......... .......... .......... .......... .......... 19% 120M 0s 1950K .......... .......... .......... .......... .......... 19% 87.1M 0s 2000K .......... .......... .......... .......... .......... 20% 114M 0s 2050K .......... .......... .......... .......... .......... 20% 112M 0s 2100K .......... .......... .......... .......... .......... 21% 114M 0s 2150K .......... .......... .......... .......... .......... 21% 104M 0s 2200K .......... .......... .......... .......... .......... 22% 112M 0s 2250K .......... .......... .......... .......... .......... 22% 117M 0s 2300K .......... .......... .......... .......... .......... 23% 115M 0s 2350K .......... .......... .......... .......... .......... 23% 88.6M 0s 2400K .......... .......... .......... .......... .......... 24% 115M 0s 2450K .......... .......... .......... .......... .......... 24% 108M 0s 2500K .......... .......... .......... .......... .......... 25% 115M 0s 2550K .......... .......... .......... .......... .......... 25% 105M 0s 2600K .......... .......... .......... .......... .......... 26% 112M 0s 2650K .......... .......... .......... .......... .......... 26% 113M 0s 2700K .......... .......... .......... .......... .......... 27% 115M 0s 2750K .......... .......... .......... .......... .......... 27% 87.2M 0s 2800K .......... .......... .......... .......... .......... 28% 112M 0s 2850K .......... .......... .......... .......... .......... 28% 116M 0s 2900K .......... .......... .......... .......... .......... 29% 115M 0s 2950K .......... .......... .......... .......... .......... 29% 103M 0s 3000K .......... .......... .......... .......... .......... 30% 5.15M 0s 3050K .......... .......... .......... .......... .......... 30% 215M 0s 3100K .......... .......... .......... .......... .......... 31% 213M 0s 3150K .......... .......... .......... .......... .......... 31% 186M 0s 3200K .......... .......... .......... .......... .......... 32% 221M 0s 3250K .......... .......... .......... .......... .......... 32% 221M 0s 3300K .......... .......... .......... .......... .......... 33% 203M 0s 3350K .......... .......... .......... .......... .......... 33% 191M 0s 3400K .......... .......... .......... .......... .......... 34% 220M 0s 3450K .......... .......... .......... .......... .......... 34% 223M 0s 3500K .......... .......... .......... .......... .......... 35% 220M 0s 3550K .......... .......... .......... .......... .......... 35% 185M 0s 3600K .......... .......... .......... .......... .......... 36% 214M 0s 3650K .......... .......... .......... .......... .......... 36% 221M 0s 3700K .......... .......... .......... .......... .......... 37% 222M 0s 3750K .......... .......... .......... .......... .......... 37% 198M 0s 3800K .......... .......... .......... .......... .......... 38% 221M 0s 3850K .......... .......... .......... .......... .......... 38% 188M 0s 3900K .......... .......... .......... .......... .......... 39% 220M 0s 3950K .......... .......... .......... .......... .......... 39% 222M 0s 4000K .......... .......... .......... .......... .......... 40% 216M 0s 4050K .......... .......... .......... .......... .......... 40% 2.07M 0s 4100K .......... .......... .......... .......... .......... 40% 175M 0s 4150K .......... .......... .......... .......... .......... 41% 166M 0s 4200K .......... .......... .......... .......... .......... 41% 118M 0s 4250K .......... .......... .......... .......... .......... 42% 108M 0s 4300K .......... .......... .......... .......... .......... 42% 64.1M 0s 4350K .......... .......... .......... .......... .......... 43% 112M 0s 4400K .......... .......... .......... .......... .......... 43% 119M 0s 4450K .......... .......... .......... .......... .......... 44% 89.2M 0s 4500K .......... .......... .......... .......... .......... 44% 98.1M 0s 4550K .......... .......... .......... .......... .......... 45% 115M 0s 4600K .......... .......... .......... .......... .......... 45% 112M 0s 4650K .......... .......... .......... .......... .......... 46% 113M 0s 4700K .......... .......... .......... .......... .......... 46% 112M 0s 4750K .......... .......... .......... .......... .......... 47% 87.3M 0s 4800K .......... .......... .......... .......... .......... 47% 121M 0s 4850K .......... .......... .......... .......... .......... 48% 60.9M 0s 4900K .......... .......... .......... .......... .......... 48% 117M 0s 4950K .......... .......... .......... .......... .......... 49% 107M 0s 5000K .......... .......... .......... .......... .......... 49% 111M 0s 5050K .......... .......... .......... .......... .......... 50% 115M 0s 5100K .......... .......... .......... .......... .......... 50% 113M 0s 5150K .......... .......... .......... .......... .......... 51% 86.1M 0s 5200K .......... .......... .......... .......... .......... 51% 91.9M 0s 5250K .......... .......... .......... .......... .......... 52% 121M 0s 5300K .......... .......... .......... .......... .......... 52% 46.6M 0s 5350K .......... .......... .......... .......... .......... 53% 102M 0s 5400K .......... .......... .......... .......... .......... 53% 113M 0s 5450K .......... .......... .......... .......... .......... 54% 118M 0s 5500K .......... .......... .......... .......... .......... 54% 111M 0s 5550K .......... .......... .......... .......... .......... 55% 87.8M 0s 5600K .......... .......... .......... .......... .......... 55% 117M 0s 5650K .......... .......... .......... .......... .......... 56% 109M 0s 5700K .......... .......... .......... .......... .......... 56% 111M 0s 5750K .......... .......... .......... .......... .......... 57% 108M 0s 5800K .......... .......... .......... .......... .......... 57% 108M 0s 5850K .......... .......... .......... .......... .......... 58% 118M 0s 5900K .......... .......... .......... .......... .......... 58% 112M 0s 5950K .......... .......... .......... .......... .......... 59% 89.8M 0s 6000K .......... .......... .......... .......... .......... 59% 109M 0s 6050K .......... .......... .......... .......... .......... 60% 113M 0s 6100K .......... .......... .......... .......... .......... 60% 116M 0s 6150K .......... .......... .......... .......... .......... 61% 101M 0s 6200K .......... .......... .......... .......... .......... 61% 113M 0s 6250K .......... .......... .......... .......... .......... 62% 114M 0s 6300K .......... .......... .......... .......... .......... 62% 99.9M 0s 6350K .......... .......... .......... .......... .......... 63% 89.5M 0s 6400K .......... .......... .......... .......... .......... 63% 117M 0s 6450K .......... .......... .......... .......... .......... 64% 111M 0s 6500K .......... .......... .......... .......... .......... 64% 91.1M 0s 6550K .......... .......... .......... .......... .......... 65% 67.0M 0s 6600K .......... .......... .......... .......... .......... 65% 94.1M 0s 6650K .......... .......... .......... .......... .......... 66% 114M 0s 6700K .......... .......... .......... .......... .......... 66% 112M 0s 6750K .......... .......... .......... .......... .......... 67% 92.5M 0s 6800K .......... .......... .......... .......... .......... 67% 38.8M 0s 6850K .......... .......... .......... .......... .......... 68% 47.6M 0s 6900K .......... .......... .......... .......... .......... 68% 116M 0s 6950K .......... .......... .......... .......... .......... 69% 106M 0s 7000K .......... .......... .......... .......... .......... 69% 110M 0s 7050K .......... .......... .......... .......... .......... 70% 116M 0s 7100K .......... .......... .......... .......... .......... 70% 113M 0s 7150K .......... .......... .......... .......... .......... 71% 90.9M 0s 7200K .......... .......... .......... .......... .......... 71% 113M 0s 7250K .......... .......... .......... .......... .......... 72% 111M 0s 7300K .......... .......... .......... .......... .......... 72% 112M 0s 7350K .......... .......... .......... .......... .......... 73% 105M 0s 7400K .......... .......... .......... .......... .......... 73% 111M 0s 7450K .......... .......... .......... .......... .......... 74% 114M 0s 7500K .......... .......... .......... .......... .......... 74% 112M 0s 7550K .......... .......... .......... .......... .......... 75% 90.1M 0s 7600K .......... .......... .......... .......... .......... 75% 117M 0s 7650K .......... .......... .......... .......... .......... 76% 102M 0s 7700K .......... .......... .......... .......... .......... 76% 109M 0s 7750K .......... .......... .......... .......... .......... 77% 124M 0s 7800K .......... .......... .......... .......... .......... 77% 112M 0s 7850K .......... .......... .......... .......... .......... 78% 111M 0s 7900K .......... .......... .......... .......... .......... 78% 112M 0s 7950K .......... .......... .......... .......... .......... 79% 87.9M 0s 8000K .......... .......... .......... .......... .......... 79% 113M 0s 8050K .......... .......... .......... .......... .......... 80% 113M 0s 8100K .......... .......... .......... .......... .......... 80% 107M 0s 8150K .......... .......... .......... .......... .......... 81% 1023K 0s 8200K .......... .......... .......... .......... .......... 81% 90.7M 0s 8250K .......... .......... .......... .......... .......... 81% 121M 0s 8300K .......... .......... .......... .......... .......... 82% 113M 0s 8350K .......... .......... .......... .......... .......... 82% 62.9M 0s 8400K .......... .......... .......... .......... .......... 83% 114M 0s 8450K .......... .......... .......... .......... .......... 83% 111M 0s 8500K .......... .......... .......... .......... .......... 84% 110M 0s 8550K .......... .......... .......... .......... .......... 84% 113M 0s 8600K .......... .......... .......... .......... .......... 85% 110M 0s 8650K .......... .......... .......... .......... .......... 85% 100M 0s 8700K .......... .......... .......... .......... .......... 86% 117M 0s 8750K .......... .......... .......... .......... .......... 86% 114M 0s 8800K .......... .......... .......... .......... .......... 87% 113M 0s 8850K .......... .......... .......... .......... .......... 87% 86.8M 0s 8900K .......... .......... .......... .......... .......... 88% 112M 0s 8950K .......... .......... .......... .......... .......... 88% 112M 0s 9000K .......... .......... .......... .......... .......... 89% 113M 0s 9050K .......... .......... .......... .......... .......... 89% 108M 0s 9100K .......... .......... .......... .......... .......... 90% 112M 0s 9150K .......... .......... .......... .......... .......... 90% 112M 0s 9200K .......... .......... .......... .......... .......... 91% 114M 0s 9250K .......... .......... .......... .......... .......... 91% 99.4M 0s 9300K .......... .......... .......... .......... .......... 92% 108M 0s 9350K .......... .......... .......... .......... .......... 92% 111M 0s 9400K .......... .......... .......... .......... .......... 93% 116M 0s 9450K .......... .......... .......... .......... .......... 93% 86.1M 0s 9500K .......... .......... .......... .......... .......... 94% 112M 0s 9550K .......... .......... .......... .......... .......... 94% 113M 0s 9600K .......... .......... .......... .......... .......... 95% 111M 0s 9650K .......... .......... .......... .......... .......... 95% 104M 0s 9700K .......... .......... .......... .......... .......... 96% 114M 0s 9750K .......... .......... .......... .......... .......... 96% 106M 0s 9800K .......... .......... .......... .......... .......... 97% 112M 0s 9850K .......... .......... .......... .......... .......... 97% 116M 0s 9900K .......... .......... .......... .......... .......... 98% 113M 0s 9950K .......... .......... .......... .......... .......... 98% 85.6M 0s 10000K .......... .......... .......... .......... .......... 99% 112M 0s 10050K .......... .......... .......... .......... .......... 99% 112M 0s 10100K .......... .......... . 100% 198M=0.2s 2024-04-05 10:03:07 (50.6 MB/s) - '/home/buildroot/instance-0/output-1/build/.bcc-src-with-submodule.tar.gz.L4BYK3/output' saved [10364902/10364902] bcc-src-with-submodule.tar.gz: OK (sha256: 321575fa94f3274040379dd2d4535217f45099f4240b58a4dfc171aa8c78402f) >>> bcc 0.29.1 Extracting gzip -d -c /home/buildroot/instance-0/dl/bcc/bcc-src-with-submodule.tar.gz | 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 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.0s) 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]: 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' 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]: 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]: 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' [ 2%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o [ 3%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o [ 3%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o [ 3%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o [ 4%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/b_frontend_action.cc.o [ 4%] Building sdist for python3 [ 6%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o [ 6%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o [ 7%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o [ 8%] Building CXX object src/cc/api/CMakeFiles/api-objects.dir/BPF.cc.o [ 8%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o [ 8%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/kbuild_helper.cc.o [ 8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o [ 9%] Building CXX object tests/cc/CMakeFiles/debuginfo_test_lib.dir/debuginfo_test_lib.cc.o [ 9%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/tp_frontend_action.cc.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 10%] Building CXX object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.cc.o [ 11%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o [ 12%] Linking CXX shared library libdebuginfo_test_lib.so [ 12%] Linking CXX shared library libusdt_test_lib.so /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' [ 12%] Built target debuginfo_test_lib [ 13%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o [ 13%] Building C object src/cc/CMakeFiles/bpf-shared.dir/perf_reader.c.o 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 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' [ 14%] Built target zip_archive [ 15%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf.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]: 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' [ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o [ 16%] Built target debuginfo [ 16%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_zip.c.o running sdist running egg_info creating bcc.egg-info 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]: Entering 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]: Leaving 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 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]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 17%] Generating with_gnu_debuglink.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' removing 'bcc-0.29.1' (and everything under it) [ 17%] Built target with_gnu_debuglink make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 18%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o 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' [ 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' [ 19%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o 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 [ 21%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o [ 22%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf_prog_linfo.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 22%] Built target bcc_py_python3 [ 22%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf.c.o [ 23%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o [ 24%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf_dump.c.o [ 25%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/gen_loader.c.o [ 25%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/hashmap.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 [ 26%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf.c.o 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.... [ 27%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_errno.c.o [ 27%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/gen_loader.c.o [ 27%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_probes.c.o [ 28%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/linker.c.o [ 29%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o [ 31%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o [ 31%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/netlink.c.o [ 32%] Building CXX object src/cc/api/CMakeFiles/api-objects.dir/BPFTable.cc.o [ 32%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o [ 33%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o [ 34%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/linker.c.o [ 34%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/nlattr.c.o [ 35%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/relo_core.c.o [ 36%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/ringbuf.c.o [ 36%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o [ 37%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o [ 38%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/relo_core.c.o [ 38%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/str_error.c.o [ 39%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/strset.c.o [ 39%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/ringbuf.c.o [ 40%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o [ 41%] Building C object src/cc/CMakeFiles/bpf-static.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-static.dir/libbpf/src/usdt.c.o [ 43%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/zip.c.o [ 44%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/bcc_syms.cc.o [ 44%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/zip.c.o [ 44%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_elf.c.o [ 45%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_perf_map.c.o [ 46%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_proc.c.o [ 47%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/bcc_syms.cc.o [ 48%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_elf.c.o [ 48%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_zip.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.... [ 48%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_perf_map.c.o [ 49%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_proc.c.o [ 50%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/common.cc.o [ 51%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_zip.c.o [ 52%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/common.cc.o [ 52%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt.cc.o [ 53%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt_args.cc.o [ 54%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt.cc.o [ 54%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt_args.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 /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 [ 55%] Linking CXX static library libapi-static.a 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.... make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/bcc-0.29.1' [ 55%] Built target api-static 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' [ 55%] Built target api-objects [ 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: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' 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' [ 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:283: /home/buildroot/instance-0/output-1/build/bcc-0.29.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'