Recently I have been getting a build failure while trying to link lli when
performing a cmake based build. The failure is:
Undefined symbols:
"_LLVMLinkInMCJIT", referenced from:
(anonymous namespace)::ForceMCJITLinking::ForceMCJITLinking()in
lli.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [bin/lli] Error 1
I have fixed this with the attached patch. It anybody else getting this error?
Should I commit the patch?
--
Wesley Peck
University of Kansas
SLDG Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20101117/d9e12381/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcjit.patch
Type: application/octet-stream
Size: 878 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20101117/d9e12381/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20101117/d9e12381/attachment-0001.html>
Wesley Peck <peckw at wesleypeck.com> writes: [snip]> I have fixed this with the attached patch. It anybody else getting > this error? Should I commit the patch?Yes, please. [snip]
Committed in 119589. -- Wesley Peck On Nov 17, 2010, at 5:30 PM, Óscar Fuentes wrote:> Wesley Peck <peckw at wesleypeck.com> writes: > > [snip] > >> I have fixed this with the attached patch. It anybody else getting >> this error? Should I commit the patch? > > Yes, please. > > [snip]