<div dir="ltr"><div><div>I'm sorry, I was trying to work out something else yesterday, and the first time I thought it was just some general build error that had scrolled past on the screen above, so thought "make again will show me the error". The second time, I was just trying to get something done before going to bed (something I should have done a while ago today too!). <br><br></div>I will definitely make an effort to repro this tomorrow... <br><br>--<br></div>Mats<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 November 2016 at 22:10, Chris Bieneman <span dir="ltr"><<a href="mailto:beanz@apple.com" target="_blank">beanz@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">A general call here. Anyone who ever sees a compile error of a missing tablegen-generated header please email me the error.<div><br></div><div>These errors are really easy to fix as we find them, but we don’t currently have a good way to force trigger them, or to audit the dependencies.</div><div><br></div><div>I’ve had water cooler conversations around the office with people about building a way to detect these failures, but I haven’t yet had a chance to build it. I may try and prioritize this so that we can have something sooner rather than later.</div><div><br></div><div>On the less general note, this thread doesn’t seem to have a specific error listed anywhere, does anyone have one handy they can point me at?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Chris</div></font></span><div><div class="h5"><div><br><div><blockquote type="cite"><div>On Nov 16, 2016, at 12:54 PM, Jonathan Roelofs <<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>> wrote:</div><br class="m_-4291026407215047203Apple-interchange-newline"><div>
<div bgcolor="#FFFFFF" text="#000000"><p>+cbieneman<br>
</p><p>Mr. CMake might know how to fix it ;)<br>
</p>
<br>
Jon<br>
<br>
<div class="m_-4291026407215047203moz-cite-prefix">On 11/16/16 1:52 PM, mats petersson
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Thanks, at least I know I'm not imagining or doing
something really daft! ;)<br>
<br>
</div>
<div>My cmake skills are near 0%, so not sure I can fix, but
perhaps I can at least raise a bug? ;)<br>
</div>
<div><br>
--<br>
</div>
Mats<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 16 November 2016 at 20:28, Martin J.
O'Riordan <span dir="ltr"><<a href="mailto:martin.oriordan@movidius.com" target="_blank">martin.oriordan@movidius.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I
sometimes see this with a clean build and most often it is
'Attributes.inc' that is missing. I usually have to 'touch
Attributes.td' for this. But I don't know CMake well enough
to know how to fix these issue properly.<br>
<br>
MartinO<br>
<div class="m_-4291026407215047203HOEnZb">
<div class="m_-4291026407215047203h5"><br>
-----Original Message-----<br>
From: llvm-dev [mailto:<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists<wbr>.llvm.org</a>]
On Behalf Of Jonathan Roelofs via llvm-dev<br>
Sent: 16 November 2016 20:11<br>
To: mats petersson <<a href="mailto:mats@planetcatfish.com" target="_blank">mats@planetcatfish.com</a>>;
llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>><br>
Subject: Re: [llvm-dev] Incorrect / missing dependencies
in llvm build?<br>
<br>
<br>
<br>
On 11/16/16 1:05 PM, mats petersson via llvm-dev wrote:<br>
> Yesterday, I took latest git version of LLVM, built
a makefile using<br>
> cmake (had to update from my "old" cmake to a newer
one, so picked the<br>
> latest 3.7.0), and ran the resulting makefile with
`make -j 8`. This<br>
> failed with an error, but when I ran make again, it
worked fine... My<br>
> guess as to the problem is that there's one or more
dependency that<br>
> isn't made clear to make (or cmake), and when I run
make again, it has<br>
> built the "previously missing" one.<br>
><br>
> I didn't spend much time debugging this, I may have
a go tonight, I<br>
> just wanted to raise this, in case someone else has
seen this and/or<br>
> has a solution... I was able to reproduce the
problem tho', as I built<br>
> llvm twice with different configurations, and it
happened both times -<br>
> and rerunning make resolved it both times too.<br>
<br>
Folks on my team have seen this. From their description
of the failure, it looked to me like it was a problem
with missing dependencies on TableGen-generated
headers... but I didn't get enough information to be
able to track down exactly which TU was missing the dep,
and I haven't been able to reproduce it myself.<br>
<br>
<br>
Jon<br>
<br>
><br>
> --<br>
> Mats<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
><br>
<br>
--<br>
Jon Roelofs<br>
<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a><br>
CodeSourcery / Mentor Embedded<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="m_-4291026407215047203moz-signature" cols="72">--
Jon Roelofs
<a class="m_-4291026407215047203moz-txt-link-abbreviated" href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>
CodeSourcery / Mentor Embedded</pre>
</div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>