New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 861672 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Get binutils >= 2.30

Project Member Reported by brat...@opera.com, Jul 9

Issue description

There is a fix[1] in binutils 2.30 that we want for Chromium. Version 2.29 and earlier has a performance problem with objcopy (and possibly other tools) where they are O(n^2) in number of sections in the object file. Since Chromium is compiled with -ffunction-section there can be many hundreds or thousands of sections per cc file instead of just one. 

In some jumbo builds, those hundreds or hundreds can become tens of thousands and then an objcopy that should have been more or less instant can take more than 5 minutes.

None of the official configurations experience the most extreme slowdown which is why it's not been urgent but at some time it should be switched to (it was released at the beginning of the year). Unless the project has moved to llvm objcopy but if that is happening I have not noticed.

[1]: https://sourceware.org/ml/binutils/2018-01/msg00197.html
 
Status: Started (was: Assigned)
Status: Fixed (was: Started)
Thank you! That was quick!

Sign in to add a comment