[LLVMdev] Linking problems with llvm-2.7, release 64b build with vs2010
Bill O'Hara
billtohara at gmail.com
Wed May 12 16:02:54 PDT 2010
Hello,
Following some recent messages about building with Visual Studio 2010,
I have gotten most things to compile in release mode on 64b windows 7.
(Mainly the few errors with 0 -> nullptr in the second argument of the
pair constructor, and making an ECValue constructor public).
I'm falling at the last hurdle though when it comes to the final link:
1>------ Build started: Project: Fibonacci, Configuration: Release x64 ------
1> Creating library
C:/llvm-2.7-src/build/lib/Release/Fibonacci.lib and object
C:/llvm-2.7-src/build/lib/Release/Fibonacci.exp
1>LLVMX86CodeGen.lib(X86JITInfo.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)
1>C:\llvm-2.7-src\build\bin\Release\Fibonacci.exe : fatal error
LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 22 up-to-date, 0 skipped ==========
I'm not entirely convinced that
lib/Target/X86/X86CompilationCallback_Win64.asm is being assembled and
linked into that library - has anyone gotten this to link properly?
thanks
b
More information about the llvm-dev
mailing list