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 CAB8F3858C2D for ; Mon, 29 Jan 2024 08:52:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CAB8F3858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CAB8F3858C2D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706518372; cv=none; b=Avax93bf2iMgs0AO7harXslOiIqqtEHZjSinHvdjZuFYJvf0XTjAaWrn7cL1AokZIag4ecrIMz0gZLPO+8ZUXkUv/9eInwOSyuRnzeXJDJL89djooUWUhTjKVmqMhOX2GbZeT0Vo2l56fLMwzW2lij9adIwIhv6WQTtsq3fmar8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706518372; c=relaxed/simple; bh=NFf4tDW3Nzpk6Finnuh1MmiV+MCgcsEKYwewWFJ8V2E=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=j97DnM+o3mrbIazl1+DtKCRR+Mfn492GL6a+aqx9R+pnR+3+uq8W8yjcuwUXHeZjEpjfBceYinQDqHe5NRXRLS21zwC2eGhmWLcnqm5UZ8uGv6qJsQh/xOlg0HcgLi6cRpCxeV90UpOiA/ud2dCJPkVZ9ERlcWLIiP2Jz1DAnLA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706518368; 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=CgqZzc8lpuBh6ilJ16FP40iIvPQDyygIfV9fFfvbYfU=; b=JgrjRgs8XNxWqJKEgoEGZXgm9wme8nbElrxmHUDgBn44DpTTvvk8E0e0p/toQmKiLWpLGF jYs0Bur/rjscXvqkAb54MfeozGnVNRYc6jcCxmkSgZjz+58iWvEmhKhYC3e5lwhwvcPH8d kPPPJT3MI+R4NEagUgYDr4lcQvP8vQo= Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-62-vvDjS1koNMS7iL1UDz8KwA-1; Mon, 29 Jan 2024 03:52:47 -0500 X-MC-Unique: vvDjS1koNMS7iL1UDz8KwA-1 Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-3be50f0d379so471337b6e.3 for ; Mon, 29 Jan 2024 00:52:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706518366; x=1707123166; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CgqZzc8lpuBh6ilJ16FP40iIvPQDyygIfV9fFfvbYfU=; b=wLv/xKqSjbx/TEAfvOHSNFazhVr4T7DFoXWhntG58UnIpXwrM7xXNL2f7/We39KJsU G2Nea6qcYmyE6c2HssTLNikDL87XSsEO2RWQ7QDBG/LLoi0g2bjv/WIUjaOgieC8Nm5j +ge2LjKO/cm2hA5nRb2waxGkvTyrB+ZH9/SM6CZnY3mfGpRlWOWxFPBMObmrNat+ymq1 9aI5YS6RjFVCxBLBtA+K4RUtqoX3Qiv1fsiwpbjQWjYIHQxjnn7KcK6i46dyYXbqsZYa gqLfb3FEri6PvSjFMIBL5e57RpZOBCs0sS9VDfQAgRlH51Bx2SoG6toeZIlOjEkOC6qU 82IA== X-Gm-Message-State: AOJu0Yye/cRhI6pO2M/5WlAO1tuUqdEHtv3KN18iWdRCTqEwdxTyZDES ZHEGtHKjH+ERtRnyeHnAFE8XW7iXbaKDqy5LkssAQnXREmNxj/hP5/Ev+HhXF/8bitb4r5n+BNP oSgPTyCKnvEJtHLyUonEbOd6cmlYmjTOjBdIlsHL7QN9ZtXpudc+wx0g= X-Received: by 2002:a05:6808:11cd:b0:3bd:df31:7ff5 with SMTP id p13-20020a05680811cd00b003bddf317ff5mr4631135oiv.47.1706518366338; Mon, 29 Jan 2024 00:52:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHndAl0tpNKSWj8XWEt62IhCiGIOaegi0W9yPmC2nNzibhz9o2Wmji86rCz8Ep2O7ClmedW9Q== X-Received: by 2002:a05:6808:11cd:b0:3bd:df31:7ff5 with SMTP id p13-20020a05680811cd00b003bddf317ff5mr4631127oiv.47.1706518366086; Mon, 29 Jan 2024 00:52:46 -0800 (PST) Received: from [192.168.0.129] (ip-94-112-227-180.bb.vodafone.cz. [94.112.227.180]) by smtp.gmail.com with ESMTPSA id q17-20020a02cf11000000b0046ec91c39bfsm1625135jar.53.2024.01.29.00.52.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jan 2024 00:52:45 -0800 (PST) Message-ID: <0c5d519f-8255-46f6-a71d-78353a80bb01@redhat.com> Date: Mon, 29 Jan 2024 09:52:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Trying to install binutils-gdb To: "Maciej W. Rozycki" , Nick Clifton Cc: Hans-Peter Nilsson , jacob navia , binutils@sourceware.org, gdb@sourceware.org References: <8b4ae55d-6651-03a2-0180-be439f18531d@redhat.com> From: Guinevere Larsen In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 28/01/2024 20:30, Maciej W. Rozycki wrote: > On Fri, 29 Sep 2023, Nick Clifton via Binutils wrote: > >>>> If you only want to build the binutils and not GDB as well then >>>> you can add a configure option to disable GDB. This may help >>>> reduce the need for extra libraries to be installed. ie: >>>> >>>> ./configure --disable-gdb >>> ...so this step would then be confusing. >>> >>> IMHO it needs to say something like "if you build from a >>> checkout of the binutils-gdb git, you may also want to build >>> only binutils and exclude gdb, like so:" [...] >> That makes sense. I have checked in the following updated patch instead. > I have only come across this message now. > > Note that nowadays we have other GDB components at the top level, most > notably `gdbserver', as well as the GNU simulator, all of which are a part > of the GDB project. So to build parts that comprise binutils only from a > git checkout you really need to disable more, such as with: > > $ ./configure --disable-gdb --disable-gdbserver --disable-libbacktrace \ > --disable-libdecnumber --disable-readline --disable-sim > > This is what I have been doing with my builds. > > I'll be happy to offer a patch if this turns out how we want to update > binutils/README further, however it seems to me that we probably want to > have a pair of umbrella options, say `--disable-gdb-components' and > `--disable-binutils-components', to let people choose more easily what > project they want to build from a checkout without the need to dive into > individual components and also possibly without having to keep track of > what new components get added as they upgrade. There'd be a slight > maintenance burden for such options though. yes please! I can never remember all the components that I need to disable from binutils to get as quick a compilation as possible. I am still not sure if I did disable everything or if copying my previous configure run isn't accidentally building some parts unnecessarily. I'm not sure if I personally like the `-components` suffix, but I don't have any better suggestions. -- Cheers, Guinevere Larsen She/Her/Hers > > Cc-ing the GDB mailing list for any input from the other camp. > > Maciej >