https://sourceware.org/bugzilla/show_bug.cgi?id=28058

            Bug ID: 28058
           Summary: 300x performance regression in strip
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: mail at nh2 dot me
  Target Milestone: ---

Dear maintainer,

I found a performance regression between binutils 2.34 and 2.35.1 that makes
stripping a 50 MB `.a` take 300 seconds instead of 1 second.

Original investigation, including `.a` file for testing:

https://github.com/NixOS/nixpkgs/issues/129467

I bisected the issue to this commit:

    a8e14f4cc2badfcf959f5e2cc57a941dc43f72d4 is the first bad commit
    commit a8e14f4cc2badfcf959f5e2cc57a941dc43f72d4
    Author: Nick Clifton <ni...@redhat.com>
    Date:   Thu Mar 5 15:47:15 2020 +0000

        Add support for ELF files which contain multiple reloc sections which
all target the same section.


Note that this is the same commit that introduced the performance regression in
`as` in this bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=26406

However, the commit that fixed `as` in there does not fix this regression.

I would appreciate if you could have a look!

Niklas

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

Reply via email to