Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
RFC: bump GCC requirement to 4.8 #11732
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?
GCC 4.8 was released March 22 2013, with it's most recent bug-fix release (4.8.5) on June 23 2015.
Status 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.