# Re: \[PATCH 1/5\] kbuild: allow architectures to use thin archives instead of ld -r

- From: Alan Modra \<hidden\>
- Date: 2016-08-07 03:35:06 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2016/08/9491886
- Thread: https://ratatoskr.run/linux-kbuild/2016/08/9491861/t.md

```text
On Sun, Aug 07, 2016 at 11:49:46AM +1000, Stephen Rothwell wrote:
> Hi Sam,
> 
> On Sat, 6 Aug 2016 22:10:45 +0200 Sam Ravnborg [ref] 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?

I think the patch was
https://sourceware.org/ml/binutils/2012-06/msg00201.html

So, you need binutils 2.23 or later.

-- 
Alan Modra
Australia Development Lab, IBM
```
