On Mon, Mar 27, 2006 at 12:56:30PM +0000, Olivier Houchard wrote:
> cognet      2006-03-27 12:56:30 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     rescue/rescue        Makefile 
>   Log:
>   *sigh*
>   Move the -lbsdxml after -lgeom, so that ld doesn't get confused and pretend
>   he can't find the symbol from libbsdxml needed in libgeom.
>   This should fix the rescue build breakage.
>   
>   Revision  Changes    Path
>   1.49      +2 -2      src/rescue/rescue/Makefile
> 
Some time ago I've taught lorder(1) to understand .a libraries,
so it can be used to sort them in proper order, for example:

$ lorder /usr/lib/libc.a /usr/lib/libgeom.a /usr/lib/libbsdxml.a | tsort
/usr/lib/libgeom.a
/usr/lib/libbsdxml.a
/usr/lib/libc.a

Versions of lorder(1) in HEAD and RELENG_6 know about this.
This tool is essential to static linking.


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer

Attachment: pgpLIxmngXmH8.pgp
Description: PGP signature

Reply via email to