public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
@ 2022-04-24 15:30 wavexx at thregr dot org
  2022-04-25  6:57 ` [Bug lto/105364] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: wavexx at thregr dot org @ 2022-04-24 15:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105364
           Summary: lto-wrapper generates URLs escape sequences despite
                    -fdiagnostic-urls=never
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wavexx at thregr dot org
  Target Milestone: ---

Warnings generated by lto-wrapper do not seem to check the current terminal
settings (TERM=dumb doesn't do anything useful) and/or even respect
-fdiagnostics-urls=never provided while linking:

gcc -Wl,--as-needed -fdiagnostics-urls=never -fPIE -pie -fuse-ld=mold -flto -o
spectrwm spectrwm.o linux.o -lX11-xcb -lX11 -lxcb-icccm -lxcb-keysyms
-lxcb-randr -lxcb-util -lxcb -lxcb-xinput -lxcb-xtest -lXcursor -lXft 
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: note: see the
]8;;https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto‘-flto’
option documentation]8;; for more information

(note the inline escape ESC ] 8)

% gcc --version
gcc (Debian 12-20220319-1) 12.0.1 20220319 (experimental) [master
r12-7719-g8ca61ad148f]

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

* [Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
  2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
@ 2022-04-25  6:57 ` rguenth at gcc dot gnu.org
  2022-04-25  6:57 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-25  6:57 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org
          Component|plugins                     |lto

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

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

* [Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
  2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
  2022-04-25  6:57 ` [Bug lto/105364] " rguenth at gcc dot gnu.org
@ 2022-04-25  6:57 ` rguenth at gcc dot gnu.org
  2022-04-25 12:54 ` marxin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-25  6:57 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-04-25
     Ever confirmed|0                           |1

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

* [Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
  2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
  2022-04-25  6:57 ` [Bug lto/105364] " rguenth at gcc dot gnu.org
  2022-04-25  6:57 ` rguenth at gcc dot gnu.org
@ 2022-04-25 12:54 ` marxin at gcc dot gnu.org
  2022-04-26 13:47 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-04-25 12:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Let me fix that.

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

* [Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
  2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
                   ` (2 preceding siblings ...)
  2022-04-25 12:54 ` marxin at gcc dot gnu.org
@ 2022-04-26 13:47 ` cvs-commit at gcc dot gnu.org
  2022-04-26 13:49 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-04-26 13:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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:cd4acb8cd9e45fd35664baa5b0a3150e479aae32

commit r12-8269-gcd4acb8cd9e45fd35664baa5b0a3150e479aae32
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Apr 26 09:56:37 2022 +0200

    lto: use diagnostics_context in print_lto_docs_link

    Properly parse OPT_fdiagnostics_urls_ and then initialize both urls
    and colors for global_dc. Doing that we would follow the configure
    option --with-documentation-root-url, -fdiagnostics-urls is respected.
    Plus we'll print colored warning and note messages.

            PR lto/105364

    gcc/ChangeLog:

            * lto-wrapper.cc (print_lto_docs_link): Use global_dc.
            (run_gcc): Parse OPT_fdiagnostics_urls_.
            (main): Initialize global_dc.

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

* [Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
  2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
                   ` (3 preceding siblings ...)
  2022-04-26 13:47 ` cvs-commit at gcc dot gnu.org
@ 2022-04-26 13:49 ` marxin at gcc dot gnu.org
  2022-04-29 10:11 ` wavexx at thregr dot org
  2022-11-28 22:04 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-04-26 13:49 UTC (permalink / raw)
  To: gcc-bugs

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

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.

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

* [Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
  2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
                   ` (4 preceding siblings ...)
  2022-04-26 13:49 ` marxin at gcc dot gnu.org
@ 2022-04-29 10:11 ` wavexx at thregr dot org
  2022-11-28 22:04 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: wavexx at thregr dot org @ 2022-04-29 10:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from wavexx at thregr dot org ---
Verified today on debian unstable which just updated the gcc12 snapshot.
Thx for the quick fix to all.

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

* [Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never
  2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
                   ` (5 preceding siblings ...)
  2022-04-29 10:11 ` wavexx at thregr dot org
@ 2022-11-28 22:04 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-28 22:04 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

end of thread, other threads:[~2022-11-28 22:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-24 15:30 [Bug plugins/105364] New: lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never wavexx at thregr dot org
2022-04-25  6:57 ` [Bug lto/105364] " rguenth at gcc dot gnu.org
2022-04-25  6:57 ` rguenth at gcc dot gnu.org
2022-04-25 12:54 ` marxin at gcc dot gnu.org
2022-04-26 13:47 ` cvs-commit at gcc dot gnu.org
2022-04-26 13:49 ` marxin at gcc dot gnu.org
2022-04-29 10:11 ` wavexx at thregr dot org
2022-11-28 22:04 ` pinskia 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).