From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751902AbcHKNMz (ORCPT ); Thu, 11 Aug 2016 09:12:55 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:33977 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbcHKNMw (ORCPT ); Thu, 11 Aug 2016 09:12:52 -0400 Date: Thu, 11 Aug 2016 23:12:40 +1000 From: Nicholas Piggin To: Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org, Segher Boessenkool , Stephen Rothwell , "linux-kernel@vger.kernel.org" , "Luis R. Rodriguez" , linux-next@vger.kernel.org, Paul Mackerras , Fengguang Wu , Guenter Roeck , Alan Modra Subject: Re: powerpc allyesconfig / allmodconfig linux-next next-20160729 - next-20160729 build failures Message-ID: <20160811231240.4ba73123@roar.ozlabs.ibm.com> In-Reply-To: <6327068.NbTmhQA6XD@wuerfel> References: <6481373.xtk4H4bKaE@wuerfel> <20160811224320.52950a5c@roar.ozlabs.ibm.com> <6327068.NbTmhQA6XD@wuerfel> Organization: IBM X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 11 Aug 2016 15:04:00 +0200 Arnd Bergmann wrote: > On Thursday, August 11, 2016 10:43:20 PM CEST Nicholas Piggin wrote: > > On Wed, 03 Aug 2016 22:13:28 +0200 > > Final ld time > > inclink > > real 0m0.378s > > user 0m0.304s > > sys 0m0.076s > > > > thinarc > > real 0m0.894s > > user 0m0.684s > > sys 0m0.200s > > This also still seems fine. > > > For both cases final link gets slower with thin archives. I guess there is some > > per-file overhead but I thought with --whole-archive it should not be that much > > slower. Still, overall time for main ar/ld phases comes out about the same in > > the end so I don't think it's too much problem. Unless ARM blows up significantly > > worse with a bigger config. > > Unfortunately I think it does. I haven't tried your latest series yet, > but I think the total time for removing built-in.o and relinking went > up from around 4 minutes (already way too much) to 18 minutes for me. > > > Linking with thin archives takes significantly more time in bfd hash lookup code. > > I haven't dug much further yet. > > Can you try the ARM allyesconfig with thin archives? I'll follow up with two > patches: one to get ARM to link without thin archives, and one that I used > to get --gc-sections to work. Okay send them over, I'll try digging into it. There is not much kbuild code to maintain so we don't have to switch every arch. It would be nice to though. Thanks, Nick