<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Mats, don’t sweat reproducing it unless it just pops up for you. I actually spent some time today implementing that idea we had for detecting these failures, and I committed it in r287207. It relies on the OS X tool sandbox-exec, but I’ll work my way through all the missing dependencies over the next couple days.<div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 16, 2016, at 5:09 PM, mats petersson <<a href="mailto:mats@planetcatfish.com" class="">mats@planetcatfish.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">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 class=""><br class=""></div>I will definitely make an effort to repro this tomorrow... <br class=""><br class="">--<br class=""></div>Mats<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 16 November 2016 at 22:10, Chris Bieneman <span dir="ltr" class=""><<a href="mailto:beanz@apple.com" target="_blank" class="">beanz@apple.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">A general call here. Anyone who ever sees a compile error of a missing tablegen-generated header please email me the error.<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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" class=""><div class=""><br class=""></div><div class="">-Chris</div></font></span><div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Nov 16, 2016, at 12:54 PM, Jonathan Roelofs <<a href="mailto:jonathan@codesourcery.com" target="_blank" class="">jonathan@codesourcery.com</a>> wrote:</div><br class="m_-4291026407215047203Apple-interchange-newline"><div class="">
<div bgcolor="#FFFFFF" text="#000000" class=""><p class="">+cbieneman<br class="">
</p><p class="">Mr. CMake might know how to fix it ;)<br class="">
</p>
<br class="">
Jon<br class="">
<br class="">
<div class="m_-4291026407215047203moz-cite-prefix">On 11/16/16 1:52 PM, mats petersson
wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">Thanks, at least I know I'm not imagining or doing
something really daft! ;)<br class="">
<br class="">
</div>
<div class="">My cmake skills are near 0%, so not sure I can fix, but
perhaps I can at least raise a bug? ;)<br class="">
</div>
<div class=""><br class="">
--<br class="">
</div>
Mats<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 16 November 2016 at 20:28, Martin J.
O'Riordan <span dir="ltr" class=""><<a href="mailto:martin.oriordan@movidius.com" target="_blank" class="">martin.oriordan@movidius.com</a>></span>
wrote:<br class="">
<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 class="">
<br class="">
MartinO<br class="">
<div class="m_-4291026407215047203HOEnZb">
<div class="m_-4291026407215047203h5"><br class="">
-----Original Message-----<br class="">
From: llvm-dev [mailto:<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank" class="">llvm-dev-bounces@lists<wbr class="">.llvm.org</a>]
On Behalf Of Jonathan Roelofs via llvm-dev<br class="">
Sent: 16 November 2016 20:11<br class="">
To: mats petersson <<a href="mailto:mats@planetcatfish.com" target="_blank" class="">mats@planetcatfish.com</a>>;
llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>><br class="">
Subject: Re: [llvm-dev] Incorrect / missing dependencies
in llvm build?<br class="">
<br class="">
<br class="">
<br class="">
On 11/16/16 1:05 PM, mats petersson via llvm-dev wrote:<br class="">
> Yesterday, I took latest git version of LLVM, built
a makefile using<br class="">
> cmake (had to update from my "old" cmake to a newer
one, so picked the<br class="">
> latest 3.7.0), and ran the resulting makefile with
`make -j 8`. This<br class="">
> failed with an error, but when I ran make again, it
worked fine... My<br class="">
> guess as to the problem is that there's one or more
dependency that<br class="">
> isn't made clear to make (or cmake), and when I run
make again, it has<br class="">
> built the "previously missing" one.<br class="">
><br class="">
> I didn't spend much time debugging this, I may have
a go tonight, I<br class="">
> just wanted to raise this, in case someone else has
seen this and/or<br class="">
> has a solution... I was able to reproduce the
problem tho', as I built<br class="">
> llvm twice with different configurations, and it
happened both times -<br class="">
> and rerunning make resolved it both times too.<br class="">
<br class="">
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 class="">
<br class="">
<br class="">
Jon<br class="">
<br class="">
><br class="">
> --<br class="">
> Mats<br class="">
><br class="">
><br class="">
> ______________________________<wbr class="">_________________<br class="">
> LLVM Developers mailing list<br class="">
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class="">
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/<wbr class="">mailman/listinfo/llvm-dev</a><br class="">
><br class="">
<br class="">
--<br class="">
Jon Roelofs<br class="">
<a href="mailto:jonathan@codesourcery.com" target="_blank" class="">jonathan@codesourcery.com</a><br class="">
CodeSourcery / Mentor Embedded<br class="">
______________________________<wbr class="">_________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/<wbr class="">mailman/listinfo/llvm-dev</a><br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br class="">
<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 class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>