public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/90392] [9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto
       [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-12 11:59 ` jakub at gcc dot gnu.org
  2020-04-01  8:56 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 11:59 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.3                         |9.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 9.3.0 has been released, adjusting target milestone.

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

* [Bug driver/90392] [9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto
       [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:59 ` [Bug driver/90392] [9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto jakub at gcc dot gnu.org
@ 2020-04-01  8:56 ` rguenth at gcc dot gnu.org
  2020-04-01 11:14 ` ohaiziejohwahkeezuoz at xff dot cz
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-01  8:56 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-04-01

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Unsure what the remaining driver issue is - an actual testcase with a
smaller command-line should be able to show this more clearly?

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

* [Bug driver/90392] [9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto
       [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:59 ` [Bug driver/90392] [9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto jakub at gcc dot gnu.org
  2020-04-01  8:56 ` rguenth at gcc dot gnu.org
@ 2020-04-01 11:14 ` ohaiziejohwahkeezuoz at xff dot cz
  2020-04-17 15:55 ` [Bug driver/90392] [8/9/10 " law at redhat dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: ohaiziejohwahkeezuoz at xff dot cz @ 2020-04-01 11:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from ohaiziejohwahkeezuoz at xff dot cz ---
Try this:

touch a.a a.o
gcc -save-temps -Wl,-debug -o a a.o a.a -ldl

Outputs:

...

/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/liblto_plugin.so
-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper
-plugin-opt=-fresolution=-ldl.res -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc
-plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id
--eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker
/lib64/ld-linux-x86-64.so.2 -pie -o a
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib/Scrt1.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib/crti.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/crtbeginS.o
-L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0
-L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../.. a.o a.a
-ldl -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state
--as-needed -lgcc_s --pop-state
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib/crtn.o
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib/Scrt1.o: in
function `_start':
(.text+0x24): undefined reference to `main'


Notice the: ... -plugin-opt=-fresolution=-ldl.res ...

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

* [Bug driver/90392] [8/9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto
       [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-04-01 11:14 ` ohaiziejohwahkeezuoz at xff dot cz
@ 2020-04-17 15:55 ` law at redhat dot com
  2020-04-17 17:43 ` [Bug driver/90392] Bogus value for %u in LINK_PLUGIN_SPEC law at redhat dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: law at redhat dot com @ 2020-04-17 15:55 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[9/10 Regression] Assertion |[8/9/10 Regression]
                   |failure in ldlang.c:6868    |Assertion failure in
                   |when compiling with -flto   |ldlang.c:6868 when
                   |                            |compiling with -flto
                 CC|                            |law at redhat dot com

--- Comment #12 from Jeffrey A. Law <law at redhat dot com> ---
GCC 8 also affected.  Digging further back, but starting to wonder if the %u
issue is a regression or not.

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

* [Bug driver/90392] Bogus value for %u in LINK_PLUGIN_SPEC
       [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-04-17 15:55 ` [Bug driver/90392] [8/9/10 " law at redhat dot com
@ 2020-04-17 17:43 ` law at redhat dot com
  2021-06-01  8:14 ` rguenth at gcc dot gnu.org
  2022-05-27  8:33 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: law at redhat dot com @ 2020-04-17 17:43 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
            Summary|[8/9/10 Regression]         |Bogus value for %u in
                   |Assertion failure in        |LINK_PLUGIN_SPEC
                   |ldlang.c:6868 when          |
                   |compiling with -flto        |

--- Comment #13 from Jeffrey A. Law <law at redhat dot com> ---
Updating summary, dropping regression marker.  Behavior seen as far back as
gcc-6, probably started before then.  Given the dl.res has been consistent,
it's most likely not memory corruption -- if it were memory corruption I'd
expect to see different results over time rather than the consistent "dl.res"
output for %u.res.

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

* [Bug driver/90392] Bogus value for %u in LINK_PLUGIN_SPEC
       [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-04-17 17:43 ` [Bug driver/90392] Bogus value for %u in LINK_PLUGIN_SPEC law at redhat dot com
@ 2021-06-01  8:14 ` rguenth at gcc dot gnu.org
  2022-05-27  8:33 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01  8:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.4                         |9.5

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.

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

* [Bug driver/90392] Bogus value for %u in LINK_PLUGIN_SPEC
       [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2021-06-01  8:14 ` rguenth at gcc dot gnu.org
@ 2022-05-27  8:33 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  8:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |---

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

end of thread, other threads:[~2022-05-27  8:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-90392-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:59 ` [Bug driver/90392] [9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto jakub at gcc dot gnu.org
2020-04-01  8:56 ` rguenth at gcc dot gnu.org
2020-04-01 11:14 ` ohaiziejohwahkeezuoz at xff dot cz
2020-04-17 15:55 ` [Bug driver/90392] [8/9/10 " law at redhat dot com
2020-04-17 17:43 ` [Bug driver/90392] Bogus value for %u in LINK_PLUGIN_SPEC law at redhat dot com
2021-06-01  8:14 ` rguenth at gcc dot gnu.org
2022-05-27  8:33 ` rguenth 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).