<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 05/13/2012 07:34 PM, Justin Holewinski wrote:
<blockquote
cite="mid:CAJgxuaeYXJNd2=DRoS5ay7XPDaXir=OQvdAB1AyBjc-HbEBL7g@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Sun, May 13, 2012 at 5:35 AM, NAKAMURA
Takumi <span dir="ltr"><<a moz-do-not-send="true"
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 moz-do-not-send="true"
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>
</div>
</div>
</blockquote>
</div>
</blockquote>
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. :-)<br>
<br>
~y.<br>
<pre class="moz-signature" cols="72">--
Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: <a class="moz-txt-link-freetext" href="http://www.softlab.ntua.gr/~gtsiour">http://www.softlab.ntua.gr/~gtsiour</a></pre>
</body>
</html>