From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id A7DD73858D37 for ; Tue, 3 Jan 2023 10:52:48 +0000 (GMT) Received: by mail-pf1-x42b.google.com with SMTP id 124so20291955pfy.0 for ; Tue, 03 Jan 2023 02:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FSYNEimm/EZJ8wSzX84+uJD8AIYVq/5Q+s/5Z3lGiVI=; b=hxSDXFqTooLRhc1rTYfY2jIvIrhOJFCC/JahFQPDE8QDPdTEEeyccHatWHhIyTIFeR GnQOmZASjB4rYNBwCatSWs+KP75CSg37o5oJjiSiV73aydgWwpAShoaa4eYacG1smwfL CVUWZSiZp728uT3wHELlLkOF2+pkHq3pDkaEZ21qroKggemPoLqSpwVInTe1bMWiOVYt 0Y8DqZZjdvkl0KhgRkJbm7Vbl3qE4vqHvuZ5uU/l1HsJGLRZBLPwXHBMC4pTDXo6qc57 4sv3xcfkSqsBy00tlVilcEjxDURmyTQXYh8yaDniBfc1+Nmg4seEKglSwwA95RrWIok8 1n2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FSYNEimm/EZJ8wSzX84+uJD8AIYVq/5Q+s/5Z3lGiVI=; b=W6f8TnFbPw9Rr6bIA/6/ewKYtFDQErI5odtdTP9N0VTitH1m1LavxwM4DFTcPjKQhy 5hXXrSAh6lACk7S1E/FTHKh3USOISl4gE65veyOdMsa7QS/ZJ/kuL5mMv9Vg6XY713lH SyUK4TjsbyZlIqAMoKRq1hGsPUftWxGJWMnmVwaYDGPmJzouNdcWqWLOWUURfwPosxb2 tDcW+p/W8Jbhy71n99ZHsGGhDyuxNVljkh/k5e4ejcgxs6T0Uq+seKUYa/q8pjpSdVni cBE72cIrPJ1f9M3RcAUND13y5PugnRKEnnJCdgp3hWq0eesDeB2E1k/MmlKlONsLbeGA CvNg== X-Gm-Message-State: AFqh2koGa2uRvsi1c/d0AMUl8G4UxrQp2kUAfd9c0lh3CBCdPX0ViYfR MXeLSACDNOvDupVTOKzSYbOFvuU598tZFnK8fuDkLA== X-Google-Smtp-Source: AMrXdXuEzEGGLtv7HgBZoTEGK6Q0JEErI7MxKLOteNmWG7lYr8uKerfwi1NXlEBZfnQ2VOnvUkk7uR6b/GZDtVtN5co= X-Received: by 2002:a62:1d07:0:b0:582:e7c:f6f3 with SMTP id d7-20020a621d07000000b005820e7cf6f3mr905397pfd.8.1672743167779; Tue, 03 Jan 2023 02:52:47 -0800 (PST) MIME-Version: 1.0 References: <1668107159-16961-1-git-send-email-apinski@marvell.com> <877cyllx53.fsf@tromey.com> <87v8m4iyt1.fsf@tromey.com> In-Reply-To: <87v8m4iyt1.fsf@tromey.com> From: =?UTF-8?Q?Cl=C3=A9ment_Chigot?= Date: Tue, 3 Jan 2023 11:52:36 +0100 Message-ID: Subject: Re: [PATCHv2] Use toplevel configure for GMP and MPFR for gdb To: Andrew Pinski Cc: binutils@sourceware.org, apinski@marvell.com, Jeff Law , Tom Tromey , gdb-patches@sourceware.org, Nick Clifton Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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: Hi guys, Since this patch, binutils without mpfr and gmp is unable to build when gdb is disabled (with configure option --disable-gdb). But AFAICT, these libraries are not required if gdb isn't there. Moreover, the following error looks wrong to me when gdb is explicitly requested not to be built. | configure: error: Building GDB requires GMP 4.2+, and MPFR 3.1.0+. | Try the --with-gmp and/or --with-mpfr options to specify Thus, I'm wondering if there are any plans to also use gmp and mpfr in binutils without gdb (adding Nick for that) ? In this case, we would want to change the error message. Or is this patch only meant for gdb and should be adjusted for --disable-gd= b ? Thanks, Cl=C3=A9ment