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.129.124]) by sourceware.org (Postfix) with ESMTPS id 2C91A3858D39 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=1672746719; 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=CpZLSc3+0CSGtqY+pOO77r4w0zMDG1/F/mU1/btyS/ousR6zmqWQpk9qUDRHEU1bwzHBW8 /0SqjH/yEu2Za4hpmpjsdDHv8pdsdgyN8zmxrZIl/0WziUSROoZNpnu8p1sx91IZi0NakZ B7SelCOh+M1PCpgfFkPiCepDoEKBtkY= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-561-zKl5nO9eOia4jEazLTP_Mg-1; Tue, 03 Jan 2023 06:51:58 -0500 X-MC-Unique: zKl5nO9eOia4jEazLTP_Mg-1 Received: by mail-wm1-f70.google.com with SMTP id 21-20020a05600c021500b003d227b209e1so6769613wmi.1 for ; Tue, 03 Jan 2023 03:51:58 -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=w+X2sfUAw8dvFYlubehLHibPCs3WsNUlc0wGEhh9BxxF+6CQSJRx/xpkUWY/cRYO5x ScZvXlZ4PB+BSUO4VTswEGk1m7dyJAq+yZKNINzreNODk/PFvSowxOq/58WZykCAV48P Zn8KX0mELzibjOHBsDrCWXtHlq8TM/qRJgPRZkJhWrIY2ODMTJdPEXVZRBLwp/f+jsLK 4hh9ECVkY4ZZ7cY34f4V2VT4HMq3qSsAgbkqS/av978ZpT3L0mglwWUnrT+U0X8/YAXi F3CZR7mob9ouMjkaN+EoP+VEUeTktpqzCWrjY5VJH/ywR5kOsX9hfkBI1ntTfwHVGteX ds5w== X-Gm-Message-State: AFqh2kpOG6kUzzHY0RAX8oX7brdjnbPhWyxKTmwOBgb3z1L0UIobMoZp Phusm7aHftfsmzVHg35xUMHTrO4qyZhYLWRpT8L9vsVQGX6IWai5kYFF+sWmcCKUSoOT7HMqsDL zWy4B2sQ7oZZv9ZGB1A== X-Received: by 2002:a05:600c:5006:b0:3d2:3eda:dd1 with SMTP id n6-20020a05600c500600b003d23eda0dd1mr31340521wmr.17.1672746717550; 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=-4.7 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=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 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