public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
@ 2020-03-21 12:40 ro at gcc dot gnu.org
  2020-03-21 12:40 ` [Bug lto/94249] " ro at gcc dot gnu.org
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: ro at gcc dot gnu.org @ 2020-03-21 12:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94249
           Summary: [10 regression] Many -flto -fuse-linker-plugin tests
                    FAIL: could not add symbols
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: sparc-sun-solaris2.11
            Target: sparc-sun-solaris2.11
             Build: sparc-sun-solaris2.11

Between 20200313 (fd8679974b2ded884ffd7d912efef7fe13e4ff4f) and 20200320
(719c864225e28c33a0737a331a772781ce8e6591), many LTO tests began to FAIL
on Solaris/SPARC with gld 2.34, e.g.

+FAIL: c-c++-common/asan/alloca_instruments_all_paddings.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+UNRESOLVED: c-c++-common/asan/alloca_instruments_all_paddings.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce
executable

Excess errors:
/vol/gcc/bin/gld-2.34: error: could not add symbols

For some reason, this still works ok on Solaris/x86, though.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
@ 2020-03-21 12:40 ` ro at gcc dot gnu.org
  2020-03-21 17:44 ` marxin at gcc dot gnu.org
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ro at gcc dot gnu.org @ 2020-03-21 12:40 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
  2020-03-21 12:40 ` [Bug lto/94249] " ro at gcc dot gnu.org
@ 2020-03-21 17:44 ` marxin at gcc dot gnu.org
  2020-03-21 18:12 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-21 17:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-03-21

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
It will be definitely caused by my g:c8429c2aba80f845939ffa6b2cfe8a0be1b50078.

The error comes from lto-plugin.c:

      if (add_symbols_v2)
        status = add_symbols_v2 (file->handle, lto_file.symtab.nsyms,
                                 lto_file.symtab.syms);
      else
        status = add_symbols (file->handle, lto_file.symtab.nsyms,
                              lto_file.symtab.syms);
      check (status == LDPS_OK, LDPL_FATAL, "could not add symbols");

In our case add_symbols_v2 should be NULL, so the old function add_symbols
should be called.

So is the reason usage of ld.gold? Is the default linker fine?

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
  2020-03-21 12:40 ` [Bug lto/94249] " ro at gcc dot gnu.org
  2020-03-21 17:44 ` marxin at gcc dot gnu.org
@ 2020-03-21 18:12 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2020-03-21 21:13 ` danglin at gcc dot gnu.org
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2020-03-21 18:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
> It will be definitely caused by my g:c8429c2aba80f845939ffa6b2cfe8a0be1b50078.
[...]
> So is the reason usage of ld.gold? Is the default linker fine?

No, ld.gold doesn't work on Solaris, so this is plain gld/ld.bfd 2.34.
The default linker is Solaris ld, which doesn't support the LTO plugin.
It is fine indeed, though.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-03-21 18:12 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2020-03-21 21:13 ` danglin at gcc dot gnu.org
  2020-03-22  8:53 ` marxin at gcc dot gnu.org
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: danglin at gcc dot gnu.org @ 2020-03-21 21:13 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu.org

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Same occurs on hppa-linux.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2020-03-21 21:13 ` danglin at gcc dot gnu.org
@ 2020-03-22  8:53 ` marxin at gcc dot gnu.org
  2020-03-22  9:28 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-22  8:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Ah, ok. Can you please do some basic debugging what's hapenning?
Btw. is the Solaris using ELF?

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2020-03-22  8:53 ` marxin at gcc dot gnu.org
@ 2020-03-22  9:28 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2020-03-22 17:55 ` marxin at gcc dot gnu.org
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2020-03-22  9:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
> Ah, ok. Can you please do some basic debugging what's hapenning?

Can you provide some pointers where to look?  I'm totally unfamiliar
with this code.  Maybe it's easier for you to try the Solaris/SPARC
system in the cfarm?  No idea if they have Linux/HP-PA there as well...

> Btw. is the Solaris using ELF?

Sure: it's SysVr4 based, they invented ELF together with AT&T.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2020-03-22  9:28 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2020-03-22 17:55 ` marxin at gcc dot gnu.org
  2020-03-22 18:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-22 17:55 UTC (permalink / raw)
  To: gcc-bugs

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

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 #6 from Martin Liška <marxin at gcc dot gnu.org> ---
> Can you provide some pointers where to look?  I'm totally unfamiliar
> with this code.  Maybe it's easier for you to try the Solaris/SPARC
> system in the cfarm?  No idea if they have Linux/HP-PA there as well...
> 

