[llvm] [mlir] CMake: Remove unnecessary dependencies on LLVM/MLIR (PR #110362)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 28 14:29:12 PDT 2024
joker-eph wrote:
Still failing on windows:
_bk;t=1727545482016LINK: command "C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\BPFunctionNodeTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\CoverageMappingTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\InstrProfDataTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\InstrProfTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\ItaniumManglingCanonicalizerTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\MemProfTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\PGOCtxProfReaderWriterTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\SampleProfTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\SymbolRemappingReaderTest.cpp.obj unittests\ProfileData\CMakeFiles\ProfileDataTests.dir\__\__\resources\windows_version_resource.rc.res /out:unittests\ProfileData\ProfileDataTests.exe /implib:unittests\ProfileData\ProfileDataTests.lib /pdb:unittests\ProfileData\ProfileDataTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMBitReader.lib lib\LLVMCore.lib lib\LLVMCoverage.lib lib\LLVMProfileData.lib lib\LLVMSupport.lib lib\LLVMObject.lib lib\LLVMSupport.lib lib\llvm_gtest_main.lib lib\llvm_gtest.lib lib\LLVMTestingSupport.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\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\llvm_gtest.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" failed (exit code 1120) with the following output:
_bk;t=1727545482016LLVMProfileData.lib(MemProfReader.cpp.obj) : error LNK2019: unresolved external symbol "public: static class llvm::Expected<class std::unique_ptr<class llvm::symbolize::SymbolizableObjectFile,struct std::default_delete<class llvm::symbolize::SymbolizableObjectFile> > > __cdecl llvm::symbolize::SymbolizableObjectFile::create(class llvm::object::ObjectFile const *,class std::unique_ptr<class llvm::DIContext,struct std::default_delete<class llvm::DIContext> >,bool)" (?create at SymbolizableObjectFile@symbolize at llvm@@SA?AV?$Expected at V?$unique_ptr at VSymbolizableObjectFile@symbolize at llvm@@U?$default_delete at VSymbolizableObjectFile@symbolize at llvm@@@std@@@std@@@3 at PEBVObjectFile@object at 3@V?$unique_ptr at VDIContext@llvm@@U?$default_delete at VDIContext@llvm@@@std@@@std@@_N at Z) referenced in function "private: class llvm::Error __cdecl llvm::memprof::RawMemProfReader::initialize(class std::unique_ptr<class llvm::MemoryBuffer,struct std::default_delete<class llvm::MemoryBuffer> >)" (?initialize at RawMemProfReader@memprof at llvm@@AEAA?AVError at 3@V?$unique_ptr at VMemoryBuffer@llvm@@U?$default_delete at VMemoryBuffer@llvm@@@std@@@std@@@Z)
_bk;t=1727545482017unittests\ProfileData\ProfileDataTests.exe : fatal error LNK1120: 1 unresolved externals
https://github.com/llvm/llvm-project/pull/110362
More information about the llvm-commits
mailing list