<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 12, 2015 at 10:00 AM, Peter Teoh <span dir="ltr">&lt;<a href="mailto:htmldeveloper@gmail.com" target="_blank">htmldeveloper@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Aug 13, 2015 at 12:46 AM, Jan-Simon Moeller <span dir="ltr">&lt;<a href="mailto:dl9pf@gmx.de" target="_blank">dl9pf@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt;&gt;<br>
  Could not find compiler set in environment variable CC:<br>
<br>
  ccache gcc.<br>
&lt;&lt;<br>
<br>
<br>
Check your patch and your compiler setup.  Try w/o ccache.<br>
<br></blockquote><div><br></div></span><div>I suspect you are right, because I have two different machine, one succeed with rpi2 after following Jan&#39;s instruction, and the other is not, giving the indicated errors in previous email.   And both differs in the USE_CCACHE env variable.  <br><br></div><div>I will disable USE_CCACHE and retry again.   Looks good so far.<br> <br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Best,<br>
JA<br>
<div><div>Am Donnerstag, 13. August 2015, 00:39:46 schrieb Peter Teoh:<br>
&gt; On Wed, Aug 12, 2015 at 5:37 PM, Jan-Simon Moeller &lt;<a href="mailto:dl9pf@gmx.de" target="_blank">dl9pf@gmx.de</a>&gt; wrote:<br>
&gt; &gt; Patching works for me fine.<br>
&gt; &gt;<br>
&gt; &gt; can you do:<br>
&gt; &gt;<br>
&gt; &gt; cd target/rpi2<br>
&gt; &gt; rm -rf *<br>
&gt; &gt; git remote -v update<br>
&gt; &gt; git reset --hard origin/master<br>
&gt; &gt; make V=1 2&gt;&amp;1 | tee -a logfile<br>
&gt; &gt;<br>
&gt; &gt; and in case it fails, please send me the logfile.<br>
&gt;<br>
&gt; Thank you Jan and Vinicius for your kind help.<br>
&gt;<br>
&gt; Attached is the gzipped logfile....<br>
&gt;<br>
&gt; Thanks again :-).<br>
<br>
</div></div></blockquote></span></div><span class="HOEnZb"></span><br clear="all"></div></div></blockquote></div><br></div><div class="gmail_extra">Used to be working since the last time I compiled, but today I tried again, and got the attached error.<br><br></div><div class="gmail_extra">not sure if anyone know the cause of error:<br><br>/tools/driver/driver.cpp:46:0:<br>/sda10/llvmlinux/llvmlinux/toolchain/clang/head/install/include/llvm/Support/StringSaver.h: In function ‘int main(int, const char**)’:<br>/sda10/llvmlinux/llvmlinux/toolchain/clang/head/install/include/llvm/Support/StringSaver.h:23:3: error: ‘llvm::StringSaver::~StringSaver()’ is protected<br>   ~StringSaver() {}<br>   ^<br>/sda10/llvmlinux/llvmlinux/toolchain/clang/head/src/clang/tools/driver/driver.cpp:409:28: error: within this context<br>   llvm::StringSaver Saver(A);<br>                            ^<br>make[3]: *** [tools/driver/CMakeFiles/clang.dir/driver.cpp.o] Error 1<br>make[3]: Leaving directory `/sda10/llvmlinux/llvmlinux/toolchain/clang/head/build/clang&#39;<br><br><br></div><div class="gmail_extra"><br><br>-- <br><div class="gmail_signature">Regards,<br>Peter Teoh</div>
</div></div>