From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1696489710; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YoBqRLVSxKoENR6csYpCtzzXM1fGr1elg5+vmQARSAA=; b=x8XXyk3VDUDs+mhZyj5fCyDeAURCEa7Sizh4lCFSwcl4Oz+A5zpjlnEj/1GFy7z2tug5Y1 zro7J2rtxv5OEn9c6uMYSaeawcH4DtRPD4X2fwmBJmQD0wfoTKK9fy568xHeQPfLD6l6oL I0OfVQaXW5MPedUBYrQ16yOOP/Uh4XA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1696489710; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YoBqRLVSxKoENR6csYpCtzzXM1fGr1elg5+vmQARSAA=; b=9DIjiFp/tDS3wg8ceiA/dyAOVNbwcsmSO9uTr1oLfr9T61UNO+8LyVEdxbhbsL7KCm8kPl fbBlJHk1+90K8KCg== 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> From: Tom de Vries 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 List-Id: 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. >