From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 04 Nov 2022 09:12:43 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oqroh-00EiNg-By for lore@lore.pengutronix.de; Fri, 04 Nov 2022 09:12:43 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oqrog-00013n-5g; Fri, 04 Nov 2022 09:12:42 +0100 Received: from h1.cmg2.smtp.forpsi.com ([81.2.195.188]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqroA-000133-1R for ptxdist@pengutronix.de; Fri, 04 Nov 2022 09:12:11 +0100 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id qro7oviNsv5uIqro8oczWI; Fri, 04 Nov 2022 09:12:08 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1667549528; bh=EwgwnugX2KNIkdJ681wqtlVfo61Ag8IKQ9wBkrvsVDY=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=aF68GVN6RkrO5Mezn+xFjX5D/Er/LPxnBFPXkopsuq6OS7sRt0WBhA6yN3vuzhV5Y APOZZ8eRkyU0wfeChC6N8ws/o6rFcgEiXV35HSOMomUHZwrUVfb2K3YZsE+OlC6HWV 3rymRFhdehwSh88+yBU1ncw1YskXd7e1dGjsxF2jpkC5FN/J7tvIHuxVD6zUqGEiq8 wduRkcuNH4fGxDJzFRRZIVy0OoNKYlXE2bFNZYHc2A4fw3ru1IXZ9xMA23f9f2xo5A ka5LZkP2FlHotUqcx5lR8mS4o9Uz5WCIVw8zG0N4RM4267un+1G5C61YPVCh+FCr53 9cLgd4auKH7mQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1667549528; bh=EwgwnugX2KNIkdJ681wqtlVfo61Ag8IKQ9wBkrvsVDY=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=aF68GVN6RkrO5Mezn+xFjX5D/Er/LPxnBFPXkopsuq6OS7sRt0WBhA6yN3vuzhV5Y APOZZ8eRkyU0wfeChC6N8ws/o6rFcgEiXV35HSOMomUHZwrUVfb2K3YZsE+OlC6HWV 3rymRFhdehwSh88+yBU1ncw1YskXd7e1dGjsxF2jpkC5FN/J7tvIHuxVD6zUqGEiq8 wduRkcuNH4fGxDJzFRRZIVy0OoNKYlXE2bFNZYHc2A4fw3ru1IXZ9xMA23f9f2xo5A ka5LZkP2FlHotUqcx5lR8mS4o9Uz5WCIVw8zG0N4RM4267un+1G5C61YPVCh+FCr53 9cLgd4auKH7mQ== Date: Fri, 4 Nov 2022 09:12:06 +0100 From: Ladislav Michl To: ptxdist@pengutronix.de Message-ID: References: <20221103165542.469895-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221103165542.469895-1-p.zabel@pengutronix.de> X-CMAE-Envelope: MS4wfIABWfTsUnrdfviF+0c6UdlVwT/XuP8DSZXt8MIdQSybG1zmMMYa7BZ/HOENqght2VfoNZo8kJjNiUn8ZoWL/LDCuqosF0aXl12KVXoVcimQs6UOl4tA j3hShYleLs/D/+bDmoa4LFMCe5i+DJqTGj5dP3YscBzN1fLRxHuEQdRdAwO8ncOld7bNVi6+bQGktRXgMhcPYI9erwrlrd8/9aU= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] gdb: add option for 11.1 and later X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Philipp Zabel Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hi Philipp! On Thu, Nov 03, 2022 at 05:55:42PM +0100, Philipp Zabel wrote: > GDB requires GMP since version 11.1. Add an option to allow selecting > LIBGMP for newer toolchains. This is somewhat analogous to commit > bc5cac5c54d2 ("glibc: add option for 2.34 and later"). before adding one more analogous commit, what about turning both of them to something like def_bool $(success,test "you_test_goes_there") > Signed-off-by: Philipp Zabel > --- > rules/gdb.in | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/rules/gdb.in b/rules/gdb.in > index 1dd2213abc8a..3014271de9c1 100644 > --- a/rules/gdb.in > +++ b/rules/gdb.in > @@ -7,6 +7,7 @@ menuconfig GDB > select LIBC_DL > select GCCLIBS_GCC_S > select NCURSES > + select LIBGMP if GDB_11_1 > help > The GNU Debugger > > @@ -25,5 +26,12 @@ config GDB_SHARED > If not set, the build option > LDFLAGS=-static will be activated. > > +config GDB_11_1 > + bool > + prompt "gdb-11.1 or later" > + help > + Since gdb-11.1, GMP is a required dependency. Enable this option > + if your toolchain gdb version is 11.1 or later. > + > endif > > -- > 2.30.2 >