<div dir="ltr">According to the documentation at <a href="http://llvm.org/docs/GettingStarted.html#software">http://llvm.org/docs/GettingStarted.html#software</a>, compiling LLVM with GCC requires at least version 4.7.0. However, there are apparently several problems building current LLVM/Clang with gcc 4.7.X. This proposal is to increase the minimum required GCC to 4.8.<div><br></div><div>This is split off of the thread started here:</div><div>   <a href="http://lists.llvm.org/pipermail/llvm-dev/2016-October/105742.html">http://lists.llvm.org/pipermail/llvm-dev/2016-October/105742.html</a></div><div>which is a fairly recent regression in being able to compile LTO.cpp with GCC 4.7.4, which I tracked down to a known GCC bug.<br></div><div><br></div><div>According to James Knight, it is not the only place where GCC 4.7.X cannot compile the clang toolchain, which apparently hasn't been buildable by GCC 4.7.X in >3 months:</div><div>   <a href="http://lists.llvm.org/pipermail/llvm-dev/2016-October/105825.html">http://lists.llvm.org/pipermail/llvm-dev/2016-October/105825.html</a></div><div><br></div><div>Renato also suggests bumping the minimum to 4.8, as that is the oldest shipped version in most stable Linux distributions:</div><div>   <a href="http://lists.llvm.org/pipermail/llvm-dev/2016-October/105826.html">http://lists.llvm.org/pipermail/llvm-dev/2016-October/105826.html</a></div><div><br></div><div>We currently have many buildbots building with GCC 4.8, but none with GCC 4.7.X, which is why this issue was not discovered previously.</div><div><br></div><div>Thoughts?</div><div><br></div><div>Thanks,</div><div>Teresa</div><div><div><br></div>-- <br><div class="gmail_signature"><span style="font-family:times;font-size:medium"><table cellspacing="0" cellpadding="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top:2px solid rgb(213,15,37)">Teresa Johnson |</td><td nowrap style="border-top:2px solid rgb(51,105,232)"> Software Engineer |</td><td nowrap style="border-top:2px solid rgb(0,153,57)"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top:2px solid rgb(238,178,17)"> 408-460-2413</td></tr></tbody></table></span></div>
</div></div>