<div class="gmail_quote">On Wed, Jul 27, 2011 at 7:33 PM, Oscar Fuentes <span dir="ltr"><<a href="mailto:ofv@wanadoo.es">ofv@wanadoo.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1s0">Explicitly declare a library dependency of LLVM*Desc to<br>
LLVM*AsmPrinter.<br>
<br>
GenLibDeps.pl fails to detect vtable references. As this is the only<br>
referenced symbol from LLVM*Desc to LLVM*AsmPrinter on optimized<br>
builds, the algorithm that creates the list of libraries to be linked<br>
into tools doesn't know about the dependency and sometimes places the<br>
libraries on the wrong order, yielding error messages like this:<br></div></blockquote></div><br><div>Ahh, I see, you handled like this.</div><div><br></div><div>This really doesn't work. Clearly our automated process is deeply flawed if it can't handle this. Have you been looking at *why* it can't handle it? Are you trying to figure out the root cause?</div>
<div><br></div><div>(I have been for the past 2 hours, which is why I haven't committed a fix yet...)</div>