From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 945153858D3C for ; Tue, 3 Jan 2023 11:52:00 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672746720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c8JXRw6miQtNHHJmz00j2V6jtX/+G6nxk8fZNtfZYUk=; b=RADXU+E7tviIjdl6XdP/GLi1ipmLZNkju60CHVDkO3IoIqF6EnrPADZe6Lahu3Q8fDljJV pr2QeYL4o3wctv0df0L5sHJS26gnPLLF2TfmBvibu9w+SqwzQzsVqSbgHzk6Ns4Vlrshj8 fHRPDXtmWohO0jD0EWiT6meXAZxVrKI= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-26-JZMAv6NtOnuvdz05BaFgKA-1; Tue, 03 Jan 2023 06:51:59 -0500 X-MC-Unique: JZMAv6NtOnuvdz05BaFgKA-1 Received: by mail-wm1-f69.google.com with SMTP id ay32-20020a05600c1e2000b003d9730391b5so13834722wmb.5 for ; Tue, 03 Jan 2023 03:51:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c8JXRw6miQtNHHJmz00j2V6jtX/+G6nxk8fZNtfZYUk=; b=6mgXF+HXwvWGDcwDBNzrnVAe4u6MdxAHwXaOSNZ8KJOS9kEkQBwZwpuGOeK80LczTk 7sswPa7eOO5oEgULq6fGfEzTr3nqEX0jVdjiw6Lh5zR10A3gLe4wXKBvoqIW4ohEPp0I Mn1+LQehpqR2CoKLdK1wWmbL9DPr3Ke7sUgGyDrCbzs2UCCPFZ3pnKB0/ldJySDK49+c HUN+y59pOEQHHsPprWHhfK5DY28E1SkZP+/5MGYYqL/xisAQJc2S9zKYgC4gLx8latfd QWVPrfkBO+Xl2scQnsFvf+TXLUlH1S1RvDkzDkunkqfwmkSzDlFNsXCFHWjShGlxLTMr Icrw== X-Gm-Message-State: AFqh2kqBfHsn61oz4lH9qxsoxEsA7EjHWsnYzD+vcfWpbTTyAHZcWSL6 SkST+i3XaYNsIAZbAgz4xjqh//UyJUVOYhxCVA6aA0ds/bThSTXd8utQ41aNwHVUASFsVTVsdTE q++mwAWFvxWEAGHiMNky1dA== X-Received: by 2002:a05:600c:5006:b0:3d2:3eda:dd1 with SMTP id n6-20020a05600c500600b003d23eda0dd1mr31340520wmr.17.1672746717549; Tue, 03 Jan 2023 03:51:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXtgVgdZJYPWpZC7H6A3CwdhjMmhPOHSPs0rs8Rld9hPUaJblMxN082rMuom7fyZMlGAq7z0gg== X-Received: by 2002:a05:600c:5006:b0:3d2:3eda:dd1 with SMTP id n6-20020a05600c500600b003d23eda0dd1mr31340508wmr.17.1672746717334; Tue, 03 Jan 2023 03:51:57 -0800 (PST) Received: from [192.168.1.18] ([79.123.75.206]) by smtp.gmail.com with ESMTPSA id ay39-20020a05600c1e2700b003cfa80443a0sm41791045wmb.35.2023.01.03.03.51.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jan 2023 03:51:56 -0800 (PST) Message-ID: Date: Tue, 3 Jan 2023 11:51:56 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCHv2] Use toplevel configure for GMP and MPFR for gdb To: =?UTF-8?Q?Cl=c3=a9ment_Chigot?= , Andrew Pinski Cc: binutils@sourceware.org, apinski@marvell.com, Jeff Law , Tom Tromey , gdb-patches@sourceware.org References: <1668107159-16961-1-git-send-email-apinski@marvell.com> <877cyllx53.fsf@tromey.com> <87v8m4iyt1.fsf@tromey.com> From: Nick Clifton In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 Clément, > 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. Agreed - binutils does not use them. > 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 Yup - the message should not be generated if gdb is not being built. > Thus, I'm wondering if there are any plans to also use gmp and mpfr in > binutils without gdb (adding Nick for that) ? No - there are none. > Or is this patch only meant for gdb and should be adjusted for --disable-gdb ? It should be adjusted. Cheers Nick