<div dir="ltr">+1. I've been bitten by the 4.7 STL's lack of std::map::emplace a few times, so I support this.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 12, 2016 at 3:51 PM, Teresa Johnson via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">According to the documentation at <a href="http://llvm.org/docs/GettingStarted.html#software" target="_blank">http://llvm.org/docs/<wbr>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" target="_blank">http://lists.llvm.org/<wbr>pipermail/llvm-dev/2016-<wbr>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" target="_blank">http://lists.llvm.org/<wbr>pipermail/llvm-dev/2016-<wbr>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" target="_blank">http://lists.llvm.org/<wbr>pipermail/llvm-dev/2016-<wbr>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><span class="HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div class="m_-4327606693312860139gmail_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)"> <a href="tel:408-460-2413" value="+14084602413" target="_blank">408-460-2413</a></td></tr></tbody></table></span></div>
</div></font></span></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">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></blockquote></div><br></div>