From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id 08E773858C20 for ; Thu, 29 Sep 2022 20:17:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 08E773858C20 Received: by mail-pf1-x42b.google.com with SMTP id d10so2404421pfh.6 for ; Thu, 29 Sep 2022 13:17:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=bvosZnXuC14IewTAudWOnkt6SyWkxY2BsEccm5WhVwg=; b=Rc/ThQMDKdEOyp98/Z7DojDjnue1kS+ymmFRksjdDspkNX7mmhLf0XiBCdBb4s0PpV S4EKoXBMNIBzXU/AkULLMGbrtv5wHictQrCmGqXho+Y/WuL2GJWJK+dcziBiwnC3+UhY um7igXZbw4AW9nXB0YzhjytKLVPc9pepNsm/uZ/+eGIUACC0yz7bav7Z9flkzJch1RLZ 4pMeuWEjWymJSZQZCLbB2ukQYXPzjB4VBlfr1GmVr0PiZSkmHWoTgg1o8XL+NUQWjkUX YdNh97vnwZZvslyhHKJCXxcTFidyIFqztf7/O99pudVWwkgJA8LAE/I0c7rdLON0MkRT 09yA== X-Gm-Message-State: ACrzQf3wNy3YFRGb7SGNaJA+v3HajNyiIFtEJbsqOH8WcqErJwJ8qecc eA9R0hh6jLDwA25vGOHbwk5jrg== X-Google-Smtp-Source: AMsMyM6PIXKBunIYorti4pV86/hNYl6hkpOEa/cELevBgzp85YHggkm044TgoUMbL1jA8F4iKyI/iA== X-Received: by 2002:a65:4303:0:b0:439:f026:ccee with SMTP id j3-20020a654303000000b00439f026cceemr4413839pgq.322.1664482637052; Thu, 29 Sep 2022 13:17:17 -0700 (PDT) Received: from google.com ([2620:15c:2ce:200:3a3b:8fcf:da99:45f1]) by smtp.gmail.com with ESMTPSA id p187-20020a625bc4000000b00537b8deef41sm73041pfb.136.2022.09.29.13.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 13:17:16 -0700 (PDT) Date: Thu, 29 Sep 2022 13:17:11 -0700 From: Fangrui Song To: Martin =?utf-8?B?TGnFoWth?= Cc: Alan Modra , Jan Beulich , Nick Clifton , Simon Marchi , binutils@sourceware.org, gdb-patches@sourceware.org, Richard Biener , Michael Matz Subject: Re: [PATCH v3] binutils, gdb: support zstd compressed debug sections Message-ID: <20220929201711.7nz236xraosd76za@google.com> References: <20220923040837.550160-1-maskray@google.com> <43135377-9033-7257-0f62-beaa7bbec166@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <43135377-9033-7257-0f62-beaa7bbec166@suse.cz> X-Spam-Status: No, score=-18.7 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH, LIKELY_SPAM_BODY, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2022 20:17:45 -0000 On 2022-09-29, Martin Liška wrote: >Hello. > >Thanks for the patch set. Right now, we configure our binutils package with: >--enable-compressed-debug-sections=gas and we would appreciate a new configure >option that will selected default compression algorithm. Having that, we will >proudly switch to zstd. > >Can you please prepare such patch? > >Thanks, >Martin > I left a comment on https://sourceware.org/bugzilla/show_bug.cgi?id=19109 that the --enable-compressed-debug-sections=gas syntax needs extension to support zstd. Perhaps the easiest solution (and circumvents the syntax problem) is to add a new option: --enable-zstd-compressed-debug-sections, but then there is some duplication...