public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/108572] New: -gz=none produces gcc: error: -gz=zstd is not supported in this configuration
@ 2023-01-27 13:53 mark at gcc dot gnu.org
  2023-01-27 13:55 ` [Bug driver/108572] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mark at gcc dot gnu.org @ 2023-01-27 13:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108572

            Bug ID: 108572
           Summary: -gz=none produces gcc: error: -gz=zstd is not
                    supported in this configuration
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark at gcc dot gnu.org
  Target Milestone: ---

gcc (GCC) 13.0.1 20230117 (Red Hat 13.0.1-0)

$ echo "int main () {}" | gcc -xc -gz=none -
gcc: error: -gz=zstd is not supported in this configuration

OK, apparently -gz=zstd needs a newer binutils, but I am using -gz=none not
-gz=zstd

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

* [Bug driver/108572] -gz=none produces gcc: error: -gz=zstd is not supported in this configuration
  2023-01-27 13:53 [Bug driver/108572] New: -gz=none produces gcc: error: -gz=zstd is not supported in this configuration mark at gcc dot gnu.org
@ 2023-01-27 13:55 ` marxin at gcc dot gnu.org
  2023-01-27 14:00 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-01-27 13:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108572

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-01-27
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Mine, I have a fix.

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

* [Bug driver/108572] -gz=none produces gcc: error: -gz=zstd is not supported in this configuration
  2023-01-27 13:53 [Bug driver/108572] New: -gz=none produces gcc: error: -gz=zstd is not supported in this configuration mark at gcc dot gnu.org
  2023-01-27 13:55 ` [Bug driver/108572] " marxin at gcc dot gnu.org
@ 2023-01-27 14:00 ` marxin at gcc dot gnu.org
  2023-02-01 13:13 ` cvs-commit at gcc dot gnu.org
  2023-02-01 13:14 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-01-27 14:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108572

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Patch candidate:
https://gcc.gnu.org/pipermail/gcc-patches/2023-January/610753.html

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

* [Bug driver/108572] -gz=none produces gcc: error: -gz=zstd is not supported in this configuration
  2023-01-27 13:53 [Bug driver/108572] New: -gz=none produces gcc: error: -gz=zstd is not supported in this configuration mark at gcc dot gnu.org
  2023-01-27 13:55 ` [Bug driver/108572] " marxin at gcc dot gnu.org
  2023-01-27 14:00 ` marxin at gcc dot gnu.org
@ 2023-02-01 13:13 ` cvs-commit at gcc dot gnu.org
  2023-02-01 13:14 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-02-01 13:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108572

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:1d77bfdf11fb9d7f9fcce7ed8817fc2877b3ded2

commit r13-5626-g1d77bfdf11fb9d7f9fcce7ed8817fc2877b3ded2
Author: Martin Liska <mliska@suse.cz>
Date:   Fri Jan 27 14:56:31 2023 +0100

    driver: fix -gz=none error message with missing zstd

    We wrongly report:

    $ echo "int main () {}" | gcc -xc -gz=none -
    gcc: error: -gz=zstd is not supported in this configuration

    if zstd compression is not supported by binutils. We should emit the
    error message only if -gz=zstd.

            PR driver/108572

    gcc/ChangeLog:

            * gcc.cc (LINK_COMPRESS_DEBUG_SPEC): Report error only for
            -gz=zstd.

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

* [Bug driver/108572] -gz=none produces gcc: error: -gz=zstd is not supported in this configuration
  2023-01-27 13:53 [Bug driver/108572] New: -gz=none produces gcc: error: -gz=zstd is not supported in this configuration mark at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-02-01 13:13 ` cvs-commit at gcc dot gnu.org
@ 2023-02-01 13:14 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-02-01 13:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108572

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed now.

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

end of thread, other threads:[~2023-02-01 13:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 13:53 [Bug driver/108572] New: -gz=none produces gcc: error: -gz=zstd is not supported in this configuration mark at gcc dot gnu.org
2023-01-27 13:55 ` [Bug driver/108572] " marxin at gcc dot gnu.org
2023-01-27 14:00 ` marxin at gcc dot gnu.org
2023-02-01 13:13 ` cvs-commit at gcc dot gnu.org
2023-02-01 13:14 ` marxin at gcc dot gnu.org

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).