public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][DOCS] changes: mentioned ignore -gz=zlib-gnu option
@ 2022-09-22 13:04 Martin Liška
  2022-09-29 10:28 ` [PATCH v2][DOCS] " Martin Liška
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Liška @ 2022-09-22 13:04 UTC (permalink / raw)
  To: gcc-patches; +Cc: Gerald Pfeifer, Richard Biener

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

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index a7d88038..0e895110 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -35,6 +35,10 @@ 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>
 </ul>
 
 
-- 
2.37.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2][DOCS] changes: mentioned ignore -gz=zlib-gnu option
  2022-09-22 13:04 [PATCH][DOCS] changes: mentioned ignore -gz=zlib-gnu option Martin Liška
@ 2022-09-29 10:28 ` Martin Liška
  2022-09-29 20:31   ` Fangrui Song
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Liška @ 2022-09-29 10:28 UTC (permalink / raw)
  To: gcc-patches; +Cc: Gerald Pfeifer, Richard Biener

[-- Attachment #1: Type: text/plain, Size: 70 bytes --]

Sending V2 where I included new -gz=zstd option value.

Cheers,
Martin

[-- Attachment #2: 0001-changes-mentioned-ignore-gz-zlib-gnu-option.patch --]
[-- Type: text/x-patch, Size: 1128 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2][DOCS] changes: mentioned ignore -gz=zlib-gnu option
  2022-09-29 10:28 ` [PATCH v2][DOCS] " Martin Liška
@ 2022-09-29 20:31   ` Fangrui Song
  2022-10-03 11:44     ` Martin Liška
  0 siblings, 1 reply; 4+ messages in thread
From: Fangrui Song @ 2022-09-29 20:31 UTC (permalink / raw)
  To: Martin Liška; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

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.


-- 
宋方睿

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2][DOCS] changes: mentioned ignore -gz=zlib-gnu option
  2022-09-29 20:31   ` Fangrui Song
@ 2022-10-03 11:44     ` Martin Liška
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liška @ 2022-10-03 11:44 UTC (permalink / raw)
  To: Fangrui Song; +Cc: gcc-patches

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-03 11:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 13:04 [PATCH][DOCS] changes: mentioned ignore -gz=zlib-gnu option Martin Liška
2022-09-29 10:28 ` [PATCH v2][DOCS] " Martin Liška
2022-09-29 20:31   ` Fangrui Song
2022-10-03 11:44     ` Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).