<div dir="ltr">Never mind. I could reproduce the issue.<div><br></div><div>I think we'd want to move lib/ReaderWriter/CoreLinkingContext.cpp, which is causing the circular dependency, to lib/ReaderWriter/Core or lib/ReaderWriter/YAML, to remove the dependency from liblldReaderWriter to libYAML. What do you think?</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 2, 2013 at 4:33 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hi Joerg,<div><br></div><div>What command line did you use to test this patch? I rebuild lld with BUILD_SHARED_LIBS=on and it succeeded, wondering what I missed.</div></div><div class="gmail_extra"><br><br>

<div class="gmail_quote"><div><div class="h5">
On Mon, Sep 2, 2013 at 3:09 AM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
Hi all,<br>
when trying to build lld with BUILD_SHARED_LIBS=on, it fails due to a<br>
dependency cyclic between lib/ReaderWriter and lib/ReaderWriter/YAML.<br>
One possible solution is attached, but it is certainly not clean.<br>
<span><font color="#888888"><br>
Joerg<br>
</font></span><br></div></div>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">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><br></div>
</blockquote></div><br></div>