Ok, I'll start with that tomorrow in the morning and let you know.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2020-03-22 17:55 ` marxin at gcc dot gnu.org
@ 2020-03-22 18:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2020-03-22 21:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2020-03-22 18:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
>> Can you provide some pointers where to look?  I'm totally unfamiliar
>> with this code.  Maybe it's easier for you to try the Solaris/SPARC
>> system in the cfarm?  No idea if they have Linux/HP-PA there as well...
>
> Ok, I'll start with that tomorrow in the morning and let you know.

Fine, thanks.  Just FYI, I built binutils master to check if the issue
also exists with the v2 plugin interface.  One previously failing
testcase now PASSes with gld 2.34.50.  I'm now running full bootstraps
on both sparc-sun-solaris2.11 and i386-pc-solaris2.11 with that gld.

This wouldn't be a solution, of course, just an additional datapoint.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2020-03-22 18:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2020-03-22 21:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2020-03-23  1:15 ` dave.anglin at bell dot net
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2020-03-22 21:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot
> Uni-Bielefeld.DE> ---
[...]
> Fine, thanks.  Just FYI, I built binutils master to check if the issue
> also exists with the v2 plugin interface.  One previously failing
> testcase now PASSes with gld 2.34.50.  I'm now running full bootstraps
> on both sparc-sun-solaris2.11 and i386-pc-solaris2.11 with that gld.

Both have just completed: the x86 results are unchanged from gld 2.34,
the sparc results are back to what they were before your patch.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2020-03-22 21:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2020-03-23  1:15 ` dave.anglin at bell dot net
  2020-03-23  9:06 ` marxin at gcc dot gnu.org
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: dave.anglin at bell dot net @ 2020-03-23  1:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from dave.anglin at bell dot net ---
This is with Debian ld 2.34 on hppa-linux.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2020-03-23  1:15 ` dave.anglin at bell dot net
@ 2020-03-23  9:06 ` marxin at gcc dot gnu.org
  2020-03-23 17:37 ` danglin at gcc dot gnu.org
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-23  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
I've got it, sparc64 does not define __BIG_ENDIAN__. I'm testing a patch that
does endianess detection based on __BYTE_ORDER__.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2020-03-23  9:06 ` marxin at gcc dot gnu.org
@ 2020-03-23 17:37 ` danglin at gcc dot gnu.org
  2020-03-23 19:04 ` dave.anglin at bell dot net
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: danglin at gcc dot gnu.org @ 2020-03-23 17:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from John David Anglin <danglin at gcc dot gnu.org> ---
On hppa-linux, we have:

#define __BIG_ENDIAN    4321

/* hppa1.1 big-endian.  */

#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif

#define __BYTE_ORDER __BIG_ENDIAN

I don't see a define for __BIG_ENDIAN__.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2020-03-23 17:37 ` danglin at gcc dot gnu.org
@ 2020-03-23 19:04 ` dave.anglin at bell dot net
  2020-03-24 10:40 ` cvs-commit at gcc dot gnu.org
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: dave.anglin at bell dot net @ 2020-03-23 19:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from dave.anglin at bell dot net ---
On 2020-03-23 1:37 p.m., danglin at gcc dot gnu.org wrote:
> I don't see a define for __BIG_ENDIAN__.
It seems we need this patch.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2020-03-23 19:04 ` dave.anglin at bell dot net
@ 2020-03-24 10:40 ` cvs-commit at gcc dot gnu.org
  2020-03-24 10:41 ` marxin at gcc dot gnu.org
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-24 10:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 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:906b3eb9df6c577d3f6e9c3ea5c9d7e4d1e90536

commit r10-7353-g906b3eb9df6c577d3f6e9c3ea5c9d7e4d1e90536
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Mar 24 11:40:10 2020 +0100

    Improve endianess detection.

            PR lto/94249
            * plugin-api.h: Add more robust endianess detection.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (13 preceding siblings ...)
  2020-03-24 10:40 ` cvs-commit at gcc dot gnu.org
