ar - slower .a creation time time after switch from 2.32 to 2.35

Howard Chu hyc@symas.com
Sun May 16 19:59:57 GMT 2021


onehalf3544 via Binutils wrote:
> Hi all!
> 
> After updating the toolchain (for gcc 9.2.1->9.3.1), overall build
> time has increased twofold. It was found out that .a creation now
> takes way more time than before. The ar versions are 2.32 (old,
> "faster" one) and 2.35 (new, "slower" one).
> The target is x86_64, nothing fancy.
> 
> Is this a known issue, perhaps? Haven't found anything relevant unfortunately (
> 
> If no, how do I debug this? No idea where to start...

Compile it with profiling info, use gprof to see where the time is being spent, etc.
> 
> Thanks.
> 


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/


More information about the Binutils mailing list