From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Pir/GA1hHmWeWyUAWB0awg (envelope-from ) for ; Thu, 05 Oct 2023 03:09:01 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=FsTKJZPm; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 4B51F1E0C3; Thu, 5 Oct 2023 03:09:01 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 3C1321E028 for ; Thu, 5 Oct 2023 03:08:59 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B55293857724 for ; Thu, 5 Oct 2023 07:08:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B55293857724 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1696489738; bh=YoBqRLVSxKoENR6csYpCtzzXM1fGr1elg5+vmQARSAA=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=FsTKJZPmjW0UiPAMCMoX5PkqoQVTNq479aLBIeUxMp0Y/r3iA0jjIbai7e/ZxTDfN +XQABnmHYtX+FuwsMjAarC6F84NW+j0JrrysrHIvyYn+dBfB1HqXc9AgnQBzFgfXUN PoyvsifiQ/cY8mv1duqOZdra/TGWe/PyGFzGchYs= Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id CD8D6385B534 for ; Thu, 5 Oct 2023 07:08:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CD8D6385B534 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0950121860; Thu, 5 Oct 2023 07:08:30 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E21F0139C2; Thu, 5 Oct 2023 07:08:29 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id jxR7Ne1gHmX4MQAAMHmgww (envelope-from ); Thu, 05 Oct 2023 07:08:29 +0000 Message-ID: <12746ab4-dd11-4575-9817-827af4c7230a@suse.de> Date: Thu, 5 Oct 2023 09:08:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: GDB BoF notes - GNU Cauldron 2023 Content-Language: en-US To: Pedro Alves , gdb@sourceware.org, Lancelot SIX References: <1e26c71e-e242-de11-a687-46e05586e608@palves.net> In-Reply-To: <1e26c71e-e242-de11-a687-46e05586e608@palves.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom de Vries via Gdb Reply-To: Tom de Vries Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 9/27/23 14:41, Pedro Alves wrote: > - Can we require C++17? > > Lancelot has patches for this. > > Looked at / discussed policy established when we migrated to C++11: > https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards#When_is_GDB_going_to_start_requiring_C.2B-.2B-NN_.3F > > "Our general policy is to wait until the oldest compiler that > supports C++NN is at least 3 years old." > > Discussion about whether the bump is problematic for current > distros. > > Looked for first GCC version that claims supports C++17. In GCC 9 > release notes: "The C++17 implementation is no longer experimental." > GCC 9.1 was released on May 3, 2019. > > Do we need full C++17, though? We can use language features even if > the standard library implementation doesn't support everything. > > Were there actual ABI breakages between compiler releases before it > was made non-experimental, though? AI: ask Jonathan Wakely. > > On whether we have easy availability of a new enough compiler in > distros, in practice: > > - Tom de Vries to double check for SuSE. > I've double-checked, it's not a problem. I see now that it's mentioned that Lancelot has patches, I missed that and submitted an RFC ( https://sourceware.org/pipermail/gdb-patches/2023-October/202987.html ). Thanks, - Tom > - Carlos O'Donell confirms that for RHEL we're good, because of GCC > Toolset. > > - Someone should check Debian/Ubuntu and others. > > - BSDs tend to have easy access to recent Clang. > > - MinGW toolchains tend to use newer GCCs. >