From owner-svn-src-all@FreeBSD.ORG Wed May 26 19:01:31 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AC4A1065670; Wed, 26 May 2010 19:01:31 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3A38FC21; Wed, 26 May 2010 19:01:30 +0000 (UTC) Received: by qyk11 with SMTP id 11so10009680qyk.13 for ; Wed, 26 May 2010 12:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ysimRpVH8gDQTEY1PWc3uAayKawObek0r4xw/HzlvC0=; b=Is5obf/OuqP0Z/9zTdO/E6gryeWQoAr2tGbfxiSUEGtOKmWdfWcAKed6xO57wSnEKk sOQcwNULLZUlkb88DHaC6hjA+lGYNEGNYY90vgEjdm8ho8kwNTXu+ormG3Y24wSHAhj0 gXjgjdij17zn4YyC+icNmZOv8qaSj0XVvlNGo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ENbj15EYLv32I/su+MUSO4bQYZ83/+jaFIidD6tDedbIZMOXCKkuSV3D0D+7DIwdLA g+c4WFktJo6bYrvA7/mXPWRujv7y9V4wDOiC6Ftl2++XhiKmTZtCfrAgPPrdvszBELO1 oXOgjj99YbVF4yfHLSLF+prd/icUX3GcI7dyo= MIME-Version: 1.0 Received: by 10.224.36.92 with SMTP id s28mr5015337qad.293.1274900487651; Wed, 26 May 2010 12:01:27 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Wed, 26 May 2010 12:01:27 -0700 (PDT) In-Reply-To: <4BFD6F80.8030700@delphij.net> References: <201005251748.o4PHmI5T093246@svn.freebsd.org> <4BFD6F80.8030700@delphij.net> Date: Wed, 26 May 2010 12:01:27 -0700 Message-ID: From: Garrett Cooper To: d@delphij.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Rob Farmer , Xin LI , src-committers@freebsd.org Subject: Re: svn commit: r208545 - in head/release: amd64 i386 ia64 pc98 powerpc sparc64 sun4v X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 19:01:31 -0000 On Wed, May 26, 2010 at 11:59 AM, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 2010/05/26 11:47, Garrett Cooper wrote: >> On Wed, May 26, 2010 at 11:28 AM, Rob Farmer = wrote: >>> On Tue, May 25, 2010 at 10:48 AM, Xin LI wrote: >>>> Author: delphij >>>> Date: Tue May 25 17:48:17 2010 >>>> New Revision: 208545 >>>> URL: http://svn.freebsd.org/changeset/base/208545 >>>> >>>> Log: >>>> =A0libarchive now needs libcrypto and liblzma. >>>> >>>> Modified: >>>> =A0head/release/amd64/boot_crunch.conf >>>> =A0head/release/i386/boot_crunch.conf >>>> =A0head/release/ia64/boot_crunch.conf >>>> =A0head/release/pc98/boot_crunch.conf >>>> =A0head/release/powerpc/boot_crunch.conf >>>> =A0head/release/sparc64/boot_crunch.conf >>>> =A0head/release/sun4v/boot_crunch.conf >>>> >>>> Modified: head/release/amd64/boot_crunch.conf >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >>>> --- head/release/amd64/boot_crunch.conf Tue May 25 17:43:23 2010 =A0 = =A0 =A0 =A0(r208544) >>>> +++ head/release/amd64/boot_crunch.conf Tue May 25 17:48:17 2010 =A0 = =A0 =A0 =A0(r208545) >>>> @@ -39,6 +39,6 @@ progs ppp >>>> =A0progs sysinstall >>>> =A0progs usbconfig >>>> >>>> -libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph >>>> +libs -ll -ledit -lutil -lmd -lcrypt -lcrypto -lftpio -lz -lnetgraph >>>> =A0libs -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. >> >> =A0 =A0 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. > > Bad last minute change from me, I overlooked this :-/ > > Will a newer GNU ld solve this issue? Juli informed me (off-list) that GNU ld _does_ in fact do this, but only if you specify --start-group and --end-group in the linker arguments (which she claimed required more RAM). It might just be better to switch the linker library ordering as this would fix the issue cleanly and quickly. Thanks, -Garrett