From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0DSECIT9NWMuJgIAWB0awg (envelope-from ) for ; Thu, 29 Sep 2022 16:18:12 -0400 Received: by simark.ca (Postfix, from userid 112) id 1EF701E112; Thu, 29 Sep 2022 16:18:12 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=RA1iYyFK; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id CB4A01E0D5 for ; Thu, 29 Sep 2022 16:18:11 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 62E9C385C40E for ; Thu, 29 Sep 2022 20:18:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62E9C385C40E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664482690; bh=bvosZnXuC14IewTAudWOnkt6SyWkxY2BsEccm5WhVwg=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RA1iYyFKjOIUSK23xpV7elIsbrF/tUyY6eW9gAq8Z+v1Z4P+NBilVHxLenhHStayG 6XmmV1DiMiO2fARZfOmK+U243BrxkKV6abvQS7owayBGXHNwodXtZoyvpRizUCRJnd Tq+Y3kTBRLPMX6L4jydACi9KE9ahgrJ2sMJvSPWs= 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 To: Martin =?utf-8?B?TGnFoWth?= 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-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: , From: Fangrui Song via Gdb-patches Reply-To: Fangrui Song Cc: Nick Clifton , Alan Modra , Richard Biener , Michael Matz , binutils@sourceware.org, Jan Beulich , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" 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...