This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: --enable-targets=all breaks ranlib
On Wed, Sep 12, 2007 at 11:09:01AM -0400, Mike Frysinger wrote:
> On Wednesday 12 September 2007, Mike Frysinger wrote:
> > On Wednesday 12 September 2007, Alan Modra wrote:
> > > On Tue, Sep 11, 2007 at 10:13:43PM -0400, Mike Frysinger wrote:
> > > > and indeed, running `md5sum` on the libfoo.a before and after the call
> > > > to ranlib shows no modifications were actually made
> > >
> > > You may be barking up the wrong tree. Does ranlib built for a single
> > > target do anything?
> >
> > yes, ranlib configured without --enable-targets=all generates an index
>
> ... and ld from either build will link nicely if the index has been created,
> or barf if the index has not been created ...
OK. I think the most likely problem is that your .a is matching more
than one target.
--
Alan Modra
Australia Development Lab, IBM