From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82559 invoked by alias); 13 Oct 2016 13:36:15 -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 82528 invoked by uid 89); 13 Oct 2016 13:36:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1347, protecting, business, risk 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; Thu, 13 Oct 2016 13:36:04 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (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 DE83E7F7B4; Thu, 13 Oct 2016 13:36:02 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9DDZxkA028248; Thu, 13 Oct 2016 09:35:59 -0400 Subject: Re: [PATCH 1/3] Introduce gdb::unique_ptr To: Eli Zaretskii References: <4d49eb8f-5a0c-1e7e-d082-1a224179184f@redhat.com> <831szmd977.fsf@gnu.org> <83vawybol4.fsf@gnu.org> <6ba388f7-1696-42db-ae92-23df79e3ba11@redhat.com> <83oa2qaxe7.fsf@gnu.org> <83fuo1c02j.fsf@gnu.org> <20161012114515.GA26977@host1.jankratochvil.net> <831szlbwqt.fsf@gnu.org> <20161013090647.GA32613@host1.jankratochvil.net> <83y41s8swm.fsf@gnu.org> <53d106ee-26d3-b6dc-1810-0c7dcaef2f84@redhat.com> <83twcg8juq.fsf@gnu.org> Cc: jan.kratochvil@redhat.com, brobecker@adacore.com, markus.t.metzger@intel.com, gdb-patches@sourceware.org From: Pedro Alves Message-ID: <640356ae-74e2-bcba-6c89-26bfbcd4fe36@redhat.com> Date: Thu, 13 Oct 2016 13:36: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: <83twcg8juq.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-10/txt/msg00356.txt.bz2 On 10/13/2016 02:22 PM, Eli Zaretskii wrote: >> Cc: brobecker@adacore.com, markus.t.metzger@intel.com, >> gdb-patches@sourceware.org >> From: Pedro Alves >> Date: Thu, 13 Oct 2016 11:27:03 +0100 >> >> The newer compilers available as packages on these old distros >> (e.g., DTS on RHEL) do _not_ replace the system compiler. They're >> installed in parallel, in separate directories. You willfully add them >> to the PATH or pass an overridden CXX to configure/make if you want to >> use them. > > I don't see the difference, except for the worse: instead of one > compiler you now have two, so one could easily select the wrong one > when compiling some package. You said: "upgrading the system compiler is a serious decision. Installing a newer compiler could easily break the build of several important packages (...)" And I'm telling you that the packages in question don't upgrade the system compiler at all. There's no risk of "easily break" things. Of course people can do all sorts of crazy things, even "sudo rm -rf /" But we're not in the business of protecting against all foolishness. > so one could easily select the wrong one when compiling some package. No you don't. The system one is still the default. There's nothing complicated here. Thanks, Pedro Alves