<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 12, 2011, at 2:36 PM, Tony Linthicum wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
On 12/12/2011 4:28 PM, Jakob Stoklund Olesen wrote:
<blockquote cite="mid:39F44267-A4A7-43A0-96D5-A1C637B2947A@2pi.dk" type="cite"><br>
<div>
<div>On Dec 12, 2011, at 2:12 PM, Tony Linthicum wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div bgcolor="#FFFFFF" text="#000000"> Hi folks,<br>
<br>
I just committed a new backend for the Hexagon processor.
After committing, I was able to successfully check out,
build and test with the new changes. The x86_64 build on
the buildbot is failing, however. Here's the build error:<br>
<br>
<pre style="font-family: 'Courier New', courier, monotype, monospace; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="stdout" style="font-family: 'Courier New', courier, monotype, monospace; color: black; ">llvm[2]: Linking Debug+Asserts executable llvm-mc
/home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetInfos()':
llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo'
/home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()':
llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC'
It certainly looks like something wasn't checked in, but I don't find anything and
my fresh checkout should have failed as well. Any suggestions as to what I could
have done wrong?
</span></pre>
</div>
</blockquote>
<div>FWIW, I am getting the same linker errors on OS X:</div>
<div><br>
</div>
<div>
<div>Undefined symbols for architecture x86_64:</div>
<div> "_LLVMInitializeHexagonAsmPrinter", referenced from:</div>
<div> LTOCodeGenerator::LTOCodeGenerator() in
LTOCodeGenerator.o</div>
<div> "_LLVMInitializeHexagonTargetMC", referenced from:</div>
<div> LTOCodeGenerator::LTOCodeGenerator() in
LTOCodeGenerator.o</div>
<div> LTOModule::makeLTOModule(llvm::MemoryBuffer*,
std::string&) in LTOModule.o</div>
<div> "_LLVMInitializeHexagonTarget", referenced from:</div>
<div> llvm::InitializeAllTargets() in LTOCodeGenerator.o</div>
<div> "_LLVMInitializeHexagonTargetInfo", referenced from:</div>
<div> llvm::InitializeAllTargets() in LTOCodeGenerator.o</div>
<div>ld: symbol(s) not found for architecture x86_64</div>
<div><br>
</div>
<div>Are you building with CMake or configure?</div>
<div><br>
</div>
<div>/jakob</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<br>
I should have asked, but is the buildbot using CMake? </div></blockquote><div><br></div><div>No, most of us internally can't build it either using autoconf at the moment.</div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"> Assuming
that's the issue, I need to get CMake installed on my build machine
to find and fix the problem. Is there anything I can do in the
interim to keep others from being blocked by this?<br></div></blockquote></div><br><div>Revert unfortunately, but I'm looking at it.</div><div><br></div><div>-eric</div></body></html>