public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/87726] -fdebug-prefix-map doesn't work with lto
       [not found] <bug-87726-4@http.gcc.gnu.org/bugzilla/>
@ 2020-07-16 21:41 ` mark at gcc dot gnu.org
  2021-09-24  7:41 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: mark at gcc dot gnu.org @ 2020-07-16 21:41 UTC (permalink / raw)
  To: gcc-bugs

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

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |mark at gcc dot gnu.org
             Blocks|                            |47819
   Last reconfirmed|                            |2020-07-16
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> ---
Replicated. With -flto added the result is a linker error:

g++  -g -o app/app app/app.o -L./lib -lA
/usr/bin/ld: /tmp/app.BSgkYr.ltrans0.ltrans.o: in function `main':
/bbbbbbbb/app.cpp:6: undefined reference to `Lib::func()'
collect2: error: ld returned 1 exit status

Removing -fdebug-prefix-map (but keeping -flto) things build fine.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47819
[Bug 47819] [meta-bug] LTO debug information issues

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

* [Bug debug/87726] -fdebug-prefix-map doesn't work with lto
       [not found] <bug-87726-4@http.gcc.gnu.org/bugzilla/>
  2020-07-16 21:41 ` [Bug debug/87726] -fdebug-prefix-map doesn't work with lto mark at gcc dot gnu.org
@ 2021-09-24  7:41 ` rguenth at gcc dot gnu.org
  2023-05-11  0:27 ` sergiodj at sergiodj dot net
  2023-05-11  2:49 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-24  7:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.3.0, 11.2.1, 7.5.0,
                   |                            |9.3.1
             Status|NEW                         |WAITING

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
It works fine for me with GCC 7, 9, 10 and 11 on x86_64-linux, not sure which
version Mark used to reproduce.

Can you confirm it now works?

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

* [Bug debug/87726] -fdebug-prefix-map doesn't work with lto
       [not found] <bug-87726-4@http.gcc.gnu.org/bugzilla/>
  2020-07-16 21:41 ` [Bug debug/87726] -fdebug-prefix-map doesn't work with lto mark at gcc dot gnu.org
  2021-09-24  7:41 ` rguenth at gcc dot gnu.org
@ 2023-05-11  0:27 ` sergiodj at sergiodj dot net
  2023-05-11  2:49 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: sergiodj at sergiodj dot net @ 2023-05-11  0:27 UTC (permalink / raw)
  To: gcc-bugs

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

Sergio Durigan Junior <sergiodj at sergiodj dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sergiodj at sergiodj dot net

--- Comment #3 from Sergio Durigan Junior <sergiodj at sergiodj dot net> ---
FWIW, this is working for me (GCC 12).  I'm investigating another bug with
-fdebug-prefix-map and LTO, and thought this one would be related.

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

* [Bug debug/87726] -fdebug-prefix-map doesn't work with lto
       [not found] <bug-87726-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2023-05-11  0:27 ` sergiodj at sergiodj dot net
@ 2023-05-11  2:49 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-11  2:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 109805 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2023-05-11  2:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-87726-4@http.gcc.gnu.org/bugzilla/>
2020-07-16 21:41 ` [Bug debug/87726] -fdebug-prefix-map doesn't work with lto mark at gcc dot gnu.org
2021-09-24  7:41 ` rguenth at gcc dot gnu.org
2023-05-11  0:27 ` sergiodj at sergiodj dot net
2023-05-11  2:49 ` 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).