[LLVMdev] Linking problems with llvm-2.7, release 64b build with vs2010

Óscar Fuentes ofv at wanadoo.es
Wed May 12 16:37:46 PDT 2010


"Bill O'Hara" <billtohara at gmail.com> writes:

> 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?

See if this bug report helps you to work around the problem:

http://www.llvm.org/bugs/show_bug.cgi?id=4936

Please report your results.




More information about the llvm-dev mailing list