From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id 0BB353857351 for ; Thu, 29 Sep 2022 20:17:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0BB353857351 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=google.com Received: by mail-pf1-x42f.google.com with SMTP id w2so2441157pfb.0 for ; Thu, 29 Sep 2022 13:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date; bh=bvosZnXuC14IewTAudWOnkt6SyWkxY2BsEccm5WhVwg=; b=NDa4STHEcMQ77i0ZGhDqYx5DZr8YjpOkKIA2xvBT0P2tMaaj1TyoLct4VMeh2GAjMk yJZ17Tm4PaJssxoAdoba30y1lLHLzvKvdWMWiYbdH4b6yf0CpU1YMe/SV6I850a4wgNw D8a8bJdR5h29qKcxBNYEbSjn3cD/TGARJwlDa0GxgYlQizeuQpX8QwtFdo9Ck/cq3+6R B2XLF2SHF/P1kQSZ50Sttnui4R/WslO3V8NfaZ6Jx8AeiivN7x6rfKJaCTwgCZnYrbiD RHH1PLJTOQSSNu2qKJtJ98DVYrMOtk4X9Smcq34POMZ2c+hUkY3N437BMxAvpsILC2dj rXkA== 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=SAFq8VJnzqg21tmsYBHTt8hhejVWwMRwSujM1GajtuB82hANtFdw6vSTUe+tzY4fCT Quk4tDfP2fxEQ1T8BNfNMx06xJrR+PA3mIuNWDJkOSI/fF1jl3VZ9LQFiatzzhcX5unx p78XMHC4L69F2oRcbgjLnTHpPEogxKMCKAaJIfXhJFPTsTUfrjuSDIro68gG0ieStsAE AaL3P4zXafEv+nyhbmC2ASaVjhphcqF/38/YvA+dqoKex2PJkMTS1EHFYKuJdjTq1ctA s7sXn4v/mhks1bjlJtE7VTUWcCz+IuCfrgVhhqn2AXHYXG3FGRmFEdRXlakEBmx6VFPz +dYg== X-Gm-Message-State: ACrzQf36KZde9l9kCmbcyjiFZozQcFFy+dRcUqg8F4WbpN8ElrdeR3Kp TdSpcoBpVMjIEafmPFPrjA6ezw== 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 List-Id: 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...