From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id A12963858D1E for ; Tue, 3 Jan 2023 10:52:48 +0000 (GMT) Received: by mail-pg1-x533.google.com with SMTP id v3so19862364pgh.4 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=cA0EoIOlom+v9NcGq75MEhy8ZMhySMH2tvBYbCU5biDjiTSbAUfhYVYBxOsiWf8WeZ sjcBJGoO5LIvg8iS0hQ8cjQ2A5C882p32yrZ/3p1eBqdXtVzbJPqBLd6LStkgbqX+vNG pYX/aT10t2lIEWc0kHzINHmLvKpGYXAreMZSqtlH0sagjtfP6vkr0dpf7sMfPc6rtHSV jJUEnHgcZQ0ozgkgkDJwIeG6z2mh6gb6rHdykfjE8uTvmeUV5wTlX4enzA1qF3CacmUE 3aare9Z/oKR+KAoZHU5+bvU5odozIm6eVyuJHbGFVrSkWGFxrxq03pqMi4FLNalhpD8g fYlg== X-Gm-Message-State: AFqh2koi4AKF9ihUB4dm2nRhzrWH9PBJ7To921DYc9NV07tGXPrWW8Gk 300lthJGzmOdlgPMDKYMPu2xSpBI/uJEUcQ8mkdGHA== 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=-4.0 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