@ 2020-03-24 10:41 ` marxin at gcc dot gnu.org
  2020-03-24 17:05 ` cvs-commit at gcc dot gnu.org
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-24 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (14 preceding siblings ...)
  2020-03-24 10:41 ` marxin at gcc dot gnu.org
@ 2020-03-24 17:05 ` cvs-commit at gcc dot gnu.org
  2020-03-24 17:08 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-24 17:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by John David Anglin <danglin@gcc.gnu.org>:

https://gcc.gnu.org/g:04099157691ec6ff25d8d32e30b04eec89dcf94b

commit r10-7355-g04099157691ec6ff25d8d32e30b04eec89dcf94b
Author: John David Anglin <danglin@gcc.gnu.org>
Date:   Tue Mar 24 17:04:26 2020 +0000

    Define __BIG_ENDIAN__

            2020-03-24  John David Anglin  <danglin@gcc.gnu.org>

            PR lto/94249
            * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (15 preceding siblings ...)
  2020-03-24 17:05 ` cvs-commit at gcc dot gnu.org
@ 2020-03-24 17:08 ` cvs-commit at gcc dot gnu.org
  2020-03-24 17:10 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-24 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by John David Anglin
<danglin@gcc.gnu.org>:

https://gcc.gnu.org/g:366f69fdf42854f76b90ce81394e3685f2990988

commit r9-8413-g366f69fdf42854f76b90ce81394e3685f2990988
Author: John David Anglin <danglin@gcc.gnu.org>
Date:   Tue Mar 24 17:07:23 2020 +0000

    Define __BIG_ENDIAN__

            2020-03-24  John David Anglin  <danglin@gcc.gnu.org>

            PR lto/94249
            * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (16 preceding siblings ...)
  2020-03-24 17:08 ` cvs-commit at gcc dot gnu.org
@ 2020-03-24 17:10 ` cvs-commit at gcc dot gnu.org
  2020-04-01  7:37 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-24 17:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #17 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by John David Anglin
<danglin@gcc.gnu.org>:

https://gcc.gnu.org/g:dc65052d2351aeb1f1968b6ac9f1244de6ed64e1

commit r8-10140-gdc65052d2351aeb1f1968b6ac9f1244de6ed64e1
Author: John David Anglin <danglin@gcc.gnu.org>
Date:   Tue Mar 24 17:09:58 2020 +0000

    Define __BIG_ENDIAN__

            2020-03-24  John David Anglin  <danglin@gcc.gnu.org>

            PR lto/94249
            * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (17 preceding siblings ...)
  2020-03-24 17:10 ` cvs-commit at gcc dot gnu.org
@ 2020-04-01  7:37 ` cvs-commit at gcc dot gnu.org
  2020-04-01 17:25 ` raj.khem at gmail dot com
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-01  7:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #18 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:142d68f50b48309f48e34fc1d9d6dbbeecfde684

commit r10-7492-g142d68f50b48309f48e34fc1d9d6dbbeecfde684
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Apr 1 09:37:37 2020 +0200

    Fix typo in a macro usage.

            PR lto/94249
            * plugin-api.h: Fix a typo.

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (18 preceding siblings ...)
  2020-04-01  7:37 ` cvs-commit at gcc dot gnu.org
@ 2020-04-01 17:25 ` raj.khem at gmail dot com
  2020-04-01 17:25 ` raj.khem at gmail dot com
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: raj.khem at gmail dot com @ 2020-04-01 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

Khem Raj <raj.khem at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raj.khem at gmail dot com

--- Comment #19 from Khem Raj <raj.khem at gmail dot com> ---
Created attachment 48163
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48163&action=edit
test case

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (19 preceding siblings ...)
  2020-04-01 17:25 ` raj.khem at gmail dot com
@ 2020-04-01 17:25 ` raj.khem at gmail dot com
  2020-04-02 11:07 ` marxin at gcc dot gnu.org
  2020-04-02 13:41 ` raj.khem at gmail dot com
  22 siblings, 0 replies; 24+ messages in thread
