Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12309074rwl; Tue, 3 Jan 2023 12:15:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXuC0zuch/2uc1ExBSLJauATc2GbRp2cGmC2M5w8zhZkWFZqp708vyBYTDOGPQWMm5Azs8/J X-Received: by 2002:a17:90b:392:b0:225:d56a:14e1 with SMTP id ga18-20020a17090b039200b00225d56a14e1mr34966836pjb.2.1672776924218; Tue, 03 Jan 2023 12:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672776924; cv=none; d=google.com; s=arc-20160816; b=mIbKF3jydt8qAQ9z5VaNpshykIn5UK/gvD7HFmdgpBhTGB6yoSYtBC+MmWnjigMrYv nB86rhWwmYME+nxt5cQClspyKVyiZEg5z2kue69SB5Y/N46fudHe+tY9EtHNDADC48H0 EfEJt4Nvw+0/n36CVj8wUSVCcL/1ZQ5VH91VpLZHduMpB2ISOksmcD4+g56eZsIgdKcT o3Qg7a+E7TCCtiYzdMjlNvDrNGpvtYh2aJHp5w8zuQYno7TvhNx9YLYrxrMInSjlFg1q +n3dAVl6R9yGE7gR3TZ/0rGPnBy3ny+EqKbSuvIV0UVW9JMBvLpIxrQusC8zWY3ZGFyF 4Xug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=di6+B/a8IzWMU+YNat5Sofaq/W1nrTJmHjw8c69qvaI=; b=Vq0i9HH93DOjVvuJzWS2fxeQHyOf0PGUjz34yFbk/ssb9RVktIEsuVc3JbR7qjOStE r8PJqX+I4ND33iODMcoRFoLK7rmxhrw21Du30niBgmqyYwUIbO5dBEVaknO1Ymporxhb iYXZSMahHNSqGSTQ421VbeGgYSp+o4MCBOsBStXg1Y/FHGFSo05X1N5JVDEG7p1ncg6o KcRdAI+LezU27voiiTc3/v/8U461FFa54hrLBBZV8siOgEx2WkgrWohZKlsfme9UMfDp 10KEE6RujTxF9l3C+bUG+jf8Ik8pQdZXHV1Guby0+dhdG+mr66vlLjXvXf9siolNgaWQ bMTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lRKzUBOE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020a17090a9a9300b00226a21bb826si1516567pjp.27.2023.01.03.12.15.16; Tue, 03 Jan 2023 12:15:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lRKzUBOE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238780AbjACTkZ (ORCPT + 59 others); Tue, 3 Jan 2023 14:40:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239113AbjACTkJ (ORCPT ); Tue, 3 Jan 2023 14:40:09 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B3C13FBE; Tue, 3 Jan 2023 11:40:06 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id f20so33071795lja.4; Tue, 03 Jan 2023 11:40:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=di6+B/a8IzWMU+YNat5Sofaq/W1nrTJmHjw8c69qvaI=; b=lRKzUBOE1GhqTB132HvL9VHc1Xlfw89at8dCADYWfEHGmoAKi+8emR5dXTKqY6qMqa sRJGy/r7SYkyh2G3tqwZtrJBHIE4swTCaFon9gPHfszva5deEpvuyuWjWZOBZjjsjc2/ SsyoD+OXrdPRiNXHrYflsUhHmkWxZOMXHOnWUwEIuVM49FOiY+B578EEoQ1e0osIuqPC tFuXNUWFZKGTe+zz4MCNaL6T33KyHVMWl6cLbSjxo5k8r12lidWs+dPDyio2f5CUKhjz 9JGbnq5ZRT5hVOsFfC4w7Pe4n+P7vP9/CGCRJTCS0ggMOcoxPNkXz4QYqAkgqloOk/iw +8wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=di6+B/a8IzWMU+YNat5Sofaq/W1nrTJmHjw8c69qvaI=; b=7dCPLhkAx5fQyCo3OqeshNv+SjzqVhanlRPx2UXE69lRB7CFc0orkIcgARxzUSQyyc 9+qftUdYPb0Wrf+6wc5LPQ90sUIlTTbrMGbzUrvCiAArr4l5UCL+itcByovjClXtm+Sb mCPYu6u8jnVsTjCu66frK8ZAU8T7u+A6wQLRrCEW994xnrdKP3PDplDvKN4iQlnE71ns n5uxKBDOZqBR3M0eyztlywO8sf/3KZfqLwXx2lfU8dt80IYMZEIfDC3a4IKLtn6xEHL4 e6kU+MgktnrPrY0ZUKN3MFosPRrVtFY8Y1730vAWT6LDNibuNBHvcXMSKCVDerHCzq7Y r3pw== X-Gm-Message-State: AFqh2kp6a0aZSt7gIMuO/2YWOfWEyrnQJy7DQVwyXYQigSSGuWlrTLch MofPYajxmo20qmzzejUnfi1SmGCImpB1trNZM1M= X-Received: by 2002:a2e:9805:0:b0:27f:c51a:a069 with SMTP id a5-20020a2e9805000000b0027fc51aa069mr1773133ljj.487.1672774805212; Tue, 03 Jan 2023 11:40:05 -0800 (PST) MIME-Version: 1.0 References: <20221110195932.377841-1-ndesaulniers@google.com> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Tue, 3 Jan 2023 20:39:28 +0100 Message-ID: Subject: Re: [PATCH v3] Makefile.debug: support for -gz=zstd To: Masahiro Yamada Cc: Nick Desaulniers , Fangrui Song , Sedat Dilek , Nathan Chancellor , Michal Marek , Nick Terrell , Tom Rix , Andrew Morton , "Peter Zijlstra (Intel)" , David Gow , Kees Cook , Josh Poimboeuf , Dan Williams , Miguel Ojeda , Isabella Basso , Vlastimil Babka , Rasmus Villemoes , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 13, 2022 at 12:01 PM Masahiro Yamada wrote: > > On Fri, Nov 11, 2022 at 5:00 AM Nick Desaulniers > wrote: ... > > Applied to linux-kbuild. > Thanks. ... > > Changes v2 -> v3: > > * Fix scripts/Makefile.debug as per Sedat. > > * Update commit message as per Nicolas. > > > > Changes v1 -> v2: > > * Remove `depends on DEBUG_KERNEL` as per Nathan. > > * Rename Kconfigs as per Sedat and Masahiro. > > * Add note about renamed Kconfigs to commit message. > > * Add more help text to DEBUG_INFO_COMPRESSED_ZSTD. ... > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > index 29280072dc0e..7c28a8fba02e 100644 > > --- a/lib/Kconfig.debug > > +++ b/lib/Kconfig.debug ... > > +config DEBUG_INFO_COMPRESSED_ZSTD > > + bool "Compress debugging information with zstd" > > + depends on $(cc-option,-gz=zstd) > > + depends on $(ld-option,--compress-debug-sections=zstd) > > + help > > + Compress the debug information using zstd. This may provide better > > + compression than zlib, for about the same time costs, but requires newer > > + toolchain support. Requires GCC 13.0+ or Clang 16.0+, binutils 2.40+, and > > + zstd. > > + > > +endchoice # "Compressed Debug information" Just saw: GNU Binutils 2.40 Branched With Zstd Support, Zen 4, New Intel Instructions Debian GNU/Linux ships version 2.39.90 in unstable release. Maybe someone can point me to the release schedule of LLVM-16? Thanks. Best regards, -Sedat- [1] https://www.phoronix.com/news/GNU-Binutils-2.40 [2] https://metadata.ftp-master.debian.org/changelogs//main/b/binutils/binutils_2.39.90.20221231-1_changelog