From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119091 invoked by alias); 17 Oct 2016 18:00:24 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 119052 invoked by uid 89); 17 Oct 2016 18:00:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,MISSING_HEADERS,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=dark, digging, Hx-languages-length:1574, chatting X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Oct 2016 18:00:08 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 57DCC80F7D for ; Mon, 17 Oct 2016 18:00:06 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9HI056a009703 for ; Mon, 17 Oct 2016 14:00:05 -0400 Subject: Buildslaves and C++11 support References: <1476448162-20203-1-git-send-email-palves@redhat.com> <209d21ef-f3cb-6188-8654-943b2254c9b3@redhat.com> <87bmyklqac.fsf@tromey.com> <70152188-5427-1eb1-a2bf-d77251d36a78@redhat.com> Cc: gdb-patches@sourceware.org From: Pedro Alves Message-ID: Date: Mon, 17 Oct 2016 18:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <70152188-5427-1eb1-a2bf-d77251d36a78@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-10/txt/msg00488.txt.bz2 On 10/17/2016 02:51 PM, Pedro Alves wrote: > I'd like to get this in soon to unblock Tromey's C++ series, and more. > We can move along with the C++11 discussion / plan in parallel. > > Any objections? > > I'll be more than happy to remove this when we finally make C++11 a > requirement. But I don't want to rush that. We should make sure that > the buildbot's buildslaves are ready, for example. 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. The Debian buildslave was one I knew was old enough to not have recent enough gcc for full C++11 support. It was running Debian Wheezy, which comes with gcc 4.4 OOTB. After a little digging, I found at [1] that it's easy to install Jessie's gcc 4.9 packages on Wheezy: ~~~~ This leaves the original GCC,G++ in place. If you wish to compile with the 4.9 version, then either set the CC and CXX env vars accordingly or invoke the compilers as gcc-4.9 or g++-4.9 explicitly. ~~~~ I pointed Mark Wielaard, the buildslave owner, at this, and he instead upgraded the machine to Debian Jessie instead over the weekend. :-) Many thanks Mark. One down, $N to go. [1] - http://stackoverflow.com/questions/25147363/how-to-install-g-4-9-on-debian-wheezy-armel Thanks, Pedro Alves