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

2022-10-03 Thread Martin Liška
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


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

2022-09-29 Thread Fangrui Song via Gcc-patches
On Thu, Sep 29, 2022 at 3:28 AM Martin Liška  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.


-- 
宋方睿


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

2022-09-29 Thread Martin Liška
Sending V2 where I included new -gz=zstd option value.

Cheers,
MartinFrom 770ba230b34f698ec477dcef7ad207ab4e6be557 Mon Sep 17 00:00:00 2001
From: Martin Liska 
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.
   -gstabs and -gxcoff options) has been removed.
   (This means the dbx debugger is no longer
   supported, either.)
+Legacy debug info compression option -gz=zlib-gnu was removed
+  and the option is ignored right now.  If you really want to use the compression algorithm,
+  use the corresponding -Wl,--compress-debug-sections=zlib-gnu
+  and -Wa,--compress-debug-sections=zlib-gnu options.
+New debug info compression option value -gz=zstd has been added.
 
 
 
-- 
2.37.3