From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102704 invoked by alias); 2 Nov 2016 14:51:38 -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 101935 invoked by uid 89); 2 Nov 2016 14:51:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=admins, our X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Nov 2016 14:51:33 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F176629; Wed, 2 Nov 2016 07:51:31 -0700 (PDT) Received: from e105689-lin.cambridge.arm.com (e105689-lin.cambridge.arm.com [10.2.207.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 60DD93F41F; Wed, 2 Nov 2016 07:51:31 -0700 (PDT) Subject: Re: [PATCH 0/2] gdb: Require a C++11 compiler To: Pedro Alves , gdb-patches@sourceware.org References: <1477596094-3244-1-git-send-email-palves@redhat.com> <2f6931ce-8286-9b97-3a67-8228becfa424@arm.com> <7437e071-2020-2e0d-0f8b-8269767d157b@redhat.com> From: "Richard Earnshaw (lists)" Message-ID: Date: Wed, 02 Nov 2016 14:51:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <7437e071-2020-2e0d-0f8b-8269767d157b@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00011.txt.bz2 On 01/11/16 16:53, Pedro Alves wrote: > Hi Richard, > > On 11/01/2016 11:00 AM, Richard Earnshaw (lists) wrote: > >> Sorry, I have to say I think this is too soon (having just found out the >> hard way) :-( ). > > Sorry for causing you trouble. :-( > >> Half of the machines I use are still running RHE5 and this change means >> I can no-longer use the system compiler for building GDB. A change that >> requires use of a non-standard compiler significantly complicates the >> process of building (and worse, productizing) GDB builds as now you have > > Fortunately, there are gcc 4.8 packages for RHEL5 in DTS2: > Which are not installed on any of our machines and, frankly, I wouldn't want to take a wager on persuading our IT admins to do that. :-( It's certainly unlikely to happen in short order. It turns out that gcc on RHEL6 isn't new enough either. So now its all the machines I have access to, not just some of them. > https://www.redhat.com/en/about/press-releases/red-hat-releases-red-hat-developer-toolset-2-0-with-update-to-gcc > http://developers.redhat.com/blog/2013/09/12/rh-dts2-ga/ > > Hopefully the number of users that want new gdb but can't install that > will be limited. > >> to mess with either forcing static linking or worse, forcing uses to >> mess with non-standard LD_LIBRARY paths at run time. > > Note that just like gcc, gdb builds with -static-libstdc++ -static-libgcc. > That would help, if I could find a usable compiler... R.