RE: Compiler prerequisite and C++11-ificartion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Gregory Farnum [mailto:gfarnum@xxxxxxxxxx]
> Sent: Tuesday, September 29, 2015 3:53 PM
> To: Dałek, Piotr
> 
> On Tue, Sep 29, 2015 at 2:21 AM, Dałek, Piotr <Piotr.Dalek@xxxxxxxxxxxxxx>
> wrote:
> > 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.

That would be a time saver for some of us.

> 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
��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux