[llvm] [llvm-cgdata] Remove `GENERATE_DRIVER` option (PR #100066)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 04:58:25 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `llvm` at step 6 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/3910
Here is the relevant piece of the build log for the reference:
```
Step 6 (build-unified-tree) failure: build (failure)
...
23.236 [4324/58/7767] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PdbYaml.cpp.o
23.236 [4323/58/7768] Building TapiOpts.inc...
23.247 [4322/58/7769] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyTypeDumper.cpp.o
23.248 [4321/58/7770] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyExternalSymbolDumper.cpp.o
23.249 [4320/58/7771] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/YAMLOutputStyle.cpp.o
23.249 [4319/58/7772] Linking CXX executable bin/llvm-itanium-demangle-fuzzer
23.250 [4318/58/7773] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/COFFImportDumper.cpp.o
23.250 [4317/58/7774] Linking CXX static library lib/libLLVMDWARFLinkerParallel.a
23.250 [4316/58/7775] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptStmt.cpp.o
23.252 [4315/58/7776] Linking CXX executable bin/llvm-cgdata
FAILED: bin/llvm-cgdata
: && /usr/bin/clang++ -gmlt -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 -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o -o bin/llvm-cgdata -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMCodeGen.a lib/libLLVMCodeGenData.a lib/libLLVMCore.a lib/libLLVMObject.a lib/libLLVMSupport.a lib/libLLVMBitWriter.a lib/libLLVMCodeGenTypes.a lib/libLLVMObjCARCOpts.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMTarget.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so && :
ld.lld: error: undefined symbol: main
>>> referenced by /lib/x86_64-linux-gnu/Scrt1.o:(_start)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
23.254 [4315/57/7777] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ARMWinEHPrinter.cpp.o
23.254 [4315/56/7778] Linking CXX executable bin/llvm-dis
23.257 [4315/55/7779] Linking CXX static library lib/libMLIRFuncToSPIRV.a
23.262 [4315/54/7780] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/COFFDumper.cpp.o
23.262 [4315/53/7781] Linking CXX executable bin/llvm-debuginfod-find
23.263 [4315/52/7782] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptCppFilter.cpp.o
23.267 [4315/51/7783] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/llvm-rc-driver.cpp.o
23.269 [4315/50/7784] Linking CXX executable bin/llvm-cvtres
23.270 [4315/49/7785] Linking CXX executable bin/llvm-jitlink-executor
23.270 [4315/48/7786] Linking CXX static library lib/libMLIRTestConvertToSPIRV.a
23.272 [4315/47/7787] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/llvm-readobj.cpp.o
23.278 [4315/46/7788] Linking CXX static library lib/libMLIRUBToSPIRV.a
23.281 [4315/45/7789] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptParser.cpp.o
23.284 [4315/44/7790] Linking CXX static library lib/libMLIRControlFlowToSPIRV.a
23.286 [4315/43/7791] Linking CXX executable bin/llvm-as
23.287 [4315/42/7792] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptToken.cpp.o
23.288 [4315/41/7793] Linking CXX static library lib/libMLIRVectorToSPIRV.a
23.289 [4315/40/7794] Linking CXX static library lib/libMLIRComplexToSPIRV.a
23.292 [4315/39/7795] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/llvm-rc.cpp.o
23.295 [4315/38/7796] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ELFDumper.cpp.o
23.298 [4315/37/7797] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceFileWriter.cpp.o
23.302 [4315/36/7798] Building CXX object tools/llvm-mt/CMakeFiles/llvm-mt.dir/llvm-mt.cpp.o
23.305 [4315/35/7799] Linking CXX executable bin/llvm-opt-report
23.306 [4315/34/7800] Linking CXX static library lib/libMLIRIndexToSPIRV.a
23.311 [4315/33/7801] Linking CXX static library lib/libMLIRSPIRVTestPasses.a
23.330 [4315/32/7802] Linking CXX executable bin/llvm-cat
23.330 [4315/31/7803] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
23.332 [4315/30/7804] Linking CXX executable bin/llvm-debuginfod
23.340 [4315/29/7805] Linking CXX executable bin/llvm-cov
23.341 [4315/28/7806] Linking CXX static library lib/libMLIRMemRefToSPIRV.a
23.347 [4315/27/7807] Linking CXX static library lib/libMLIRSPIRVTarget.a
23.348 [4315/26/7808] Linking CXX static library lib/libMLIRSPIRVTransforms.a
23.352 [4315/25/7809] Linking CXX static library lib/libMLIRMathToSPIRV.a
23.352 [4315/24/7810] Linking CXX static library lib/libMLIRSPIRVTranslateRegistration.a
```
https://github.com/llvm/llvm-project/pull/100066
More information about the llvm-commits
mailing list