In message: <aanlktimc39jxryaaqnxi5qjhnihlwczcpn22r8xmn...@mail.gmail.com>
            Garrett Cooper <yanef...@gmail.com> writes:
: On Wed, May 26, 2010 at 11:28 AM, Rob Farmer <rfar...@predatorlabs.net> wrote:
: > On Tue, May 25, 2010 at 10:48 AM, Xin LI <delp...@freebsd.org> wrote:
: >> Author: delphij
: >> Date: Tue May 25 17:48:17 2010
: >> New Revision: 208545
: >> URL: http://svn.freebsd.org/changeset/base/208545
: >>
: >> Log:
: >>  libarchive now needs libcrypto and liblzma.
: >>
: >> Modified:
: >>  head/release/amd64/boot_crunch.conf
: >>  head/release/i386/boot_crunch.conf
: >>  head/release/ia64/boot_crunch.conf
: >>  head/release/pc98/boot_crunch.conf
: >>  head/release/powerpc/boot_crunch.conf
: >>  head/release/sparc64/boot_crunch.conf
: >>  head/release/sun4v/boot_crunch.conf
: >>
: >> Modified: head/release/amd64/boot_crunch.conf
: >> 
==============================================================================
: >> --- head/release/amd64/boot_crunch.conf Tue May 25 17:43:23 2010        
(r208544)
: >> +++ head/release/amd64/boot_crunch.conf Tue May 25 17:48:17 2010        
(r208545)
: >> @@ -39,6 +39,6 @@ progs ppp
: >>  progs sysinstall
: >>  progs usbconfig
: >>
: >> -libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
: >> +libs -ll -ledit -lutil -lmd -lcrypt -lcrypto -lftpio -lz -lnetgraph
: >>  libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs -ldevinfo
: >> -libs -lbsdxml -larchive -lbz2 -lusb -ljail
: >> +libs -lbsdxml -larchive -lbz2 -llzma -lusb -ljail
: >>
: >
: > Does the order of the libs entries matter? Because I just tried on
: > i386 after this commit and I still get errors related to the sha1,
: > md5, etc. functions but it worked fine with -llzma -lcrypto at the end
: > of the last line.
: 
:     In theory it shouldn't because the linker should be smart enough
: to evaluate the dependencies and link everything properly, but our
: copy of binutils isn't intelligent enough to determine the appropriate
: order from what I've seen.

the linker has never been that smart.  Unless you tell it to link in
everything, which we don't do.

Warner
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to