--enable-targets=all breaks ranlib

Mike Frysinger vapier@gentoo.org
Thu Sep 13 02:18:00 GMT 2007


On Wednesday 12 September 2007, Alan Modra wrote:
> 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.

there didnt seem a way that i could find to explicitly force the BFD target 
when using ar/ranlib ... the help output is so kind as to list them all 
though :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20070913/bc12ccde/attachment.sig>


More information about the Binutils mailing list