[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:18:24 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `llvm` at step 6 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/2850
Here is the relevant piece of the build log for the reference:
```
Step 6 (build-unified-tree) failure: build (failure)
...
[3737/3987] Linking CXX executable bin\nvptx-arch.exe
[3738/3987] Linking CXX executable bin\llvm-cfi-verify.exe
[3739/3987] Linking CXX executable bin\apinotes-test.exe
[3740/3987] Linking CXX executable bin\llvm-cov.exe
[3741/3987] Linking CXX executable bin\llvm-cvtres.exe
[3742/3987] Linking CXX static library lib\clangToolingCore.lib
[3743/3987] Linking CXX static library lib\clangAST.lib
[3744/3987] Linking CXX static library lib\LLVMLTO.lib
[3745/3987] Linking CXX static library lib\clangHandleLLVM.lib
[3746/3987] Linking CXX executable bin\llvm-cgdata.exe
FAILED: bin/llvm-cgdata.exe
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tools\llvm-cgdata\CMakeFiles\llvm-cgdata.dir --rc=C:\PROGRA~2\WINDOW~4\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WINDOW~4\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\link.exe /nologo tools\llvm-cgdata\CMakeFiles\llvm-cgdata.dir\llvm-cgdata.cpp.obj tools\llvm-cgdata\CMakeFiles\llvm-cgdata.dir\__\__\resources\windows_version_resource.rc.res /out:bin\llvm-cgdata.exe /implib:lib\llvm-cgdata.lib /pdb:bin\llvm-cgdata.pdb /version:0.0 /machine:x64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMCodeGen.lib lib\LLVMCodeGenData.lib lib\LLVMCore.lib lib\LLVMObject.lib lib\LLVMSupport.lib lib\LLVMBitWriter.lib lib\LLVMCodeGenTypes.lib lib\LLVMObjCARCOpts.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMTarget.lib lib\LLVMTransformUtils.lib lib\LLVMAnalysis.lib lib\LLVMProfileData.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoPDB.lib "C:\Program Files\Microsoft Visual Studio\2022\Community\DIA SDK\lib\amd64\diaguids.lib" lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMBitReader.lib lib\LLVMAsmParser.lib lib\LLVMCore.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMDebugInfoCodeView.lib lib\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\LLVMSupport.lib lib\LLVMDemangle.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\link.exe /nologo tools\llvm-cgdata\CMakeFiles\llvm-cgdata.dir\llvm-cgdata.cpp.obj tools\llvm-cgdata\CMakeFiles\llvm-cgdata.dir\__\__\resources\windows_version_resource.rc.res /out:bin\llvm-cgdata.exe /implib:lib\llvm-cgdata.lib /pdb:bin\llvm-cgdata.pdb /version:0.0 /machine:x64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMCodeGen.lib lib\LLVMCodeGenData.lib lib\LLVMCore.lib lib\LLVMObject.lib lib\LLVMSupport.lib lib\LLVMBitWriter.lib lib\LLVMCodeGenTypes.lib lib\LLVMObjCARCOpts.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMTarget.lib lib\LLVMTransformUtils.lib lib\LLVMAnalysis.lib lib\LLVMProfileData.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoPDB.lib C:\Program Files\Microsoft Visual Studio\2022\Community\DIA SDK\lib\amd64\diaguids.lib lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMBitReader.lib lib\LLVMAsmParser.lib lib\LLVMCore.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMDebugInfoCodeView.lib lib\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\LLVMSupport.lib lib\LLVMDemangle.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:bin\llvm-cgdata.exe.manifest" failed (exit code 1120) with the following output:
MSVCRT.lib(exe_main.obj) : error LNK2019: unresolved external symbol main referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ)
bin\llvm-cgdata.exe : fatal error LNK1120: 1 unresolved externals
[3747/3987] Building CXX object tools\llvm-objcopy\CMakeFiles\llvm-objcopy.dir\llvm-objcopy-driver.cpp.obj
[3748/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\llvm-readobj-driver.cpp.obj
[3749/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\XCOFFDumper.cpp.obj
[3750/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\WindowsResourceDumper.cpp.obj
[3751/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\Win64EHDumper.cpp.obj
[3752/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\WasmDumper.cpp.obj
[3753/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\llvm-readobj.cpp.obj
[3754/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\ELFDumper.cpp.obj
[3755/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\TestRunner.cpp.obj
[3756/3987] Building CXX object tools\llvm-readtapi\CMakeFiles\llvm-readtapi.dir\DiffEngine.cpp.obj
[3757/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalObjects.cpp.obj
[3758/3987] Building CXX object tools\llvm-readtapi\CMakeFiles\llvm-readtapi.dir\llvm-readtapi.cpp.obj
[3759/3987] Building CXX object tools\llvm-objcopy\CMakeFiles\llvm-objcopy.dir\llvm-objcopy.cpp.obj
[3760/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\DeltaManager.cpp.obj
[3761/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\ReducerWorkItem.cpp.obj
[3762/3987] Building CXX object tools\llvm-objcopy\CMakeFiles\llvm-objcopy.dir\ObjcopyOptions.cpp.obj
[3763/3987] Linking CXX static library lib\clangToolingInclusions.lib
[3764/3987] Linking CXX static library lib\LLVMOrcJIT.lib
[3765/3987] Building CXX object tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\MachODumper.cpp.obj
[3766/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceDbgRecords.cpp.obj
[3767/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\Utils.cpp.obj
[3768/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceModuleData.cpp.obj
[3769/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalValues.cpp.obj
[3770/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceSpecialGlobals.cpp.obj
[3771/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceAliases.cpp.obj
[3772/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceFunctionBodies.cpp.obj
[3773/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceDIMetadata.cpp.obj
[3774/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\Delta.cpp.obj
[3775/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalVars.cpp.obj
[3776/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceInstructions.cpp.obj
[3777/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceOperands.cpp.obj
[3778/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceOpcodes.cpp.obj
[3779/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalVarInitializers.cpp.obj
[3780/3987] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceMetadata.cpp.obj
```
https://github.com/llvm/llvm-project/pull/100066
More information about the llvm-commits
mailing list