[clang] [Driver] Add toolchain for X86_64 UEFI target (PR #76838)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 19 13:25:22 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `clang` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/2986
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
[77/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-calls-Noinst-Test
[78/85] Generating ASAN_NOINST_TEST_OBJECTS.gtest-all.cc.powerpc64le-inline.o
[79/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-inline-Noinst-Test
[80/85] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.powerpc64le-calls.o
[81/85] Generating POWERPC64LELinuxDynamicConfig/Asan-powerpc64le-calls-Dynamic-Test
[82/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-calls-Test
[83/85] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.powerpc64le-inline.o
[84/85] Generating POWERPC64LELinuxDynamicConfig/Asan-powerpc64le-inline-Dynamic-Test
[85/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-inline-Test
[1159/1165] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
FAILED: tools/clang/unittests/Driver/ClangDriverTests
: && /usr/lib64/ccache/c++ -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-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -Wl,--gc-sections tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/DistroTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/DXCModeTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/GCCVersionTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/ModuleCacheTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibBuilderTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/SanitizerArgsTest.cpp.o -o tools/clang/unittests/Driver/ClangDriverTests -Wl,-rpath,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib lib/libLLVMAArch64CodeGen.so.20.0git lib/libLLVMAArch64AsmParser.so.20.0git lib/libLLVMAArch64Disassembler.so.20.0git lib/libLLVMAMDGPUCodeGen.so.20.0git lib/libLLVMAMDGPUAsmParser.so.20.0git lib/libLLVMAMDGPUDisassembler.so.20.0git lib/libLLVMARMCodeGen.so.20.0git lib/libLLVMARMAsmParser.so.20.0git lib/libLLVMARMDisassembler.so.20.0git lib/libLLVMAVRCodeGen.so.20.0git lib/libLLVMAVRAsmParser.so.20.0git lib/libLLVMAVRDesc.so.20.0git lib/libLLVMAVRDisassembler.so.20.0git lib/libLLVMAVRInfo.so.20.0git lib/libLLVMBPFCodeGen.so.20.0git lib/libLLVMBPFAsmParser.so.20.0git lib/libLLVMBPFDesc.so.20.0git lib/libLLVMBPFDisassembler.so.20.0git lib/libLLVMBPFInfo.so.20.0git lib/libLLVMHexagonCodeGen.so.20.0git lib/libLLVMHexagonAsmParser.so.20.0git lib/libLLVMHexagonDisassembler.so.20.0git lib/libLLVMLanaiCodeGen.so.20.0git lib/libLLVMLanaiAsmParser.so.20.0git lib/libLLVMLanaiDisassembler.so.20.0git lib/libLLVMLoongArchCodeGen.so.20.0git lib/libLLVMLoongArchAsmParser.so.20.0git lib/libLLVMLoongArchDisassembler.so.20.0git lib/libLLVMMipsCodeGen.so.20.0git lib/libLLVMMipsAsmParser.so.20.0git lib/libLLVMMipsDesc.so.20.0git lib/libLLVMMipsDisassembler.so.20.0git lib/libLLVMMipsInfo.so.20.0git lib/libLLVMMSP430CodeGen.so.20.0git lib/libLLVMMSP430AsmParser.so.20.0git lib/libLLVMMSP430Desc.so.20.0git lib/libLLVMMSP430Disassembler.so.20.0git lib/libLLVMMSP430Info.so.20.0git lib/libLLVMNVPTXCodeGen.so.20.0git lib/libLLVMNVPTXDesc.so.20.0git lib/libLLVMNVPTXInfo.so.20.0git lib/libLLVMPowerPCCodeGen.so.20.0git lib/libLLVMPowerPCAsmParser.so.20.0git lib/libLLVMPowerPCDesc.so.20.0git lib/libLLVMPowerPCDisassembler.so.20.0git lib/libLLVMPowerPCInfo.so.20.0git lib/libLLVMRISCVCodeGen.so.20.0git lib/libLLVMRISCVAsmParser.so.20.0git lib/libLLVMRISCVDisassembler.so.20.0git lib/libLLVMSparcCodeGen.so.20.0git lib/libLLVMSparcAsmParser.so.20.0git lib/libLLVMSparcDesc.so.20.0git lib/libLLVMSparcDisassembler.so.20.0git lib/libLLVMSparcInfo.so.20.0git lib/libLLVMSystemZCodeGen.so.20.0git lib/libLLVMSystemZAsmParser.so.20.0git lib/libLLVMSystemZDisassembler.so.20.0git lib/libLLVMVECodeGen.so.20.0git lib/libLLVMVEAsmParser.so.20.0git lib/libLLVMVEDesc.so.20.0git lib/libLLVMVEDisassembler.so.20.0git lib/libLLVMVEInfo.so.20.0git lib/libLLVMWebAssemblyCodeGen.so.20.0git lib/libLLVMWebAssemblyAsmParser.so.20.0git lib/libLLVMWebAssemblyDisassembler.so.20.0git lib/libLLVMWebAssemblyUtils.so.20.0git lib/libLLVMX86CodeGen.so.20.0git lib/libLLVMX86AsmParser.so.20.0git lib/libLLVMX86Desc.so.20.0git lib/libLLVMX86
CoreDisassembler.so.20.0git lib/libLLVMXCoreInfo.so.20.0git -lpthread lib/libllvm_gtest_main.so.20.0git lib/libllvm_gtest.so.20.0git -lpthread lib/libclangFrontend.so.20.0git lib/libLLVMAArch64Desc.so.20.0git lib/libLLVMAArch64Info.so.20.0git lib/libLLVMAArch64Utils.so.20.0git lib/libLLVMAMDGPUDesc.so.20.0git lib/libLLVMAMDGPUInfo.so.20.0git lib/libLLVMAMDGPUUtils.so.20.0git lib/libLLVMARMDesc.so.20.0git lib/libLLVMARMInfo.so.20.0git lib/libLLVMARMUtils.so.20.0git lib/libLLVMHexagonDesc.so.20.0git lib/libLLVMHexagonInfo.so.20.0git lib/libLLVMLanaiDesc.so.20.0git lib/libLLVMLanaiInfo.so.20.0git lib/libLLVMLoongArchDesc.so.20.0git lib/libLLVMLoongArchInfo.so.20.0git lib/libLLVMRISCVDesc.so.20.0git lib/libLLVMRISCVInfo.so.20.0git lib/libLLVMSystemZDesc.so.20.0git lib/libLLVMSystemZInfo.so.20.0git lib/libLLVMWebAssemblyDesc.so.20.0git lib/libLLVMWebAssemblyInfo.so.20.0git lib/libclangDriver.so.20.0git lib/libLLVMOption.so.20.0git lib/libclangBasic.so.20.0git lib/libLLVMMC.so.20.0git lib/libLLVMTargetParser.so.20.0git lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib && :
/usr/bin/ld: tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o: undefined reference to symbol '_ZN5clang22PCHContainerOperationsC1Ev'
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/libclangSerialization.so.20.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[1160/1165] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
ninja: build stopped: subcommand failed.
Step 11 (ninja check 2) failure: stage 2 checked (failure)
...
2 warning(s) in tests
Testing Time: 181.18s
Total Discovered Tests: 4263
Skipped : 9 (0.21%)
Unsupported : 1158 (27.16%)
Passed : 3054 (71.64%)
Expectedly Failed: 42 (0.99%)
[890/1165] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
FAILED: tools/clang/unittests/Driver/ClangDriverTests
: && /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1.install/bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -Wl,--gc-sections tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/DistroTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/DXCModeTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/GCCVersionTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/ModuleCacheTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibBuilderTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibTest.cpp.o tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/SanitizerArgsTest.cpp.o -o tools/clang/unittests/Driver/ClangDriverTests -Wl,-rpath,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib lib/libLLVMAArch64CodeGen.so.20.0git lib/libLLVMAArch64AsmParser.so.20.0git lib/libLLVMAArch64Disassembler.so.20.0git lib/libLLVMAMDGPUCodeGen.so.20.0git lib/libLLVMAMDGPUAsmParser.so.20.0git lib/libLLVMAMDGPUDisassembler.so.20.0git lib/libLLVMARMCodeGen.so.20.0git lib/libLLVMARMAsmParser.so.20.0git lib/libLLVMARMDisassembler.so.20.0git lib/libLLVMAVRCodeGen.so.20.0git lib/libLLVMAVRAsmParser.so.20.0git lib/libLLVMAVRDesc.so.20.0git lib/libLLVMAVRDisassembler.so.20.0git lib/libLLVMAVRInfo.so.20.0git lib/libLLVMBPFCodeGen.so.20.0git lib/libLLVMBPFAsmParser.so.20.0git lib/libLLVMBPFDesc.so.20.0git lib/libLLVMBPFDisassembler.so.20.0git lib/libLLVMBPFInfo.so.20.0git lib/libLLVMHexagonCodeGen.so.20.0git lib/libLLVMHexagonAsmParser.so.20.0git lib/libLLVMHexagonDisassembler.so.20.0git lib/libLLVMLanaiCodeGen.so.20.0git lib/libLLVMLanaiAsmParser.so.20.0git lib/libLLVMLanaiDisassembler.so.20.0git lib/libLLVMLoongArchCodeGen.so.20.0git lib/libLLVMLoongArchAsmParser.so.20.0git lib/libLLVMLoongArchDisassembler.so.20.0git lib/libLLVMMipsCodeGen.so.20.0git lib/libLLVMMipsAsmParser.so.20.0git lib/libLLVMMipsDesc.so.20.0git lib/libLLVMMipsDisassembler.so.20.0git lib/libLLVMMipsInfo.so.20.0git lib/libLLVMMSP430CodeGen.so.20.0git lib/libLLVMMSP430AsmParser.so.20.0git lib/libLLVMMSP430Desc.so.20.0git lib/libLLVMMSP430Disassembler.so.20.0git lib/libLLVMMSP430Info.so.20.0git lib/libLLVMNVPTXCodeGen.so.20.0git lib/libLLVMNVPTXDesc.so.20.0git lib/libLLVMNVPTXInfo.so.20.0git lib/libLLVMPowerPCCodeGen.so.20.0git lib/libLLVMPowerPCAsmParser.so.20.0git lib/libLLVMPowerPCDesc.so.20.0git lib/libLLVMPowerPCDisassembler.so.20.0git lib/libLLVMPowerPCInfo.so.20.0git lib/libLLVMRISCVCodeGen.so.20.0git lib/libLLVMRISCVAsmParser.so.20.0git lib/libLLVMRISCVDisassembler.so.20.0git lib/libLLVMSparcCodeGen.so.20.0git lib/libLLVMSparcAsmParser.so.20.0git lib/libLLVMSparcDesc.so.20.0git lib/libLLVMSparcDisassembler.so.20.0git lib/libLLVMSparcInfo.so.20.0git lib/libLLVMSystemZCodeGen.so.20.0git lib/libLLVMSystemZAsmParser.so.20.0git lib/libLLVMSystemZDisassembler.so.20.0git lib/libLLVMVECodeGen.so.20.0git lib/libLLVMVEAsmParser.so.20.0git lib/libLLVMVEDesc.so.20.0git lib/libLLVMVEDisassembler.so.20.0git lib/libLLVMVEInfo.so.20.0git lib/libLLVMWebAssemblyCodeGen.so.20.0git lib/libLLVMWebAssemblyAsmParser.so.20.0git lib/libLLVMWeb
.0git lib/libLLVMX86Desc.so.20.0git lib/libLLVMX86Disassembler.so.20.0git lib/libLLVMX86Info.so.20.0git lib/libLLVMXCoreCodeGen.so.20.0git lib/libLLVMXCoreDesc.so.20.0git lib/libLLVMXCoreDisassembler.so.20.0git lib/libLLVMXCoreInfo.so.20.0git -lpthread lib/libllvm_gtest_main.so.20.0git lib/libllvm_gtest.so.20.0git -lpthread lib/libclangFrontend.so.20.0git lib/libLLVMAArch64Desc.so.20.0git lib/libLLVMAArch64Info.so.20.0git lib/libLLVMAArch64Utils.so.20.0git lib/libLLVMAMDGPUDesc.so.20.0git lib/libLLVMAMDGPUInfo.so.20.0git lib/libLLVMAMDGPUUtils.so.20.0git lib/libLLVMARMDesc.so.20.0git lib/libLLVMARMInfo.so.20.0git lib/libLLVMARMUtils.so.20.0git lib/libLLVMHexagonDesc.so.20.0git lib/libLLVMHexagonInfo.so.20.0git lib/libLLVMLanaiDesc.so.20.0git lib/libLLVMLanaiInfo.so.20.0git lib/libLLVMLoongArchDesc.so.20.0git lib/libLLVMLoongArchInfo.so.20.0git lib/libLLVMRISCVDesc.so.20.0git lib/libLLVMRISCVInfo.so.20.0git lib/libLLVMSystemZDesc.so.20.0git lib/libLLVMSystemZInfo.so.20.0git lib/libLLVMWebAssemblyDesc.so.20.0git lib/libLLVMWebAssemblyInfo.so.20.0git lib/libclangDriver.so.20.0git lib/libLLVMOption.so.20.0git lib/libclangBasic.so.20.0git lib/libLLVMMC.so.20.0git lib/libLLVMTargetParser.so.20.0git lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib && :
/usr/bin/ld: tools/clang/unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o: undefined reference to symbol '_ZN5clang22PCHContainerOperationsC1Ev'
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/libclangSerialization.so.20.0git: error adding symbols: DSO missing from command line
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[1136/1165] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallVectorTest.cpp.o
[1138/1165] Building CXX object tools/clang/unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o
[1139/1165] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/76838
More information about the cfe-commits
mailing list