<div dir="auto">Fr<div><br><div class="gmail_extra"><br><div class="gmail_quote">On Feb 23, 2017 11:20 AM, "Marc Dietrich" <<a href="mailto:marvin24@gmx.de">marvin24@gmx.de</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">Am Donnerstag, 23. Februar 2017, 10:54:39 CET schrieb Michel Dänzer:<br>
> On 23/02/17 06:39 PM, Marc Dietrich wrote:<br>
> > Am Donnerstag, 23. Februar 2017, 04:10:23 CET schrieb Timothy Arceri:<br>
> >> I've pushed a fix for building with an old version of llvm. Hopefully<br>
> >> this will resolve your problem.<br>
> ><br>
> > I have a pretty current version of llvm (3.9.1), so the problem is not<br>
> > fixed by this patch :-) From the fact that it works for you and others, I<br>
> > guess it must be some distro packaging problem (suse thumbleweed here).<br>
> > llvm is using shared libs.<br>
><br>
</div>> FWIW, this is broken packaging on SUSE's part â€” they need to build LLVM<br>
<div class="quoted-text">> with LLVM_BUILD_LLVM_DYLIB=ON instead of BUILD_SHARED_LIBS=ON. The<br>
> latter is an unsupported developer only option. Please report this to them.<br>
<br>
</div>does this mean that multiple shared libs are not supported by mesa? I read<br>
from the llvm website, that<br>
<br>
"BUILD_SHARED_LIBS is only recommended for use by LLVM developers. If you want<br>
to build LLVM as a shared library, you should use the LLVM_BUILD_LLVM_DYLIB<br>
option."<br>
<br>
I wonder why mesa tries to gather a list of required libs then (for static<br>
linking maybe?)<br>
<div class="quoted-text"><br>
><br>
> > So the remaining question is what actually pulls in LLVMAMDGPUInfo, and<br>
> > why<br>
> > isn't it pulled here?<br>
><br>
> This may still need to be answered for linking LLVM statically though.<br>
<br>
</div>Unfortunately, opensuse does not provide static libs....<br>
<br>
Will also add this to the bug report.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Static libs might not work very well with Mesa. It's a rarely tested option and I wouldn't recommend it.</div><div dir="auto"><br></div><div dir="auto">Marek</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="#888888"><br>
Marc<br>
</font><br>______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
<br></blockquote></div><br></div></div></div>