[v2,DOCS] changes: mentioned ignore -gz=zlib-gnu option

Message ID a5569bd4-c7b5-8802-7a0b-4730a229a7e7@suse.cz
State New
Headers
Series [v2,DOCS] changes: mentioned ignore -gz=zlib-gnu option |

Commit Message

Martin Liška Sept. 29, 2022, 10:28 a.m. UTC
  Sending V2 where I included new -gz=zstd option value.

Cheers,
Martin
  

Comments

Fangrui Song Sept. 29, 2022, 8:31 p.m. UTC | #1
On Thu, Sep 29, 2022 at 3:28 AM Martin Liška <mliska@suse.cz> wrote:

> Sending V2 where I included new -gz=zstd option value.
>
> Cheers,
> Martin


At some point binutils will want to remove
--compress-debug-sections=zlib-gnu support as well.
I think the message can drop mentioning of
--compress-debug-sections=zlib-gnu.
  
Martin Liška Oct. 3, 2022, 11:44 a.m. UTC | #2
On 9/29/22 22:31, Fangrui Song wrote:
> At some point binutils will want to remove --compress-debug-sections=zlib-gnu support as well.
> I think the message can drop mentioning of --compress-debug-sections=zlib-gnu.

Yes, makes sense and I'm going to push the documentation change.

Martin
  

Patch

From 770ba230b34f698ec477dcef7ad207ab4e6be557 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Thu, 22 Sep 2022 15:03:34 +0200
Subject: [PATCH] changes: mentioned ignore -gz=zlib-gnu option

---
 htdocs/gcc-13/changes.html | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index a7d88038..88bb947e 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -35,6 +35,11 @@  a work-in-progress.</p>
       <code>-gstabs</code> and <code>-gxcoff</code> options) has been removed.
       (This means the <strong>dbx</strong> debugger is no longer
       supported, either.)</li>
+    <li>Legacy debug info compression option <code>-gz=zlib-gnu</code> was removed
+      and the option is ignored right now.  If you really want to use the compression algorithm,
+      use the corresponding <code>-Wl,--compress-debug-sections=zlib-gnu</code>
+      and <code>-Wa,--compress-debug-sections=zlib-gnu</code> options.</li>
+    <li>New debug info compression option value <code>-gz=zstd</code> has been added.</li>
 </ul>
 
 
-- 
2.37.3