From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: Re: [PATCH 1/5] kbuild: allow architectures to use thin archives instead of ld -r Date: Sun, 7 Aug 2016 11:49:46 +1000 Message-ID: <20160807114946.41b682f3@canb.auug.org.au> References: <1470399123-8455-1-git-send-email-npiggin@gmail.com> <1470399123-8455-2-git-send-email-npiggin@gmail.com> <20160806201045.GA25821@ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160806201045.GA25821@ravnborg.org> Sender: linux-kbuild-owner@vger.kernel.org To: Sam Ravnborg Cc: Nicholas Piggin , linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Arnd Bergmann , Nicolas Pitre , Segher Boessenkool , Alan Modra List-Id: linux-arch.vger.kernel.org Hi Sam, On Sat, 6 Aug 2016 22:10:45 +0200 Sam Ravnborg wrote: > > Did you by any chance evalue the use of INPUT in linker files. > Stephen back then (again based on proposal from Alan Modra), > also made an implementation using INPUT. The problem with that idea was that (at least for some versions of binutils in use at the time) we hit a static limit to the number of object files and ld just stopped at that point. :-( > See below for an updated simple patch on top of mainline. So, I guess it was fixed, but do we know in what version? -- Cheers, Stephen Rothwell From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org ([103.22.144.67]:36112 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750954AbcHGBtx (ORCPT ); Sat, 6 Aug 2016 21:49:53 -0400 Date: Sun, 7 Aug 2016 11:49:46 +1000 From: Stephen Rothwell Subject: Re: [PATCH 1/5] kbuild: allow architectures to use thin archives instead of ld -r Message-ID: <20160807114946.41b682f3@canb.auug.org.au> In-Reply-To: <20160806201045.GA25821@ravnborg.org> References: <1470399123-8455-1-git-send-email-npiggin@gmail.com> <1470399123-8455-2-git-send-email-npiggin@gmail.com> <20160806201045.GA25821@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Sam Ravnborg Cc: Nicholas Piggin , linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Arnd Bergmann , Nicolas Pitre , Segher Boessenkool , Alan Modra Message-ID: <20160807014946.Xa6iw7qRPh9B-J09kuREukT-soRY6d6SZYu24fDzJPI@z> Hi Sam, On Sat, 6 Aug 2016 22:10:45 +0200 Sam Ravnborg wrote: > > Did you by any chance evalue the use of INPUT in linker files. > Stephen back then (again based on proposal from Alan Modra), > also made an implementation using INPUT. The problem with that idea was that (at least for some versions of binutils in use at the time) we hit a static limit to the number of object files and ld just stopped at that point. :-( > See below for an updated simple patch on top of mainline. So, I guess it was fixed, but do we know in what version? -- Cheers, Stephen Rothwell