9 ms·
GCC 7.1 Released
- goalieca 9y agoThat's wonderful news. But here I am stuck on the latest centos running 4.8. They haven't even made the switch to abi breaking 5.0
- aristidb 9y agoYou can install a devtoolset[1] to get a newer GCC which keeps ABI compatibility. I'm using gcc 6.2.1 on CentOS 7 that way. [1]: https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ https://www.softwarecollections.org/en/scls/rhscl/devtoolset...
- noselasd 9y agoAnd to be clear, devtoolset/softwarecollections.org is done by Red Hat - it's not some random third party repository providing some use-at-your-own-risk packages.
- Alupis 9y ago> But here I am stuck on the latest centos running 4.8 > They haven't even made the switch to abi breaking 5.0 That's kind of the point of RHEL/CentOS releases... stability above all else. RHEL/CentOS 8.x will likely include a much newer, but still not bleeding-edge version of gcc and friends. You can always download the source and compile a newer gcc if you have that requirement... or perhaps try EPEL repo's.
- SwellJoe 9y agoEPEL is extra packages, not usually newer packages. Software Collections is a variety of curated newer packages (including devtoolset, which includes GCC). https://www.softwarecollections.org https://www.softwarecollections.org
- bandrami 9y agoThen that's wonderful news to you: your long-release-cycle OS insulates you from every single worry about this update. This is why distributions like CentOS and Debian Stable exist. (I just realized that might sound sarcastic to The Kids These Days, but it's 100% serious: that's the whole point of these long-term distributions, and those of us who have to manage large numbers of systems love it.)
- gpderetta 9y agoAnd it's not like gcc 4.8 was a bad compiler anyway. It has decent C++14 support too.
- yzmtf2008 9y ago... which in turn resulted in TensorFlow not being able to be used in clusters for a long, long time: https://github.com/tensorflow/tensorflow/issues/110 https://github.com/tensorflow/tensorflow/issues/110
- bandrami 9y agoWhich was the point. That was a long, long list of TensorFlow bugs that were avoided.
- xorcist 9y agoI just want to add to that, just to offer a perspective that people not concerned with the upkeep of software always realize: In the general case, when you keep software around for long some bugs will linger. But as long as the issues are well known that's not necessarily a bad thing. Sometimes you have to work around some corner case or performance anomaly in another layer. You don't want to apply fixes to underlying software willy-nilly without first re-evaluating what you did. So sometimes stable distributions will avoid fixing bugs for good reason. (That doesn't go for security issues, of course.) And if that's not what you want most distributions have a more suitable branch for you.
- 9y ago
- djsumdog 9y agoMy rolling release Gentoo I started building in 2012 is still on gcc 4.9.4. (Although I do see 5.4.0 installed in a slot). It's been years since I did a gcc update. They're not for the weak of heart of spirit. I might decide to do a full backup soon and do it again soon.
- mrpippy 9y ago5.4.0 was just stabilized on amd64 in the last few weeks, so you're not far behind. You do have to rebuild a lot of packages (anything C++), but it all went smoothly for me.
- Filligree 9y agoI find them quite simple, but then, I'm on NixOS. :-) Which is not an operating system I'd normally recommend to... anyone. If you like Gentoo, though, then you might quite appreciate its build system. Worth a look?
- Qantourisc 9y agoHe I'm on 6.3.0 :p (for Zen compile target.)
- gigatexal 9y ago"The C++ frontend now has experimental support for ALL (emphasis added) of the current C++17 draft, with the -std=c++1z and -std=gnu++1z options, and the libstdc++ library has most of the C++17 draft library features implemented too. The Address Sanitizer can now report uses of variables after leaving their scope. GCC now can be configured for OpenMP 4.5 offloading to NVidia PTX GPGPUs." The above are some really intriguing nuggets, I will have to check this out this weekend.
- gumby 9y agoDid I overlook gcc 7.0??