[LLVMbugs] [Bug 8877] New: Win64 CMake generated build files cause link error
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Dec 31 07:09:26 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8877
Summary: Win64 CMake generated build files cause link error
Product: Build scripts
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Keywords: build-problem
Severity: normal
Priority: P
Component: cmake
AssignedTo: unassignedbugs at nondot.org
ReportedBy: vanboxem.ruben at gmail.com
CC: llvmbugs at cs.uiuc.edu
In the x64 MSVC Command prompt:
cmake ../../Source/llvm -G"NMake Makefiles"
nmake
gives an error:
Linking CXX executable ..\..\bin\llvm-mc.exe
Creating library ..\..\lib\llvm-mc.lib and object ..\..\lib\llvm-mc.exp
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)
..\..\bin\llvm-mc.exe : fatal error LNK1120: 1 unresolved externals
LINK failed. with 2
NMAKE : fatal error U1077: 'M:\Development\utils\cmake\bin\cmake.exe' : return
code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
Doing the exact same thing from the x86 Command prompt does not cause this
error.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list