From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by sourceware.org (Postfix) with ESMTPS id 31E993858D37 for ; Tue, 3 Jan 2023 13:12:23 +0000 (GMT) Received: by mail-pj1-x1030.google.com with SMTP id n65-20020a17090a2cc700b0021bc5ef7a14so31081247pjd.0 for ; Tue, 03 Jan 2023 05:12:23 -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=XWesVxpPmYOBE1BsDBEbCs5yX32Fq5gnl8pUes3rxYc=; b=GSC/QYNap/BI8E0vjWxiN1G2tz8doGsXjjyq1F6fV9mWHFL5vwCCb+fm/16zP/wqKY vJ2pKtk/lMrl7VRgM6RrVKyatdmjj4Opy9QIgKhxJKYjB6QG925Xzm6qaJps9LMJ8nUT VAK6PbtKFdEio4PA8jo6mcj7grZxwi881A0RoHJg1o1qLXPOYIU2gKF9NwDdVfaehO3y g0/twYs0J4RbxuJ8RT1gOCelpTOP+TqGMP/xXalhwzGTFXOgUXiA5xChELEiBF510Bc/ 5mM/GBHwPTlRKu8WF015M/DiWogR11i93z7dr9/z6nYfCsTaPZdeOLDwuZUMEq7utOcF 4kBA== 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=XWesVxpPmYOBE1BsDBEbCs5yX32Fq5gnl8pUes3rxYc=; b=tvGDUOmipPgBEDzskIK4Ua6i6DgxciWBJiTlS9AvJwDa+xpGrSrHfiizrCAsMDhQIP qzixitgsSRnNG3mhT/ucxZ9LdU3kxNryslPZCa2ZsxO1yxssgiQ0ujWVMNZ7qE6eN3oy IzwQDBmkvYqHtYIWgyHFVpSwVTAZiHhddKSRPfpl6XEBtPSpZ1wY9ngVzh9by8dSXzKp x6MsfrbC6NzE3aBP6Bh1pWXWw5L5BwDh5hRkwYvZcw4wF07OkwqFF5iZcqSRn1nHjnwY 7ol95+MDVAyU64hqgsFY8lI2e+uaJPuNpi8gKe1/XDr7O/VYa4+MbeHL1PKVBZi3fLaC 1nMg== X-Gm-Message-State: AFqh2kprdXwoj7H4nIrieseNpFPRigx3VKKUJbIg5kAERVJcOVEkc3Qq YZjdHoE1lMPKXhEqX0axtcONBBlChRvVkg+hx1gDMg== X-Google-Smtp-Source: AMrXdXv8X7ZkmnEd5hEffQ5/ahhxXKf6ywnPvR56uwd1FeG1lotoEMd92V/B2lurRLM/H8URY7rLyt5qYfj4bTMX/98= X-Received: by 2002:a17:90b:1e0b:b0:226:1221:3c51 with SMTP id pg11-20020a17090b1e0b00b0022612213c51mr1706198pjb.194.1672751542342; Tue, 03 Jan 2023 05:12:22 -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: From: =?UTF-8?Q?Cl=C3=A9ment_Chigot?= Date: Tue, 3 Jan 2023 14:12:11 +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.3 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 Andrew, On Tue, Jan 3, 2023 at 12:52 PM Andrew Pinski wrote: > > On Tue, Jan 3, 2023 at 2:52 AM Cl=C3=A9ment Chigot w= rote: > > > > Hi guys, > > > > Since this patch, binutils without mpfr and gmp is unable to build > > when gdb is disabled (with configure option --disable-gdb). > > The issue only happens if you are building from git repo. the release > versions of binutils does NOT include the gdb directory so it does not > matter. This is the toplevel configure raising an error. The fact that the gdb directory is embedded or not in the release doesn't matter here. Moreover, we still want to be able to build from the git repository with --disable-gdb. Anyway, Nick answers confirm my idea. The toplevel configure should be adjusted for --disable-gdb. I'll take care of that. Thanks, Cl=C3=A9ment