<div class="gmail_quote">On Tue, Nov 1, 2011 at 10:27 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@gmail.com">chandlerc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Bill, Daniel;<div><br></div><div>This patch (and its sibling r143532) *might* be interesting for 3.0. This is from a report on IRC of the 3.0 release candidate failing to link clang-tblgen correctly when LLVM was installed as a separate library. Daniel and I found the problem via inspection and I don't personally have a reproduction so I don't have a great idea of how likely (or unlikely) others hitting this problem will be.</div>

<div><br></div><div>I'll update the thread if the person who reported it is able to reproduce and confirm that this fixes the issue.</div></blockquote><div><br></div><div>Ok, this does fix an issue. The issue occurs when building static libraries where you build LLVM without building Clang, and then build Clang from a separate directory. In that case, with some linkers (including the one on Haiku, but I suspect others as well) the link of clang-tblgen fails without this patch.</div>
<div><br></div><div>I'll leave it to you and others (is there a code owner for the CMake build? Maybe Eric?) to decide if this should be pulled into the 3.0 release at this (rather late) stage.</div></div>