[llvm] [llvm-cgdata] Remove `GENERATE_DRIVER` option (PR #100066)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 01:27:14 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
56.685 [937/34/5863] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageView.cpp.o
56.694 [936/34/5864] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewHTML.cpp.o
56.698 [935/34/5865] Building CXX object tools/clang/unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/BufferSourceTest.cpp.o
56.715 [934/34/5866] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewText.cpp.o
56.716 [933/34/5867] Building Opts.inc...
56.724 [932/34/5868] Building CXX object tools/clang/unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CodeGenExternalTest.cpp.o
56.726 [931/34/5869] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/TestingSupport.cpp.o
56.730 [930/34/5870] Building Opts.inc...
56.748 [929/34/5871] Building CXX object tools/llvm-cvtres/CMakeFiles/llvm-cvtres.dir/llvm-cvtres.cpp.o
56.749 [928/34/5872] Linking CXX executable bin/llvm-cgdata
FAILED: bin/llvm-cgdata 
: && /opt/ccache/bin/g++ -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold    -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  -lpthread  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  -lpthread  -lm  /usr/lib/x86_64-linux-gnu/libz.so && :
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:function _start: error: undefined reference to 'main'
collect2: error: ld returned 1 exit status
56.768 [928/33/5873] Building CXX object tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o
56.775 [928/32/5874] Building CXX object tools/clang/unittests/Index/CMakeFiles/IndexTests.dir/IndexTests.cpp.o
56.780 [928/31/5875] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/ModuleCacheTest.cpp.o
56.822 [928/30/5876] Building CXX object tools/clang/unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameEnumTest.cpp.o
56.838 [928/29/5877] Building CXX object tools/clang/unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameMemberTest.cpp.o
56.854 [928/28/5878] Building CXX object tools/clang/unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameFunctionTest.cpp.o
56.863 [928/27/5879] Building CXX object tools/clang/unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameAliasTest.cpp.o
56.866 [928/26/5880] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/PreambleInNamedModulesTest.cpp.o
56.871 [928/25/5881] Building CXX object tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/CodeCompletionTest.cpp.o
56.879 [928/24/5882] Linking CXX executable bin/llvm-cat
56.915 [928/23/5883] Linking CXX executable tools/clang/unittests/AST/ASTTests
56.957 [928/22/5884] Linking CXX executable bin/llvm-cvtres
56.976 [928/21/5885] Building CXX object tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalProcessingTest.cpp.o
57.007 [928/20/5886] Linking CXX shared library lib/libclang-cpp.so.19.0git
57.023 [928/19/5887] Building CXX object tools/clang/unittests/Support/CMakeFiles/ClangSupportTests.dir/TimeProfilerTest.cpp.o
57.037 [928/18/5888] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/NoCommentsTest.cpp.o
57.070 [928/17/5889] Linking CXX executable bin/llvm-cxxdump
57.089 [928/16/5890] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/ForceCheckFileInputTest.cpp.o
57.104 [928/15/5891] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/VarDeclConstantInitTest.cpp.o
57.153 [928/14/5892] Linking CXX executable bin/llvm-cov
57.431 [928/13/5893] Linking CXX executable bin/llvm-cfi-verify
57.897 [928/12/5894] Linking CXX executable bin/clang-tidy
57.933 [928/11/5895] Linking CXX executable tools/clang/unittests/Rewrite/RewriteTests
58.088 [928/10/5896] Linking CXX executable tools/clang/unittests/Tooling/Syntax/SyntaxTests
58.192 [928/9/5897] Linking CXX executable bin/c-index-test
58.436 [928/8/5898] Linking CXX executable tools/clang/unittests/Sema/SemaTests
59.237 [928/7/5899] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
59.280 [928/6/5900] Linking CXX executable bin/llvm-c-test
59.404 [928/5/5901] Linking CXX executable bin/dsymutil
59.430 [928/4/5902] Linking CXX executable bin/bugpoint
60.357 [928/3/5903] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
60.899 [928/2/5904] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
61.555 [928/1/5905] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
ninja: build stopped: subcommand failed.

```

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


More information about the llvm-commits mailing list