<div dir="ltr"><div>Hi</div><div><br></div>I'm not seeing this issue on Gentoo. My llvm-config --version shows "5.0.0git-79da0992d18"<div><br></div><div>I'm attaching the patch we use</div><div><br></div><div>Regards</div><div><br></div><div>Mike</div><br><div class="gmail_quote"><div dir="ltr">On Tue, 4 Jul 2017 at 10:10 Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 3 July 2017 at 22:51, Andy Furniss <<a href="mailto:adf.lists@gmail.com" target="_blank">adf.lists@gmail.com</a>> wrote:<br>
> Emil Velikov wrote:<br>
>><br>
>> On 3 July 2017 at 16:31, Andy Furniss <<a href="mailto:adf.lists@gmail.com" target="_blank">adf.lists@gmail.com</a>> wrote:<br>
>>><br>
>>> Rafael Avila de Espindola wrote:<br>
>>>><br>
>>>><br>
>>>> What check is configure doing?<br>
>>><br>
>>><br>
>>><br>
>>> Not sure just a user.<br>
>>><br>
>>>> Is the llvm build a clean one? What is the value of LLVM_APPEND_VC_REV?<br>
>>><br>
>>><br>
>>><br>
>>> It is a clean build.<br>
>>> A reply to the list advised to start using<br>
>>><br>
>>> -DLLVM_APPEND_VC_REV=OFF<br>
>>><br>
>>> With this it is OK.<br>
>>><br>
>> Skimming through the LLVM it's not obvious what is the before/after<br>
>> output of `llvm-config --version'. Can anyone share some examples?<br>
><br>
><br>
> On current git head, well it was when I started the build from clean,<br>
> probably not by now :-)<br>
><br>
> Without -DLLVM_APPEND_VC_REV=OFF the output is<br>
><br>
> 5.0.0git-5a8feb7<br>
><br>
> With it, it's<br>
><br>
> 5.0.0svn<br>
><br>
So the version is FOOgit-$SHA while the DSO uses, FOOsvn. At the same<br>
time at least 3.9.0/3.9.1 has broken llvm-config --libnames/libfiles,<br>
so we cannot rely on that.<br>
Doesn't seem like LLVM is giving us something robust to work with here.<br>
<br>
LLVM users/devs (Rafael), I would suggest up-streaming a patch which<br>
changes that toggle default value, for now.<br>
As LLVM does a few releases where it has a reliable way of determining<br>
the library name users can switch to it.<br>
<br>
How does this sound?<br>
<br>
Thanks<br>
Emil<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">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/mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>