[Bug gas/29058] Quadratic(?) slowdown of m68k-as on m68k_frob_symbol()

2022-04-14 Thread slyich at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29058

--- Comment #3 from Sergei Trofimovich  ---
Sent possible fix for review as
https://sourceware.org/pipermail/binutils/2022-April/120410.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/29058] Quadratic(?) slowdown of m68k-as on m68k_frob_symbol()

2022-04-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=29058

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Sergei Trofimovich
:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c641fe0dcb886dc1b8a235ab2b236275ee46510a

commit c641fe0dcb886dc1b8a235ab2b236275ee46510a
Author: Sergei Trofimovich 
Date:   Thu Apr 14 08:47:00 2022 +0100

M68K: avoid quadratic slowdlow in label alignment check

Before the change tc-m68k maintained a list of seen labels.
Alignment check traversed label list to resolve symbol to label.
This caused quadratic slowdown as each symbol was checked against
each label. Worst affected files are the ones built with debugging
enabled as DWARF generates many labels.

The change embeds auxiliary label information right into symbol using
TC_SYMFIELD_TYPE.

Before the change test from PR 29058 did not finish in 10 minutes. After
the change it finishes in 2 seconds.

gas/ChangeLog:

PR 29058
* config/tc-m68k.h (TC_SYMFIELD_TYPE): define as m68k_tc_sy.
* config/tc-m68k.c (m68k_frob_label): Use TC_SYMFIELD_TYPE to
store label information.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gprofng/29065] New: test suite problems

2022-04-14 Thread toolybird at tuta dot io
https://sourceware.org/bugzilla/show_bug.cgi?id=29065

Bug ID: 29065
   Summary: test suite problems
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gprofng
  Assignee: vladimir.mezentsev at oracle dot com
  Reporter: toolybird at tuta dot io
  Target Milestone: ---

Building latest binutils trunk I'm getting:

Running
/build/binutils/src/binutils-gdb/gprofng/testsuite/gprofng.display/display.exp
...
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in synprog failed

=== gprofng Summary ===

# of unresolved testcases   2


It appears to be having trouble finding runtime libs because in gprofng.log I'm
seeing this:

/build/binutils/src/binutils-build/gprofng/tmpdir/root/usr/bin/gprofng collect
app  -o test.er ./mttest
/build/binutils/src/binutils-build/gprofng/tmpdir/root/usr/bin/gprofng: error
while loading shared libraries: libopcodes-2.38.50.so: cannot open s hared
object file: No such file or directory
make[5]: ***
[/build/binutils/src/binutils-gdb/gprofng/testsuite/gprofng.display/mttest/Makefile:40:
test.er] Error 127
make[5]: Leaving directory
'/build/binutils/src/binutils-build/gprofng/tmpdir/mttest.,'
child process exited abnormally
ERROR: compilation of test program in mttest failed
UNRESOLVED: mttest


Any ideas? Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.