[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:14:42 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu` running on `doug-worker-1a` while building `llvm` at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
134.272 [520/8/4354] Building Opts.inc...
134.319 [519/8/4355] Building CXX object tools/llvm-cvtres/CMakeFiles/llvm-cvtres.dir/llvm-cvtres.cpp.o
134.381 [518/8/4356] Linking CXX static library lib/liblldbTarget.a
134.403 [517/8/4357] Linking CXX static library lib/libLLVMCFIVerify.a
134.498 [516/8/4358] Linking CXX static library lib/liblldbSymbol.a
134.532 [515/8/4359] Linking CXX executable bin/llvm-cat
134.567 [514/8/4360] Linking CXX static library lib/liblldbPluginTypeSystemClang.a
134.970 [513/8/4361] Linking CXX executable bin/llvm-cxxdump
134.997 [512/8/4362] Linking CXX static library lib/liblldbPluginSymbolFilePDB.a
135.017 [511/8/4363] 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
135.487 [511/7/4364] Linking CXX executable bin/llvm-cfi-verify
135.496 [511/6/4365] Linking CXX executable bin/bugpoint
135.561 [511/5/4366] Linking CXX executable bin/dsymutil
135.591 [511/4/4367] Linking CXX executable bin/llvm-cov
135.784 [511/3/4368] Linking CXX executable bin/llvm-c-test
136.061 [511/2/4369] Linking CXX executable bin/lli
136.275 [511/1/4370] Linking CXX executable bin/llc
ninja: build stopped: subcommand failed.

```

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


More information about the llvm-commits mailing list