<p>See also <a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142417.html">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142417.html</a></p>
<div class="gmail_quote">2012/05/14 2:05 "Yiannis Tsiouris" <<a href="mailto:gtsiour@softlab.ntua.gr">gtsiour@softlab.ntua.gr</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    On 05/13/2012 07:34 PM, Justin Holewinski wrote:
    <blockquote type="cite">
      <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" target="_blank">hhinnant@apple.com</a>>:<br>
          <div>
            <div>> 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 cols="72">-- 
Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: <a href="http://www.softlab.ntua.gr/~gtsiour" target="_blank">http://www.softlab.ntua.gr/~gtsiour</a></pre>
  </div>

<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></blockquote></div>