[clang] [compiler-rt] [lld] [llvm] [Coverage][WebAssembly] Add initial support for WebAssembly/WASI (PR #111332)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 14:42:12 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-shared` running on `bolt-worker` while building `clang,compiler-rt,lld,llvm` at step 6 "test-build-bolt-check-bolt".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/151/builds/2770

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-bolt-check-bolt) failure: test (failure)
...
14.139 [366/18/1225] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o
14.143 [365/18/1226] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o
14.159 [364/18/1227] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o
14.159 [363/18/1228] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o
14.177 [362/18/1229] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o
14.181 [361/18/1230] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o
14.203 [360/18/1231] Building CXX object tools/lld/wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o
14.208 [359/18/1232] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o
14.216 [358/18/1233] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o
14.264 [357/18/1234] Linking CXX shared library lib/liblldWasm.so.20.0git
FAILED: lib/liblldWasm.so.20.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics   -Wl,--gc-sections -shared -Wl,-soname,liblldWasm.so.20.0git -o lib/liblldWasm.so.20.0git tools/lld/wasm/CMakeFiles/lldWasm.dir/Driver.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/InputChunks.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/InputFiles.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/LTO.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/MapFile.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/MarkLive.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/OutputSections.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/OutputSegment.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/Relocations.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/SymbolTable.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/Symbols.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/SyntheticSections.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o tools/lld/wasm/CMakeFiles/lldWasm.dir/WriterUtils.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/lib:"  lib/liblldCommon.so.20.0git  lib/libLLVMX86CodeGen.so.20.0git  lib/libLLVMX86AsmParser.so.20.0git  lib/libLLVMX86Desc.so.20.0git  lib/libLLVMX86Disassembler.so.20.0git  lib/libLLVMX86Info.so.20.0git  lib/libLLVMAArch64CodeGen.so.20.0git  lib/libLLVMAArch64AsmParser.so.20.0git  lib/libLLVMAArch64Disassembler.so.20.0git  lib/libLLVMRISCVCodeGen.so.20.0git  lib/libLLVMRISCVAsmParser.so.20.0git  lib/libLLVMRISCVDisassembler.so.20.0git  lib/libLLVMLTO.so.20.0git  lib/libLLVMOption.so.20.0git  lib/libLLVMPasses.so.20.0git  lib/libLLVMAArch64Desc.so.20.0git  lib/libLLVMAArch64Info.so.20.0git  lib/libLLVMAArch64Utils.so.20.0git  lib/libLLVMRISCVDesc.so.20.0git  lib/libLLVMRISCVInfo.so.20.0git  lib/libLLVMObject.so.20.0git  lib/libLLVMMC.so.20.0git  lib/libLLVMCore.so.20.0git  lib/libLLVMBinaryFormat.so.20.0git  lib/libLLVMTargetParser.so.20.0git  lib/libLLVMSupport.so.20.0git  lib/libLLVMDemangle.so.20.0git  -Wl,-rpath-link,/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/lib && :
ld.lld: error: undefined symbol: llvm::getInstrProfSectionName[abi:cxx11](llvm::InstrProfSectKind, llvm::Triple::ObjectFormatType, bool)
>>> referenced by InputFiles.cpp
>>>               tools/lld/wasm/CMakeFiles/lldWasm.dir/InputFiles.cpp.o:(lld::wasm::ObjFile::parse(bool))
>>> referenced by InputFiles.cpp
>>>               tools/lld/wasm/CMakeFiles/lldWasm.dir/InputFiles.cpp.o:(lld::wasm::ObjFile::parse(bool))
collect2: error: ld returned 1 exit status
14.415 [357/17/1235] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o
14.539 [357/16/1236] Building CXX object tools/clang/lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o
14.586 [357/15/1237] Building CXX object tools/clang/lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o
14.640 [357/14/1238] Building CXX object tools/clang/lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o
14.642 [357/13/1239] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o
14.647 [357/12/1240] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o
14.655 [357/11/1241] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o
14.658 [357/10/1242] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o
14.672 [357/9/1243] Building CXX object tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o
14.691 [357/8/1244] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o
14.741 [357/7/1245] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o
14.775 [357/6/1246] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o
14.796 [357/5/1247] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o
16.296 [357/4/1248] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o
16.699 [357/3/1249] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o
16.759 [357/2/1250] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
24.950 [357/1/1251] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/111332


More information about the cfe-commits mailing list