From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43952 invoked by alias); 1 Nov 2016 11:00:40 -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 43675 invoked by uid 89); 1 Nov 2016 11:00:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=981 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; Tue, 01 Nov 2016 11:00:12 +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 B895F16; Tue, 1 Nov 2016 04:00:09 -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 265B43F220; Tue, 1 Nov 2016 04:00:09 -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> From: "Richard Earnshaw (lists)" Message-ID: <2f6931ce-8286-9b97-3a67-8228becfa424@arm.com> Date: Tue, 01 Nov 2016 11:00: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: <1477596094-3244-1-git-send-email-palves@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00001.txt.bz2 On 27/10/16 20:21, Pedro Alves wrote: > As previously discussed, this patch set makes GDB require a C++11 > compiler. > > You'll find the previous discussions referenced here: > https://sourceware.org/ml/gdb-patches/2016-10/msg00607.html > > This is basically the same as I had sent here: > https://sourceware.org/ml/gdb-patches/2016-10/msg00336.html > > The only difference is a single-line change that makes C++11 a > mandatory instead of enabling it iff supported. > > Pedro Alves (2): > gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive > gdb: Require C++11 > > gdb/Makefile.in | 6 +- > gdb/acinclude.m4 | 2 + > gdb/ax_cxx_compile_stdcxx.m4 | 567 +++++++++++++++++++++++++ > gdb/config.in | 3 + > gdb/configure | 981 ++++++++++++++++++++++++++++++++++++++++++- > gdb/configure.ac | 4 + > gdb/gdbserver/Makefile.in | 5 +- > gdb/gdbserver/acinclude.m4 | 2 + > gdb/gdbserver/config.in | 3 + > gdb/gdbserver/configure | 981 ++++++++++++++++++++++++++++++++++++++++++- > gdb/gdbserver/configure.ac | 4 + > 11 files changed, 2552 insertions(+), 6 deletions(-) > create mode 100644 gdb/ax_cxx_compile_stdcxx.m4 > Sorry, I have to say I think this is too soon (having just found out the hard way) :-( ). 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 to mess with either forcing static linking or worse, forcing uses to mess with non-standard LD_LIBRARY paths at run time. R.