From owner-svn-src-all@FreeBSD.ORG Sun Sep 8 10:06:10 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CB33B9B5; Sun, 8 Sep 2013 10:06:10 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE052591; Sun, 8 Sep 2013 10:06:10 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 8F67645AA; Sun, 8 Sep 2013 10:06:09 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id EBAF829463; Sun, 8 Sep 2013 12:05:42 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: src-committers@freebsd.org Subject: Re: svn commit: r255385 - in head/etc: . etc.amd64 References: <201309080946.r889kNSX050568@svn.freebsd.org> Date: Sun, 08 Sep 2013 12:05:42 +0200 In-Reply-To: <201309080946.r889kNSX050568@svn.freebsd.org> (Dag-Erling SmXXrgrav's message of "Sun, 8 Sep 2013 09:46:23 +0000 (UTC)") Message-ID: <86wqmrfx1l.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, powerpc@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 08 Sep 2013 10:06:10 -0000 Dag-Erling SmXXrgrav writes: > Log: > Add a stock libmap32.conf for amd64. The first two lines have no effect > except to document the hardcoded standard library search path for 32-bit > binaries. The third line performs the equivalent substitution for the > private library directory. powerpc64 probably needs this as well, but I know next to nothing about it and have no way of testing it. How to test: % svn co -r255386 svn://svn.freebsd.org/base/head libprivate % cd libprivate % make TARGET=3Dfoo64 buildworld % sudo mkdir /foo64 % sudo make TARGET=3Dfoo64 installworld DESTDIR=3D/foo64 % sudo make TARGET=3Dfoo64 -C etc distribution DESTDIR=3D/foo64 % make TARGET=3Dfoo32 buildworld % sudo mkdir /foo64/32 % sudo make TARGET=3Dfoo32 installworld DESTDIR=3D/foo64/32 % sudo mount -t dev dev /foo64/dev % sudo chroot /foo64 /bin/sh % ldd /32/usr/bin/ssh With libmap32.conf in place, this should show that libssh.so.5 resolves to /usr/lib32/private/libssh.so.5; otherwise, it will show up as not found. (r255386 is the revision that made libssh private, prior to which there was no practical need for this mapping) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no