Compiler prerequisite and C++11-ificartion
Hello,
With recent C++11-ification of Ceph codebase, there's been (silent) compiler requirement change, in particular: GCC 4.4.7 is not enough to build Ceph from master branch, and recent commits made even GCC 4.7 obsolete, requiring GCC 4.8. That is not noted anywhere. Maybe it's a good idea to note this somewhere? This is particularly painful for some LTS distros, like CentOS 6, which come shipped with GCC 4.4.7 and require installation of at least DevToolset 2 to build Ceph successfully.
With best regards / Pozdrawiam
Piotr Dałek
Quoted 4 lines · Piotr
Hello,
With recent C++11-ification of Ceph codebase, there's been (silent) compiler requirement change, in particular: GCC 4.4.7 is not enough to build Ceph from master branch, and recent commits made even GCC 4.7 obsolete, requiring GCC 4.8. That is not noted anywhere. Maybe it's a good idea to note this somewhere? This is particularly painful for some LTS distros, like CentOS 6, which come shipped with GCC 4.4.7 and require installation of at least DevToolset 2 to build Ceph successfully.
I'm not sure we've ever reported required compiler versions for the Ceph toolchain. :/ I'd merge a PR doing somewhere, probably in the README file.
But honestly to do that properly we'd have to keep track of which version of gcc will build the source, and I have a suspicion we won't notice anything like that unless it breaks our gitbuilders — which include a CentOS 6 one using standard tools, so the necessarily compiler is at least readily available! :)
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 14 lines
-----Original Message-----
From: Gregory Farnum [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 3:53 PM
To: Dałek, PiotrQuoted 3 lines · Piotr
Hello,
With recent C++11-ification of Ceph codebase, there's been (silent)
compiler requirement change, in particular: GCC 4.4.7 is not enough to build Ceph from master branch, and recent commits made even GCC 4.7 obsolete, requiring GCC 4.8. That is not noted anywhere. Maybe it's a good idea to note this somewhere?
Quoted 6 lines
Quoted 1 line
This is particularly painful for some LTS distros, like CentOS 6, which come
shipped with GCC 4.4.7 and require installation of at least DevToolset 2 to build Ceph successfully.
I'm not sure we've ever reported required compiler versions for the Ceph toolchain. :/ I'd merge a PR doing somewhere, probably in the README file.
That would be a time saver for some of us.
Quoted 5 lines
But honestly to do that properly we'd have to keep track of which version of gcc will build the source, and I have a suspicion we won't notice anything like that unless it breaks our gitbuilders — which include a CentOS 6 one using standard tools, so the necessarily compiler is at least readily available! :) - Greg
I really don't mind using tools that are available (just not from distribution vendor), even if that's slightly inconvenient (after all, you do this just once). It's just annoying when one day you do git pull, then go through usual build steps, just to see error message that doesn't make sense at first, and after some digging you find out that you have older compiler that doesn't support some fancy, shiny feature which is now used in that particular project.
With best regards / Pozdrawiam
Piotr Dałek