[Bug middle-end/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110098

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |MOVED

--- Comment #3 from Andrew Pinski  ---
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`.

[Bug middle-end/110098] [11.4 Regression] binutils bootstrap tests fail when built with 11.4

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110098

--- Comment #2 from Andrew Pinski  ---
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