starting build "c18306db-6ec4-489b-99cb-e2b7ca1ab55a" 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: 160496dfdc1e: Pulling fs layer Step #1: e2c1e6ffb55e: Pulling fs layer Step #1: 790f0b60d601: Pulling fs layer Step #1: ba5377523637: Pulling fs layer Step #1: fcf19af99e9b: Pulling fs layer Step #1: c120616e8611: Pulling fs layer Step #1: 648979ff9271: Pulling fs layer Step #1: 38b58f40b986: Pulling fs layer Step #1: 6fec27639895: Pulling fs layer Step #1: 6311c17bee61: Pulling fs layer Step #1: 63cd1cde0eec: Pulling fs layer Step #1: 1ef02760f71f: Pulling fs layer Step #1: fda5a71c8862: Pulling fs layer Step #1: 7ad2f7c615a2: Pulling fs layer Step #1: 0b07407e6342: Pulling fs layer Step #1: fbed995eca46: Pulling fs layer Step #1: 4381c7f8884c: Pulling fs layer Step #1: bd3393df7542: Pulling fs layer Step #1: f8afaf16f210: Pulling fs layer Step #1: 086216b75b6f: Pulling fs layer Step #1: ebb3d4059a93: Pulling fs layer Step #1: 1cb7b39b268b: Pulling fs layer Step #1: fd1f752e3c9f: Pulling fs layer Step #1: 84db406b755d: Pulling fs layer Step #1: 3968f7202bef: Pulling fs layer Step #1: 37c0a55501a4: Pulling fs layer Step #1: fddacf1580ff: Pulling fs layer Step #1: 3c790d5687e6: Pulling fs layer Step #1: 0fcda4deea49: Pulling fs layer Step #1: cfc1aaab3799: Pulling fs layer Step #1: 5764b068ae0e: Pulling fs layer Step #1: c120616e8611: Waiting Step #1: 790f0b60d601: Waiting Step #1: 648979ff9271: Waiting Step #1: 38b58f40b986: Waiting Step #1: ba5377523637: Waiting Step #1: 086216b75b6f: Waiting Step #1: 6fec27639895: Waiting Step #1: ebb3d4059a93: Waiting Step #1: fddacf1580ff: Waiting Step #1: 1cb7b39b268b: Waiting Step #1: 3c790d5687e6: Waiting Step #1: fcf19af99e9b: Waiting Step #1: 0b07407e6342: Waiting Step #1: fd1f752e3c9f: Waiting Step #1: fbed995eca46: Waiting Step #1: 5764b068ae0e: Waiting Step #1: 84db406b755d: Waiting Step #1: 0fcda4deea49: Waiting Step #1: 4381c7f8884c: Waiting Step #1: 6311c17bee61: Waiting Step #1: 3968f7202bef: Waiting Step #1: 37c0a55501a4: Waiting Step #1: 63cd1cde0eec: Waiting Step #1: cfc1aaab3799: Waiting Step #1: bd3393df7542: Waiting Step #1: fda5a71c8862: Waiting Step #1: 1ef02760f71f: Waiting Step #1: 7ad2f7c615a2: Waiting Step #1: e2c1e6ffb55e: Verifying Checksum Step #1: e2c1e6ffb55e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ba5377523637: Verifying Checksum Step #1: ba5377523637: Download complete Step #1: 790f0b60d601: Verifying Checksum Step #1: 790f0b60d601: Download complete Step #1: fcf19af99e9b: Verifying Checksum Step #1: fcf19af99e9b: Download complete Step #1: 648979ff9271: Verifying Checksum Step #1: 648979ff9271: Download complete Step #1: 160496dfdc1e: Verifying Checksum Step #1: 160496dfdc1e: Download complete Step #1: 38b58f40b986: Verifying Checksum Step #1: 38b58f40b986: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6311c17bee61: Verifying Checksum Step #1: 6311c17bee61: Download complete Step #1: 63cd1cde0eec: Download complete Step #1: 1ef02760f71f: Verifying Checksum Step #1: 1ef02760f71f: Download complete Step #1: fda5a71c8862: Verifying Checksum Step #1: fda5a71c8862: Download complete Step #1: 7ad2f7c615a2: Verifying Checksum Step #1: 7ad2f7c615a2: Download complete Step #1: 0b07407e6342: Verifying Checksum Step #1: 0b07407e6342: Download complete Step #1: fbed995eca46: Verifying Checksum Step #1: fbed995eca46: Download complete Step #1: 4381c7f8884c: Verifying Checksum Step #1: 4381c7f8884c: Download complete Step #1: c120616e8611: Verifying Checksum Step #1: c120616e8611: Download complete Step #1: bd3393df7542: Verifying Checksum Step #1: bd3393df7542: Download complete Step #1: f8afaf16f210: Verifying Checksum Step #1: f8afaf16f210: Download complete Step #1: 086216b75b6f: Download complete Step #1: 6fec27639895: Verifying Checksum Step #1: 6fec27639895: Download complete Step #1: 1cb7b39b268b: Verifying Checksum Step #1: 1cb7b39b268b: Download complete Step #1: ebb3d4059a93: Download complete Step #1: 84db406b755d: Verifying Checksum Step #1: 84db406b755d: Download complete Step #1: 3968f7202bef: Verifying Checksum Step #1: 3968f7202bef: Download complete Step #1: fd1f752e3c9f: Download complete Step #1: 37c0a55501a4: Verifying Checksum Step #1: 37c0a55501a4: Download complete Step #1: fddacf1580ff: Verifying Checksum Step #1: fddacf1580ff: Download complete Step #1: cfc1aaab3799: Download complete Step #1: 0fcda4deea49: Download complete Step #1: 3c790d5687e6: Verifying Checksum Step #1: 3c790d5687e6: Download complete Step #1: 5764b068ae0e: Verifying Checksum Step #1: 5764b068ae0e: Download complete Step #1: 160496dfdc1e: Pull complete Step #1: e2c1e6ffb55e: Pull complete Step #1: 790f0b60d601: Pull complete Step #1: ba5377523637: Pull complete Step #1: fcf19af99e9b: Pull complete Step #1: c120616e8611: Pull complete Step #1: 648979ff9271: Pull complete Step #1: 38b58f40b986: Pull complete Step #1: 6fec27639895: Pull complete Step #1: 6311c17bee61: Pull complete Step #1: 63cd1cde0eec: Pull complete Step #1: 1ef02760f71f: Pull complete Step #1: fda5a71c8862: Pull complete Step #1: 7ad2f7c615a2: Pull complete Step #1: 0b07407e6342: Pull complete Step #1: fbed995eca46: Pull complete Step #1: 4381c7f8884c: Pull complete Step #1: bd3393df7542: Pull complete Step #1: f8afaf16f210: Pull complete Step #1: 086216b75b6f: Pull complete Step #1: ebb3d4059a93: Pull complete Step #1: 1cb7b39b268b: Pull complete Step #1: fd1f752e3c9f: Pull complete Step #1: 84db406b755d: Pull complete Step #1: 3968f7202bef: Pull complete Step #1: 37c0a55501a4: Pull complete Step #1: fddacf1580ff: Pull complete Step #1: 3c790d5687e6: Pull complete Step #1: 0fcda4deea49: Pull complete Step #1: cfc1aaab3799: Pull complete Step #1: 5764b068ae0e: Pull complete Step #1: Digest: sha256:b40f1a2ba14708e0ba1594dfbb4e460eb329c098f352ebac59ea72a2c9f7bbc8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 595c6f14e029 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/llvm/llvm-project.git Step #1: ---> Running in fdf00b8b549f Step #1: Cloning into 'llvm-project'... Step #1: Updating files: 5% (8813/150689) Updating files: 6% (9042/150689) Updating files: 7% (10549/150689) Updating files: 8% (12056/150689) Updating files: 9% (13563/150689) Updating files: 10% (15069/150689) Updating files: 11% (16576/150689) Updating files: 12% (18083/150689) Updating files: 13% (19590/150689) Updating files: 13% (19636/150689) Updating files: 14% (21097/150689) Updating files: 15% (22604/150689) Updating files: 16% (24111/150689) Updating files: 17% (25618/150689) Updating files: 18% (27125/150689) Updating files: 19% (28631/150689) Updating files: 20% (30138/150689) Updating files: 21% (31645/150689) Updating files: 21% (32813/150689) Updating files: 22% (33152/150689) Updating files: 23% (34659/150689) Updating files: 24% (36166/150689) Updating files: 25% (37673/150689) Updating files: 26% (39180/150689) Updating files: 27% (40687/150689) Updating files: 28% (42193/150689) Updating files: 29% (43700/150689) Updating files: 30% (45207/150689) Updating files: 30% (45384/150689) Updating files: 31% (46714/150689) Updating files: 32% (48221/150689) Updating files: 33% (49728/150689) Updating files: 34% (51235/150689) Updating files: 35% (52742/150689) Updating files: 36% (54249/150689) Updating files: 37% (55755/150689) Updating files: 38% (57262/150689) Updating files: 39% (58769/150689) Updating files: 39% (59609/150689) Updating files: 40% (60276/150689) Updating files: 41% (61783/150689) Updating files: 42% (63290/150689) Updating files: 43% (64797/150689) Updating files: 44% (66304/150689) Updating files: 45% (67811/150689) Updating files: 46% (69317/150689) Updating files: 47% (70824/150689) Updating files: 47% (71710/150689) Updating files: 48% (72331/150689) Updating files: 49% (73838/150689) Updating files: 50% (75345/150689) Updating files: 51% (76852/150689) Updating files: 52% (78359/150689) Updating files: 52% (78596/150689) Updating files: 53% (79866/150689) Updating files: 54% (81373/150689) Updating files: 55% (82879/150689) Updating files: 56% (84386/150689) Updating files: 57% (85893/150689) Updating files: 57% (86982/150689) Updating files: 58% (87400/150689) Updating files: 59% (88907/150689) Updating files: 60% (90414/150689) Updating files: 61% (91921/150689) Updating files: 62% (93428/150689) Updating files: 63% (94935/150689) Updating files: 64% (96441/150689) Updating files: 64% (97855/150689) Updating files: 65% (97948/150689) Updating files: 66% (99455/150689) Updating files: 67% (100962/150689) Updating files: 68% (102469/150689) Updating files: 69% (103976/150689) Updating files: 70% (105483/150689) Updating files: 71% (106990/150689) Updating files: 71% (107663/150689) Updating files: 72% (108497/150689) Updating files: 73% (110003/150689) Updating files: 74% (111510/150689) Updating files: 75% (113017/150689) Updating files: 76% (114524/150689) Updating files: 77% (116031/150689) Updating files: 78% (117538/150689) Updating files: 78% (118090/150689) Updating files: 79% (119045/150689) Updating files: 80% (120552/150689) Updating files: 81% (122059/150689) Updating files: 82% (123565/150689) Updating files: 83% (125072/150689) Updating files: 84% (126579/150689) Updating files: 85% (128086/150689) Updating files: 86% (129593/150689) Updating files: 86% (129922/150689) Updating files: 87% (131100/150689) Updating files: 88% (132607/150689) Updating files: 89% (134114/150689) Updating files: 90% (135621/150689) Updating files: 91% (137127/150689) Updating files: 92% (138634/150689) Updating files: 93% (140141/150689) Updating files: 93% (140521/150689) Updating files: 94% (141648/150689) Updating files: 95% (143155/150689) Updating files: 96% (144662/150689) Updating files: 97% (146169/150689) Updating files: 98% (147676/150689) Updating files: 99% (149183/150689) Updating files: 99% (150593/150689) Updating files: 100% (150689/150689) Updating files: 100% (150689/150689), done. Step #1: Removing intermediate container fdf00b8b549f Step #1: ---> 201335e6f884 Step #1: Step 3/4 : WORKDIR llvm-project/libcxxabi Step #1: ---> Running in 5a0b45b0aa7b Step #1: Removing intermediate container 5a0b45b0aa7b Step #1: ---> 3109630018e7 Step #1: Step 4/4 : COPY build.sh $SRC/ Step #1: ---> 227bcac26cf7 Step #1: Successfully built 227bcac26cf7 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/file0ZbKsO 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=5df84a75351d0e9c3e20d50ac1047c937e3b8e88 Step #2 - "srcmap": + jq_inplace /tmp/file0ZbKsO '."/src/llvm-project" = { type: "git", url: "https://github.com/llvm/llvm-project.git", rev: "5df84a75351d0e9c3e20d50ac1047c937e3b8e88" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileeYm6rd Step #2 - "srcmap": + cat /tmp/file0ZbKsO Step #2 - "srcmap": + jq '."/src/llvm-project" = { type: "git", url: "https://github.com/llvm/llvm-project.git", rev: "5df84a75351d0e9c3e20d50ac1047c937e3b8e88" }' Step #2 - "srcmap": + mv /tmp/fileeYm6rd /tmp/file0ZbKsO 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/file0ZbKsO Step #2 - "srcmap": + rm /tmp/file0ZbKsO 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": "5df84a75351d0e9c3e20d50ac1047c937e3b8e88" 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-3394cb.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-3394cb.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-3394cb.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-3394cb.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-3394cb.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