New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: bump GCC requirement to 4.8 #11732
Comments
ReleaseGCC 4.8 was released March 22 2013, with it's most recent bug-fix release (4.8.5) on June 23 2015. C++11 SupportStatus of C++11 support in GCC 4.8: https://gcc.gnu.org/gcc-4.8/cxx0x_status.html. From what I can find the last time we committed a fix specifically for GCC 4.7 was in #1126. One of the downsides listed for "Consider building with -flto" in #10616 is "Before GCC 4.8: double size object files". A bump to GCC 4.8 would remove that issue. |
So looks good to me. |
Since apparently no one uses gcc4.7 in daily (or regular) builds, I don't see a way how we could support that version. Even if we managed to get master compile with gcc4.7, it would likely end up breaking shortly after. |
ACK on upping the requirement to GCC 4.8. |
ACK on the bump too |
Anything left to do here? Can someone declare that it was bumped and close this issue? |
@MarcoFalke We should at least make it explicit in the docs. I'll open a PR. |
Also the build system needs to give a clear error message if the compiler version is known not supported. Currently it fails non-intuitively on AX_CXX_COMPILE_STDCXX w/ 4.7. |
fae98f6 [Docs] Bump minimum required version of GCC to 4.8 (fanquake) Pull request description: Make it explicit that the minimum required version of GCC is 4.8. Discussion in #11732. Tree-SHA512: 85ade5a4a63ea1cb6b5e20756bc96f25518c394e00a8d3ed5b9c2927b55ea3155645ca74bb1c7e7eda69d7e42d440a42bde839f281e57fc3e20390b2a19885d6
Inspired by discussion here: #11722 (comment) . This would allow using more C++11 features such as thread local data (https://gcc.gnu.org/gcc-4.7/cxx0x_status.html versus https://gcc.gnu.org/gcc-4.8/cxx0x_status.html). FWIW gcc 4.7.0 was released in March 22, 2012, last bugfix release was 4.7.4 in June 12, 2014.
Is anyone successfully building on g++ 4.7?
@theuni what's your opinion?
The text was updated successfully, but these errors were encountered: