From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by sourceware.org (Postfix) with ESMTPS id 474B43858D1E for ; Tue, 3 Jan 2023 13:12:23 +0000 (GMT) Received: by mail-pj1-x102e.google.com with SMTP id j8-20020a17090a3e0800b00225fdd5007fso21414059pjc.2 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=rBdq6M1p/xKukEtdTFoH/OdIXPB2wExPQWguB7l4M549axLevd2SQ/3vsYDL7tmVB0 merStEihgciW1tWaPZ2jm9b7vVdxw0YlSPjj9qbzZzUS90MOfzchv4antRxwt+quJRpf vXu3niM8g/2nB9BqFtNGYrxaXsKrGKQzQy3Tqq3sudQHVF7a9XiafXQkeDTK/InfAaxe gX6mJ+hSm9o3dcfpf/Dc5hWYtBOt8u0xBxqCuH8RrafkNlBzhTbICgDJ+VY3/DpdgVpi evcYvbNHP5XQJgGSnlQyLoi7l7xZmmnJxxEi9i4m5PbsD04rwgVInjNVnvUqTNMXDjei kcRQ== X-Gm-Message-State: AFqh2kqC1imWr0ajTyGSfDyRSeFqWT31kS5s/9El41A8aYsQwUE51Xie 54Kd1QdAaRz+3wWP4+6nN+GKs0p66CXBfnpTPaJ0SQ== 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=-2.5 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=unavailable 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