public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/110098] New: [11.4 Regression] binutils bootstrap tests fail when built with 11.4
@ 2023-06-02 20:08 doko at gcc dot gnu.org
  2023-06-02 20:14 ` [Bug lto/110098] " doko at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: doko at gcc dot gnu.org @ 2023-06-02 20:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110098
           Summary: [11.4 Regression] binutils bootstrap tests fail when
                    built with 11.4
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

binutils bootstrap tests fail when built with 11.4, same configuration runs
successful tests when built with 11.3 or 12.3. seems to be limited to
x86_64-linux-gnu and i686-linux-gnu.

seen with binutils builds (2.38, 2.39, 2.40), binutils configured with 
--enable-obsolete --enable-shared --enable-plugins --enable-threads
--enable-jansson --with-system-zlib --sysconfdir=/etc
--enable-deterministic-archives --disable-compressed-debug-sections
--enable-new-dtags --disable-x86-used-note
--with-gold-ldflags=-static-libstdc++ --disable-werror --enable-pgo-build=lto
--enable-gprofng

The triggering option is --enable-pgo-build=lto, the tests pass when configured
without this option. Failing tests are:

[...]
Running
/home/packages/binutils/binutils-2.40/ld/testsuite/ld-bootstrap/bootstrap.exp
...
FAIL: bootstrap
FAIL: bootstrap with strip
FAIL: bootstrap with -Wl,--traditional-format
FAIL: bootstrap with -Wl,--no-keep-memory
FAIL: bootstrap with -Wl,--relax
FAIL: bootstrap with -Wl,--max-cache-size=-1
[...]

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

* [Bug lto/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4
  2023-06-02 20:08 [Bug lto/110098] New: [11.4 Regression] binutils bootstrap tests fail when built with 11.4 doko at gcc dot gnu.org
@ 2023-06-02 20:14 ` doko at gcc dot gnu.org
  2023-06-02 20:20 ` [Bug middle-end/110098] " pinskia at gcc dot gnu.org
  2023-06-02 20:29 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: doko at gcc dot gnu.org @ 2023-06-02 20:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> ---
Created attachment 55246
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55246&action=edit
log file

log file doesn't show any hint

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

* [Bug middle-end/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4
  2023-06-02 20:08 [Bug lto/110098] New: [11.4 Regression] binutils bootstrap tests fail when built with 11.4 doko at gcc dot gnu.org
  2023-06-02 20:14 ` [Bug lto/110098] " doko at gcc dot gnu.org
@ 2023-06-02 20:20 ` pinskia at gcc dot gnu.org
  2023-06-02 20:29 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-02 20:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think it is failing becasuse of this output:
lto-wrapper: warning: using serial compilation of 26 LTRANS jobs
lto-wrapper: warning: using serial compilation of 26 LTRANS jobs

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

* [Bug middle-end/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4
  2023-06-02 20:08 [Bug lto/110098] New: [11.4 Regression] binutils bootstrap tests fail when built with 11.4 doko at gcc dot gnu.org
  2023-06-02 20:14 ` [Bug lto/110098] " doko at gcc dot gnu.org
  2023-06-02 20:20 ` [Bug middle-end/110098] " pinskia at gcc dot gnu.org
@ 2023-06-02 20:29 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-02 20:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |MOVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a binutils testsuite issue.

```
proc default_ld_link { ld target objects } {
    global host_triplet
    global exec_output

    set flags ""
    if [is_endian_output_format $objects] then {
        set flags [big_or_little_endian]
    }

    remote_file host delete $target
    set exec_output [run_host_cmd "$ld" "$flags -o $target $objects"]
    set exec_output [prune_warnings $exec_output]

    # We don't care if we get a warning about a non-existent start
    # symbol, since the default linker script might use ENTRY.
    regsub -all "(^|\n)(\[^\n\]*: warning: cannot find entry
symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output

    return [string match "" $exec_output]
}
```

prune_warnings  is not pruning the warning for `warning: using serial
compilation of N LTRANS jobs`.

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

end of thread, other threads:[~2023-06-02 20:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02 20:08 [Bug lto/110098] New: [11.4 Regression] binutils bootstrap tests fail when built with 11.4 doko at gcc dot gnu.org
2023-06-02 20:14 ` [Bug lto/110098] " doko at gcc dot gnu.org
2023-06-02 20:20 ` [Bug middle-end/110098] " pinskia at gcc dot gnu.org
2023-06-02 20:29 ` 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).