<p>This bug you linked is reported for llvm-gcc, not clang, but I guess they share the same issue.</p>
<p>You can close the bug report.</p>
<p>Thanks,<br>
Marko</p>
<div class="gmail_quote">On Feb 1, 2012 10:41 PM, "Juan Jose Garcia-Ripoll" <<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote">On Tue, Jan 31, 2012 at 11:58 PM, Marko Kocić <span dir="ltr"><<a href="mailto:marko.kocic@gmail.com" target="_blank">marko.kocic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Juan,<div><br><div>In order to try windows build without installing older gcc, I tried to build it using clang.</div><div>It built C code fine, but failed in linking phase.</div><div><br></div><div>I opened a bug at
<a href="https://sourceforge.net/tracker/?func=detail&aid=3482358&group_id=30035&atid=398053" target="_blank">https://sourceforge.net/tracker/?func=detail&aid=3482358&group_id=30035&atid=398053</a> </div>
<div><br>
</div><div>It seems that gcc and clang on windows use different naming convention for exported symbols (leading underscores or not) on windows. I don't have an idea if fixing clang/windows build would be simple enough to take it into the release?</div>
</div></blockquote></div><div><br></div>Apparently the problem is LLVM's. It is a bug in their compiler, which does not produce the right link flags for symbols with declspec(dllexport)<div><br></div><div>See <a href="http://permalink.gmane.org/gmane.comp.compilers.llvm.bugs/4614" target="_blank">http://permalink.gmane.org/gmane.comp.compilers.llvm.bugs/4614</a></div>
<div><br></div><div>Can I close the bug report?</div><div><br></div><div>Juanjo<br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>
</blockquote></div>