<div class="gmail_quote">On Sun, May 13, 2012 at 5:35 AM, NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Howard,<br>
<br>
I guess it might help to regenerate Makefile.llvmbuild.<br>
<br>
1) "./config.status" to regenerate Makefile.config.<br>
2) Remove Makefile.llvmbuild<br></blockquote><div><br></div><div>Is this an issue with LLVMBuild, or did I screw something up when committing the NVPTX sources?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
HTH,<br>
...Takumi<br>
<br>
2012/5/13 Howard Hinnant <<a href="mailto:hhinnant@apple.com">hhinnant@apple.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> llvm[2]: Linking Debug+Asserts executable llvm-mc<br>
> Undefined symbols for architecture x86_64:<br>
> "_LLVMInitializeNVPTXTargetInfo", referenced from:<br>
> llvm::InitializeAllTargetInfos() in llvm-mc.o<br>
> "_LLVMInitializeNVPTXTargetMC", referenced from:<br>
> llvm::InitializeAllTargetMCs() in llvm-mc.o<br>
> ld: symbol(s) not found for architecture x86_64<br>
> clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
> make[2]: *** [/Users/hinnant/Development/llvmbuild/Debug+Asserts/bin/llvm-mc] Error 1<br>
> make[1]: *** [llvm-mc/.makeall] Error 2<br>
> make[1]: *** Waiting for unfinished jobs....<br>
> Undefined symbols for architecture x86_64:<br>
> "_LLVMInitializeNVPTXTarget", referenced from:<br>
> llvm::InitializeAllTargets() in llc.o<br>
> "_LLVMInitializeNVPTXTargetMC", referenced from:<br>
> llvm::InitializeAllTargetMCs() in llc.o<br>
> "_LLVMInitializeNVPTXAsmPrinter", referenced from:<br>
> llvm::InitializeAllAsmPrinters() in llc.o<br>
> "_LLVMInitializeNVPTXTargetInfo", referenced from:<br>
> llvm::InitializeAllTargetInfos() in llc.o<br>
> ld: symbol(s) not found for architecture x86_64<br>
> clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
> make[2]: *** [/Users/hinnant/Development/llvmbuild/Debug+Asserts/bin/llc] Error 1<br>
> make[1]: *** [llc/.makeall] Error 2<br>
> make: *** [all] Error 1<br>
><br>
> Howard<br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div><br>