starting build "85060829-7b6e-4940-bdbc-8fbf81f2055a" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/docker Step #1: Sending build context to Docker daemon 5.12kB Step #1: Step 1/4 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: b549f31133a9: Pulling fs layer Step #1: 9c24ebce6de6: Pulling fs layer Step #1: 98c072d7ae8d: Pulling fs layer Step #1: a9b738d7fcdd: Pulling fs layer Step #1: 2af7c99e9fc6: Pulling fs layer Step #1: c1f0b15d02dc: Pulling fs layer Step #1: 90d311b1d188: Pulling fs layer Step #1: 06b6d8c57a7c: Pulling fs layer Step #1: bb7e036c3ed4: Pulling fs layer Step #1: 681a7021a112: Pulling fs layer Step #1: 7e52e3463fca: Pulling fs layer Step #1: 0c5b4d81d541: Pulling fs layer Step #1: 2072c9ddabc3: Pulling fs layer Step #1: fac04dccdbe5: Pulling fs layer Step #1: 73e9b38a68dd: Pulling fs layer Step #1: e83b229fadee: Pulling fs layer Step #1: 3f81dc9369e8: Pulling fs layer Step #1: ef55aa97e73c: Pulling fs layer Step #1: f78546c8ac3d: Pulling fs layer Step #1: 022bb6f26798: Pulling fs layer Step #1: 9526b1b40f40: Pulling fs layer Step #1: 4bce2ce3663d: Pulling fs layer Step #1: 876105f11e3e: Pulling fs layer Step #1: e8c3a365ab63: Pulling fs layer Step #1: 946c23731906: Pulling fs layer Step #1: 24a48b392450: Pulling fs layer Step #1: 7c1c7c664610: Pulling fs layer Step #1: 06b6d8c57a7c: Waiting Step #1: 92dd481acdad: Pulling fs layer Step #1: 9af24dbf487d: Pulling fs layer Step #1: bb7e036c3ed4: Waiting Step #1: a3b9a4bedf51: Pulling fs layer Step #1: a9b738d7fcdd: Waiting Step #1: 681a7021a112: Waiting Step #1: 2bab089e94ac: Pulling fs layer Step #1: 90d311b1d188: Waiting Step #1: 88c1f026fcff: Pulling fs layer Step #1: 2af7c99e9fc6: Waiting Step #1: 7e52e3463fca: Waiting Step #1: caf43f578f30: Pulling fs layer Step #1: 0c5b4d81d541: Waiting Step #1: c1f0b15d02dc: Waiting Step #1: 384e9c4397f2: Pulling fs layer Step #1: 2072c9ddabc3: Waiting Step #1: ef55aa97e73c: Waiting Step #1: 9526b1b40f40: Waiting Step #1: 73e9b38a68dd: Waiting Step #1: 4bce2ce3663d: Waiting Step #1: fac04dccdbe5: Waiting Step #1: 022bb6f26798: Waiting Step #1: e83b229fadee: Waiting Step #1: 876105f11e3e: Waiting Step #1: e8c3a365ab63: Waiting Step #1: f78546c8ac3d: Waiting Step #1: a3b9a4bedf51: Waiting Step #1: 946c23731906: Waiting Step #1: 24a48b392450: Waiting Step #1: 7c1c7c664610: Waiting Step #1: 2bab089e94ac: Waiting Step #1: 9af24dbf487d: Waiting Step #1: caf43f578f30: Waiting Step #1: 92dd481acdad: Waiting Step #1: 88c1f026fcff: Waiting Step #1: 384e9c4397f2: Waiting Step #1: 98c072d7ae8d: Verifying Checksum Step #1: 98c072d7ae8d: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: a9b738d7fcdd: Verifying Checksum Step #1: a9b738d7fcdd: Download complete Step #1: 2af7c99e9fc6: Verifying Checksum Step #1: 2af7c99e9fc6: Download complete Step #1: c1f0b15d02dc: Download complete Step #1: 06b6d8c57a7c: Download complete Step #1: 9c24ebce6de6: Verifying Checksum Step #1: 9c24ebce6de6: Download complete Step #1: bb7e036c3ed4: Download complete Step #1: b549f31133a9: Pull complete Step #1: 7e52e3463fca: Verifying Checksum Step #1: 7e52e3463fca: Download complete Step #1: 0c5b4d81d541: Verifying Checksum Step #1: 0c5b4d81d541: Download complete Step #1: 2072c9ddabc3: Download complete Step #1: fac04dccdbe5: Verifying Checksum Step #1: fac04dccdbe5: Download complete Step #1: 73e9b38a68dd: Verifying Checksum Step #1: 73e9b38a68dd: Download complete Step #1: e83b229fadee: Verifying Checksum Step #1: e83b229fadee: Download complete Step #1: 681a7021a112: Verifying Checksum Step #1: 681a7021a112: Download complete Step #1: 3f81dc9369e8: Verifying Checksum Step #1: 3f81dc9369e8: Download complete Step #1: ef55aa97e73c: Verifying Checksum Step #1: ef55aa97e73c: Download complete Step #1: f78546c8ac3d: Verifying Checksum Step #1: f78546c8ac3d: Download complete Step #1: 022bb6f26798: Verifying Checksum Step #1: 022bb6f26798: Download complete Step #1: 9526b1b40f40: Verifying Checksum Step #1: 9526b1b40f40: Download complete Step #1: 4bce2ce3663d: Download complete Step #1: 876105f11e3e: Verifying Checksum Step #1: 876105f11e3e: Download complete Step #1: e8c3a365ab63: Verifying Checksum Step #1: e8c3a365ab63: Download complete Step #1: 90d311b1d188: Verifying Checksum Step #1: 90d311b1d188: Download complete Step #1: 946c23731906: Verifying Checksum Step #1: 946c23731906: Download complete Step #1: 24a48b392450: Verifying Checksum Step #1: 24a48b392450: Download complete Step #1: 92dd481acdad: Verifying Checksum Step #1: 92dd481acdad: Download complete Step #1: 7c1c7c664610: Verifying Checksum Step #1: 7c1c7c664610: Download complete Step #1: 9af24dbf487d: Verifying Checksum Step #1: 9af24dbf487d: Download complete Step #1: 2bab089e94ac: Verifying Checksum Step #1: 2bab089e94ac: Download complete Step #1: 88c1f026fcff: Verifying Checksum Step #1: 88c1f026fcff: Download complete Step #1: a3b9a4bedf51: Verifying Checksum Step #1: a3b9a4bedf51: Download complete Step #1: caf43f578f30: Download complete Step #1: 384e9c4397f2: Verifying Checksum Step #1: 384e9c4397f2: Download complete Step #1: 9c24ebce6de6: Pull complete Step #1: 98c072d7ae8d: Pull complete Step #1: a9b738d7fcdd: Pull complete Step #1: 2af7c99e9fc6: Pull complete Step #1: c1f0b15d02dc: Pull complete Step #1: 90d311b1d188: Pull complete Step #1: 06b6d8c57a7c: Pull complete Step #1: bb7e036c3ed4: Pull complete Step #1: 681a7021a112: Pull complete Step #1: 7e52e3463fca: Pull complete Step #1: 0c5b4d81d541: Pull complete Step #1: 2072c9ddabc3: Pull complete Step #1: fac04dccdbe5: Pull complete Step #1: 73e9b38a68dd: Pull complete Step #1: e83b229fadee: Pull complete Step #1: 3f81dc9369e8: Pull complete Step #1: ef55aa97e73c: Pull complete Step #1: f78546c8ac3d: Pull complete Step #1: 022bb6f26798: Pull complete Step #1: 9526b1b40f40: Pull complete Step #1: 4bce2ce3663d: Pull complete Step #1: 876105f11e3e: Pull complete Step #1: e8c3a365ab63: Pull complete Step #1: 946c23731906: Pull complete Step #1: 24a48b392450: Pull complete Step #1: 7c1c7c664610: Pull complete Step #1: 92dd481acdad: Pull complete Step #1: 9af24dbf487d: Pull complete Step #1: a3b9a4bedf51: Pull complete Step #1: 2bab089e94ac: Pull complete Step #1: 88c1f026fcff: Pull complete Step #1: caf43f578f30: Pull complete Step #1: 384e9c4397f2: Pull complete Step #1: Digest: sha256:34aecf71b70d3c95427cce7cddf14e9981aed47454ad5b37368344972a6c799f Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 610ad45280fb Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/llvm/llvm-project.git Step #1: ---> Running in 49ee4b815124 Step #1: Cloning into 'llvm-project'... Step #1: Updating files: 6% (9104/151267) Updating files: 7% (10589/151267) Updating files: 8% (12102/151267) Updating files: 9% (13615/151267) Updating files: 10% (15127/151267) Updating files: 11% (16640/151267) Updating files: 12% (18153/151267) Updating files: 13% (19665/151267) Updating files: 13% (20394/151267) Updating files: 14% (21178/151267) Updating files: 15% (22691/151267) Updating files: 16% (24203/151267) Updating files: 17% (25716/151267) Updating files: 18% (27229/151267) Updating files: 19% (28741/151267) Updating files: 20% (30254/151267) Updating files: 21% (31767/151267) Updating files: 22% (33279/151267) Updating files: 22% (34025/151267) Updating files: 23% (34792/151267) Updating files: 24% (36305/151267) Updating files: 25% (37817/151267) Updating files: 26% (39330/151267) Updating files: 27% (40843/151267) Updating files: 28% (42355/151267) Updating files: 29% (43868/151267) Updating files: 30% (45381/151267) Updating files: 31% (46893/151267) Updating files: 31% (47832/151267) Updating files: 32% (48406/151267) Updating files: 33% (49919/151267) Updating files: 34% (51431/151267) Updating files: 35% (52944/151267) Updating files: 36% (54457/151267) Updating files: 37% (55969/151267) Updating files: 38% (57482/151267) Updating files: 39% (58995/151267) Updating files: 40% (60507/151267) Updating files: 40% (62007/151267) Updating files: 41% (62020/151267) Updating files: 42% (63533/151267) Updating files: 43% (65045/151267) Updating files: 44% (66558/151267) Updating files: 45% (68071/151267) Updating files: 46% (69583/151267) Updating files: 47% (71096/151267) Updating files: 48% (72609/151267) Updating files: 48% (73413/151267) Updating files: 49% (74121/151267) Updating files: 50% (75634/151267) Updating files: 51% (77147/151267) Updating files: 52% (78659/151267) Updating files: 52% (80023/151267) Updating files: 53% (80172/151267) Updating files: 54% (81685/151267) Updating files: 55% (83197/151267) Updating files: 56% (84710/151267) Updating files: 57% (86223/151267) Updating files: 58% (87735/151267) Updating files: 58% (88780/151267) Updating files: 59% (89248/151267) Updating files: 60% (90761/151267) Updating files: 61% (92273/151267) Updating files: 62% (93786/151267) Updating files: 63% (95299/151267) Updating files: 64% (96811/151267) Updating files: 65% (98324/151267) Updating files: 66% (99837/151267) Updating files: 66% (100989/151267) Updating files: 67% (101349/151267) Updating files: 68% (102862/151267) Updating files: 69% (104375/151267) Updating files: 70% (105887/151267) Updating files: 71% (107400/151267) Updating files: 72% (108913/151267) Updating files: 73% (110425/151267) Updating files: 73% (111089/151267) Updating files: 74% (111938/151267) Updating files: 75% (113451/151267) Updating files: 76% (114963/151267) Updating files: 77% (116476/151267) Updating files: 78% (117989/151267) Updating files: 79% (119501/151267) Updating files: 80% (121014/151267) Updating files: 81% (122527/151267) Updating files: 81% (123666/151267) Updating files: 82% (124039/151267) Updating files: 83% (125552/151267) Updating files: 84% (127065/151267) Updating files: 85% (128577/151267) Updating files: 86% (130090/151267) Updating files: 87% (131603/151267) Updating files: 88% (133115/151267) Updating files: 89% (134628/151267) Updating files: 90% (136141/151267) Updating files: 90% (136149/151267) Updating files: 91% (137653/151267) Updating files: 92% (139166/151267) Updating files: 93% (140679/151267) Updating files: 94% (142191/151267) Updating files: 95% (143704/151267) Updating files: 96% (145217/151267) Updating files: 96% (145899/151267) Updating files: 97% (146729/151267) Updating files: 98% (148242/151267) Updating files: 99% (149755/151267) Updating files: 100% (151267/151267) Updating files: 100% (151267/151267), done. Step #1: Removing intermediate container 49ee4b815124 Step #1: ---> 3caedb80ebe0 Step #1: Step 3/4 : WORKDIR llvm-project/libcxxabi Step #1: ---> Running in e8b854438df3 Step #1: Removing intermediate container e8b854438df3 Step #1: ---> baa6a574629a Step #1: Step 4/4 : COPY build.sh $SRC/ Step #1: ---> 2249eb0655a8 Step #1: Successfully built 2249eb0655a8 Step #1: Successfully tagged gcr.io/oss-fuzz/llvm_libcxxabi:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/llvm_libcxxabi Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileSq8mWP Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ c++ == \g\o ]] Step #2 - "srcmap": ++ find /src -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/llvm-project/.git Step #2 - "srcmap": + GIT_DIR=/src/llvm-project Step #2 - "srcmap": + cd /src/llvm-project Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/llvm/llvm-project.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=b83399eab603320d3c2998450f4ada83e7fe746c Step #2 - "srcmap": + jq_inplace /tmp/fileSq8mWP '."/src/llvm-project" = { type: "git", url: "https://github.com/llvm/llvm-project.git", rev: "b83399eab603320d3c2998450f4ada83e7fe746c" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileS1Esbc Step #2 - "srcmap": + cat /tmp/fileSq8mWP Step #2 - "srcmap": + jq '."/src/llvm-project" = { type: "git", url: "https://github.com/llvm/llvm-project.git", rev: "b83399eab603320d3c2998450f4ada83e7fe746c" }' Step #2 - "srcmap": + mv /tmp/fileS1Esbc /tmp/fileSq8mWP Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileSq8mWP Step #2 - "srcmap": + rm /tmp/fileSq8mWP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/llvm-project": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/llvm/llvm-project.git", Step #2 - "srcmap": "rev": "b83399eab603320d3c2998450f4ada83e7fe746c" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-afl-address-x86_64" Step #3 - "compile-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-afl-address-x86_64": Copying precompiled AFL++ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": AFL++ target compilation setup: Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_UNKNOWN_ENVS=1 Step #3 - "compile-afl-address-x86_64": AFL_QUIET=1 Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_PROBLEMS=1 Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": done. Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": CC=/src/aflplusplus/afl-clang-fast Step #3 - "compile-afl-address-x86_64": CXX=/src/aflplusplus/afl-clang-fast++ Step #3 - "compile-afl-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope Step #3 - "compile-afl-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ Step #3 - "compile-afl-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": + /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ -std=c++11 -g src/cxa_demangle.cpp -Iinclude fuzz/cxa_demangle_fuzzer.cpp -o /workspace/out/afl-address-x86_64/cxa_demangle_fuzzer /usr/lib/libFuzzingEngine.a Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #3 - "compile-afl-address-x86_64": /tmp/cxa_demangle-39bd04.o: in function `void (anonymous namespace)::itanium_demangle::Node::visit >(std::__1::reference_wrapper<(anonymous namespace)::DumpVisitor>) const': Step #3 - "compile-afl-address-x86_64": cxa_demangle.cpp:(.text._ZNK12_GLOBAL__N_116itanium_demangle4Node5visitINSt3__117reference_wrapperINS_11DumpVisitorEEEEEvT_[_ZNK12_GLOBAL__N_116itanium_demangle4Node5visitINSt3__117reference_wrapperINS_11DumpVisitorEEEEEvT_]+0xfcd): undefined reference to `__abort_message' Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: /tmp/cxa_demangle-39bd04.o: in function `__cxa_demangle': Step #3 - "compile-afl-address-x86_64": cxa_demangle.cpp:(.text.__cxa_demangle[__cxa_demangle]+0x192c): undefined reference to `__abort_message' Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: /tmp/cxa_demangle-39bd04.o: in function `(anonymous namespace)::itanium_demangle::AbstractManglingParser<(anonymous namespace)::itanium_demangle::ManglingParser<(anonymous namespace)::DefaultAllocator>, (anonymous namespace)::DefaultAllocator>::parseEncoding(bool)': Step #3 - "compile-afl-address-x86_64": cxa_demangle.cpp:(.text._ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEb[_ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEb]+0x297b): undefined reference to `__abort_message' Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: /tmp/cxa_demangle-39bd04.o: in function `(anonymous namespace)::itanium_demangle::AbstractManglingParser<(anonymous namespace)::itanium_demangle::ManglingParser<(anonymous namespace)::DefaultAllocator>, (anonymous namespace)::DefaultAllocator>::popTrailingNodeArray(unsigned long)': Step #3 - "compile-afl-address-x86_64": cxa_demangle.cpp:(.text._ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm[_ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm]+0x407): undefined reference to `__abort_message' Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: cxa_demangle.cpp:(.text._ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm[_ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm]+0x441): undefined reference to `__abort_message' Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: /tmp/cxa_demangle-39bd04.o:cxa_demangle.cpp:(.text._ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv[_ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv]+0xffd): more undefined references to `__abort_message' follow Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: /workspace/out/afl-address-x86_64/cxa_demangle_fuzzer: hidden symbol `__abort_message' isn't defined Step #3 - "compile-afl-address-x86_64": /usr/bin/ld: final link failed: bad value Step #3 - "compile-afl-address-x86_64": clang++: error: linker command failed with exit code 1 (use -v to see invocation) Step #3 - "compile-afl-address-x86_64": ******************************************************************************** Step #3 - "compile-afl-address-x86_64": Failed to build. Step #3 - "compile-afl-address-x86_64": To reproduce, run: Step #3 - "compile-afl-address-x86_64": python infra/helper.py build_image llvm_libcxxabi Step #3 - "compile-afl-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine afl --architecture x86_64 llvm_libcxxabi Step #3 - "compile-afl-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-afl-address-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1