2010/12/31 Francois Pichet <pichet2000 at gmail.com>:> I don't normally build using nmake.. but I just tried and it worked 100% > here. > Are you sure you are using the trunk? > > On Fri, Dec 31, 2010 at 7:32 AM, Ruben Van Boxem <vanboxem.ruben at gmail.com> > wrote: >> >> I first sent this to the Clang dev list, but they told me to come here: >> >> >> ---------- Forwarded message ---------- >> From: Ruben Van Boxem <vanboxem.ruben at gmail.com> >> Date: 2010/12/31 >> Subject: LLVM on Windows MSVC 10 >> To: cfe-dev at cs.uiuc.edu >> >> >> Hi, >> >> I'm trying to build svn LLVM with Visual Studio 2010: >> >> cd build >> cmake .. -G"NMake Makefiles" >> nmake >> >> and several link steps fail due to a missing symbol: >> >> > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved >> > external symbol X86CompilationCallback referenced in function "public: >> > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void >> > * (__cdecl*)(void *)))(void)" >> > (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) >> >> What can/should I do? >> >> Thanks! >> >> Ruben >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu llvm.cs.uiuc.edu >> lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >I'm using SVN Rev. 122644 (trunk), and building for Windows x64 (from the MSVC Command prompt). Ruben
Ruben Van Boxem <vanboxem.ruben at gmail.com> writes:>>> I'm trying to build svn LLVM with Visual Studio 2010: >>> >>> cd build >>> cmake .. -G"NMake Makefiles" >>> nmake >>> >>> and several link steps fail due to a missing symbol: >>> >>> > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved >>> > external symbol X86CompilationCallback referenced in function "public: >>> > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void >>> > * (__cdecl*)(void *)))(void)" >>> > (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) >>> >>> What can/should I do? > > I'm using SVN Rev. 122644 (trunk), and building for Windows x64 (from > the MSVC Command prompt).This is probably a bug with Windows64 support. Please file a bug report.
2010/12/31 Óscar Fuentes <ofv at wanadoo.es>:> Ruben Van Boxem <vanboxem.ruben at gmail.com> writes: > >>>> I'm trying to build svn LLVM with Visual Studio 2010: >>>> >>>> cd build >>>> cmake .. -G"NMake Makefiles" >>>> nmake >>>> >>>> and several link steps fail due to a missing symbol: >>>> >>>> > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved >>>> > external symbol X86CompilationCallback referenced in function "public: >>>> > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void >>>> > * (__cdecl*)(void *)))(void)" >>>> > (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) >>>> >>>> What can/should I do? >> >> I'm using SVN Rev. 122644 (trunk), and building for Windows x64 (from >> the MSVC Command prompt). > > This is probably a bug with Windows64 support. Please file a bug report. >To follow up on MSVC x64 problems: running CMake like this: cmake ../../Source/LLVM -G"Visual Studio 10 Win64" causes following error:>-- Targeting X86 >CMake Error at M:/Development/utils/cmake/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:68 (CMAKE_DETERMINE_COMPILER_ID_VENDOR): > Unknown CMake command "CMAKE_DETERMINE_COMPILER_ID_VENDOR". >Call Stack (most recent call first): > M:/Development/utils/cmake/share/cmake-2.8/Modules/CMakeDetermineASM_MASMCompiler.cmake:26 (INCLUDE) > lib/Target/X86/CMakeLists.txt:44 (enable_language) > > >CMake Error: Could not find cmake module file:M:/Development/x64-msvc/llvm/CMakeFiles/CMakeASM_MASMCompiler.cmake >-- Configuring incomplete, errors occurred!I have filed a bug report: llvm.org/bugs/show_bug.cgi?id=8885 Thanks! Ruben