<div dir="ltr">That&#39;s true but you&#39;re losing the scan-build like, colored html output (use debatable) with explanations under what circumstance the issue happens (branches taken, etc.) (very helpful). </div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, May 2, 2013 at 4:49 AM, PaX Team <span dir="ltr">&lt;<a href="mailto:pageexec@freemail.hu" target="_blank">pageexec@freemail.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On 1 May 2013 at 19:47, Behan Webster wrote:<br>
<br>
&gt; &gt;&gt;&gt;         I was able to x64 just fine the other day. (I also tried it<br>
&gt; &gt;&gt;&gt;         with allyesconfig but that (obviously) failed).<br>
&gt; &gt;&gt;         We don&#39;t support all configurations yet. Getting to the point<br>
&gt; &gt;&gt;         where we are already has taken a lot of work already.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;     I understand. It was also on of the ideas on the GSoC page to<br>
&gt; &gt;&gt;     have allyesconfig work. I was just curious how long until the<br>
&gt; &gt;&gt;     error (longer than I expected; it was a VLAS).<br>
&gt; &gt;     I would expect allyesconfig would fail very quickly. :)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Once I actually went to JOBS=1 that was indeed the case :-D.<br>
&gt; LOL.<br>
&gt;<br>
&gt; &gt;&gt;&gt;             As far as the scope for implementing checker for the<br>
&gt; &gt;&gt;&gt;             kernel, many of the frequent contributors just have not<br>
&gt; &gt;&gt;&gt;             had the time to try it. From those who have tried it, we<br>
&gt; &gt;&gt;&gt;             know it doesn&#39;t just work out of the box.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;         I see. When ever I used the analyzer it was using the<br>
&gt; &gt;&gt;&gt;         scan-build tool. Need to check whether it works with the<br>
&gt; &gt;&gt;&gt;         custom build system<br>
&gt; &gt;&gt;         We don&#39;t need to run it on our makefiles. We need it run on<br>
&gt; &gt;&gt;         the kernel makefiles (Kbuild). The analyzer would be driven<br>
&gt; &gt;&gt;         by our build system.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;     The way I understand the system, it basically replaces env<br>
&gt; &gt;&gt;     variables but allows customization, does error-handling, sets<br>
&gt; &gt;&gt;     defaults, etc. I was just wondering if it would propagate through<br>
&gt; &gt;&gt;     down to where the `make` that actually builds the kernel.<br>
&gt; &gt;     That would be the gig: Figuring this out, then ultimately tuning<br>
&gt; &gt;     it for the kernel if time permitted (adding specific<br>
&gt; &gt;     analysis/checks which are Linux kernel specific).<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Alright, with some experimentation I figured: it does. Well, to some<br>
&gt; &gt; extent at least. After disabling the hardcoded CC variable in<br>
&gt; &gt; make-kernel.sh. I was able to run the analyzer using the scan-build<br>
&gt; &gt; wrapper (ccc-analyzer).<br>
&gt; Hmm. Maybe it isn&#39;t as much work as we thought? :)<br>
<br>
</div></div>sorry to chime in this late, but if you just want to build the kernel<br>
with the analyzer, it&#39;s very simple as i described it some time ago<br>
(<a href="http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-October/011742.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-October/011742.html</a>):<br>
<br>
   the easiest way to run the analyzer is to issue<br>
   make CC=.../clang C=2 CHECK=&quot;clang --analyze&quot;<br>
<br>
</blockquote></div><br></div>