From: raj.khem at gmail dot com @ 2020-04-01 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #20 from Khem Raj <raj.khem at gmail dot com> ---
(In reply to CVS Commits from comment #18)
> The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
> 
> https://gcc.gnu.org/g:142d68f50b48309f48e34fc1d9d6dbbeecfde684
> 
> commit r10-7492-g142d68f50b48309f48e34fc1d9d6dbbeecfde684
> Author: Martin Liska <mliska@suse.cz>
> Date:   Wed Apr 1 09:37:37 2020 +0200
> 
>     Fix typo in a macro usage.
>     
>             PR lto/94249
>             * plugin-api.h: Fix a typo.


this patch seems to be causing gcc ICE on ARM when compiling lz4 sources in
kernel, lz4, vlc almost identical ICE is seen

attached is the test case please compile it with -O3

during GIMPLE pass: vect
lz4.c: In function 'LZ4_compress_fast_extState':
lz4.c:1180:5: internal compiler error: Segmentation fault
 1180 | int LZ4_compress_fast_extState(void* state, const char* source, char*
dest, int inputSize, int maxOutputSize, int acceleration)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Please submit a full bug report,

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (20 preceding siblings ...)
  2020-04-01 17:25 ` raj.khem at gmail dot com
@ 2020-04-02 11:07 ` marxin at gcc dot gnu.org
  2020-04-02 13:41 ` raj.khem at gmail dot com
  22 siblings, 0 replies; 24+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-04-02 11:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #21 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Khem Raj from comment #20)
> (In reply to CVS Commits from comment #18)
> > The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
> > 
> > https://gcc.gnu.org/g:142d68f50b48309f48e34fc1d9d6dbbeecfde684
> > 
> > commit r10-7492-g142d68f50b48309f48e34fc1d9d6dbbeecfde684
> > Author: Martin Liska <mliska@suse.cz>
> > Date:   Wed Apr 1 09:37:37 2020 +0200
> > 
> >     Fix typo in a macro usage.
> >     
> >             PR lto/94249
> >             * plugin-api.h: Fix a typo.
> 
> 
> this patch seems to be causing gcc ICE on ARM when compiling lz4 sources in
> kernel, lz4, vlc almost identical ICE is seen
> 
> attached is the test case please compile it with -O3
> 
> during GIMPLE pass: vect
> lz4.c: In function 'LZ4_compress_fast_extState':
> lz4.c:1180:5: internal compiler error: Segmentation fault
>  1180 | int LZ4_compress_fast_extState(void* state, const char* source,
> char* dest, int inputSize, int maxOutputSize, int acceleration)
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
> Please submit a full bug report,

You pointed to a bad bug, you wanted to point to PR94443?

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

* [Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols
  2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
                   ` (21 preceding siblings ...)
  2020-04-02 11:07 ` marxin at gcc dot gnu.org
@ 2020-04-02 13:41 ` raj.khem at gmail dot com
  22 siblings, 0 replies; 24+ messages in thread
From: raj.khem at gmail dot com @ 2020-04-02 13:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #22 from Khem Raj <raj.khem at gmail dot com> ---
yes you are right

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

end of thread, other threads:[~2020-04-02 13:41 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 12:40 [Bug lto/94249] New: [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols ro at gcc dot gnu.org
2020-03-21 12:40 ` [Bug lto/94249] " ro at gcc dot gnu.org
2020-03-21 17:44 ` marxin at gcc dot gnu.org
2020-03-21 18:12 ` ro at CeBiTec dot Uni-Bielefeld.DE
2020-03-21 21:13 ` danglin at gcc dot gnu.org
2020-03-22  8:53 ` marxin at gcc dot gnu.org
2020-03-22  9:28 ` ro at CeBiTec dot Uni-Bielefeld.DE
2020-03-22 17:55 ` marxin at gcc dot gnu.org
2020-03-22 18:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
2020-03-22 21:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
2020-03-23  1:15 ` dave.anglin at bell dot net
2020-03-23  9:06 ` marxin at gcc dot gnu.org
2020-03-23 17:37 ` danglin at gcc dot gnu.org
2020-03-23 19:04 ` dave.anglin at bell dot net
2020-03-24 10:40 ` cvs-commit at gcc dot gnu.org
2020-03-24 10:41 ` marxin at gcc dot gnu.org
2020-03-24 17:05 ` cvs-commit at gcc dot gnu.org
2020-03-24 17:08 ` cvs-commit at gcc dot gnu.org
2020-03-24 17:10 ` cvs-commit at gcc dot gnu.org
2020-04-01  7:37 ` cvs-commit at gcc dot gnu.org
2020-04-01 17:25 ` raj.khem at gmail dot com
2020-04-01 17:25 ` raj.khem at gmail dot com
2020-04-02 11:07 ` marxin at gcc dot gnu.org
2020-04-02 13:41 ` raj.khem at gmail dot com

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