bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28058] New: 300x performance regression in strip


From: mail at nh2 dot me
Subject: [Bug binutils/28058] New: 300x performance regression in strip
Date: Tue, 06 Jul 2021 19:56:05 +0000

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 <nickc@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

[Prev in Thread] Current Thread [Next in Thread]