[llvm-commits] broken arrow
Yiannis Tsiouris
gtsiour at softlab.ntua.gr
Sun May 13 10:04:00 PDT 2012
On 05/13/2012 07:34 PM, Justin Holewinski wrote:
> On Sun, May 13, 2012 at 5:35 AM, NAKAMURA Takumi <geek4civic at gmail.com
> <mailto:geek4civic at gmail.com>> wrote:
>
> Howard,
>
> I guess it might help to regenerate Makefile.llvmbuild.
>
> 1) "./config.status" to regenerate Makefile.config.
> 2) Remove Makefile.llvmbuild
>
>
> Is this an issue with LLVMBuild, or did I screw something up when
> committing the NVPTX sources?
>
>
>
> HTH,
> ...Takumi
>
> 2012/5/13 Howard Hinnant <hhinnant at apple.com
> <mailto:hhinnant at apple.com>>:
> > llvm[2]: Linking Debug+Asserts executable llvm-mc
> > Undefined symbols for architecture x86_64:
> > "_LLVMInitializeNVPTXTargetInfo", referenced from:
> > llvm::InitializeAllTargetInfos() in llvm-mc.o
> > "_LLVMInitializeNVPTXTargetMC", referenced from:
> > llvm::InitializeAllTargetMCs() in llvm-mc.o
> > ld: symbol(s) not found for architecture x86_64
> > clang: error: linker command failed with exit code 1 (use -v to
> see invocation)
> > make[2]: ***
> [/Users/hinnant/Development/llvmbuild/Debug+Asserts/bin/llvm-mc]
> Error 1
> > make[1]: *** [llvm-mc/.makeall] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> > Undefined symbols for architecture x86_64:
> > "_LLVMInitializeNVPTXTarget", referenced from:
> > llvm::InitializeAllTargets() in llc.o
> > "_LLVMInitializeNVPTXTargetMC", referenced from:
> > llvm::InitializeAllTargetMCs() in llc.o
> > "_LLVMInitializeNVPTXAsmPrinter", referenced from:
> > llvm::InitializeAllAsmPrinters() in llc.o
> > "_LLVMInitializeNVPTXTargetInfo", referenced from:
> > llvm::InitializeAllTargetInfos() in llc.o
> > ld: symbol(s) not found for architecture x86_64
> > clang: error: linker command failed with exit code 1 (use -v to
> see invocation)
> > make[2]: ***
> [/Users/hinnant/Development/llvmbuild/Debug+Asserts/bin/llc] Error 1
> > make[1]: *** [llc/.makeall] Error 2
> > make: *** [all] Error 1
>
I faced a similar problem when I checked-out the latest LLVM of tree and
tried to compile it but it seems that i had just forgotten to
re-configure it! Maybe that's Howard's problem too. When i did that
everything worked great. So, this is not your problem. :-)
~y.
--
Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: http://www.softlab.ntua.gr/~gtsiour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120513/16ee9ebf/attachment.html>
More information about the llvm-commits
mailing list