This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Buildslaves and C++11 support


On Tuesday, October 18, 2016 12:20:00 AM Pedro Alves wrote:
> On 10/17/2016 07:00 PM, Pedro Alves wrote:
> 
> > A small update here.
> > 
> > I plan to use the new trybot support to test a patch
> > that forces the C++11 requirement, to determine which
> > buildbots don't have a recent enough compiler yet.  Also
> > chatting with Sergio about getting this info written
> > down and visible on the buildbot web frontend or extracted
> > systematically out of the builds, to avoid this "in the dark"
> > situation.
> 
> I was looking at this, and noticed that 
> 
>  https://sourceware.org/gdb/wiki/BuildBot#Available_Builders
> 
> doesn't actually cover all the build slaves.  The ones it does cover I
> think we already know run sufficient enough gcc from the OS version.
> 
> So I looked at the full list of configured build slaves, at:
> 
>   http://gdb-build.sergiodj.net/buildslaves
> 
> and built the following table based on info I could find either in the
> build slaves' info page, or if compiler info missing there, by doing a
> web search for which gcc version a given distro ships with.
> 
> Slave                            | Compiler / Info
> ---------------------------------+-----------------------------------------------------------
> aix-power8-1                     | AIX 7.2 - it's on the gcc compile farm; I logged in, and it has GCC 6.1
> debian-jessie-mips-be-1          | Debian Jessie (comes with GCC 4.9, AFAIK); not connected anyway.
> debian-jessie-s390x-1            | Debian Jessie (comes with GCC 4.9, AFAIK); connected
> fedora-ppc64be-1                 | Fedora 23 (comes with GCC 5.3.1)
> fedora-ppc64le-1                 | Fedora 23 (comes with GCC 5.3.1)
> fedora-x86-64-1                  | Fedora 24 (GCC 6.1)
> fedora-x86-64-2                  | Fedora 24 (GCC 6.1)
> fedora-x86-64-3                  | Fedora 24 (GCC 6.1)
> fedora-x86-64-4                  | Fedora 24 (GCC 6.1)
> gdb-amd64-netbsd7                | NetBSD 7 (gcc version 4.8.4 (nb2 20150115))
> koobs-freebsd8                   | *not connected*
> koobs-freebsd9                   | gcc 4.2 (fails building gdb now already)
> koobs-freebsd10                  | clang 3.4.1 (C++11 ready)
> koobs-freebsd11                  | clang 3.8.0 (C++11 ready)
> marist-fedora-s390x              | Fedora 23 (GCC 5.3.1)
> rhel-7.1-s390x-1                 | RHEL 7.1 - should be GCC 4.8 
> ubuntu-aarch64-1                 | Ubuntu 14.04 (GCC 4.8.2)
> wildebeest-debian-jessie-i686    | Debian Jessie (GCC 4.9.2)
> wildebeest-debian-jessie-x86_64  | Debian Jessie (GCC 4.9.2)
> 
> I believe that if any is not actually building with the
> system compiler, it'll probably be using a newer gcc version...
> 
> So looks like the only one not C++11 ready is the FreeBSD 9 one.
> But, that one hasn't managed to build gdb for a long while
> [1] (did it ever?) and isn't even hooked to send test reports to the
> testers list, AFAIK.  We wouldn't really miss it, IMO.
> 
> [1] - http://gdb-build.sergiodj.net/builders/FreeBSD-x86_64-m64
> 
> So looks like Mark's Debian Wheezer buildslave was really the only one
> that needed updating and we're actually ready for C++11 from
> the buildbot's perspective?

For FreeBSD 9, I can fix the port that is used to build the package folks
install to use a C++11 compiler for GDB 7.13, so that should be fine.  It
should also be fairly simple to fix the buildbot to install a newer compiler
from a package to use instead of the system compiler as well.  I can follow
up with the maintainer.

Personally, I am only testing GDB on FreeBSD 10.x and later generally using
clang (though the clang build has a few warnings still, when I've used gcc
it built cleanly).

-- 
John Baldwin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]