From owner-svn-src-all@FreeBSD.ORG Sun Sep 8 19:42:17 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E2E6E908; Sun, 8 Sep 2013 19:42:17 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B69FD2D88; Sun, 8 Sep 2013 19:42:17 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MST00K00NUZF000@smtpauth2.wiscmail.wisc.edu>; Sun, 08 Sep 2013 14:42:16 -0500 (CDT) X-Spam-PmxInfo: Server=avs-2, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.9.8.193024, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-67-185.dsl.mdsnwi.sbcglobal.net [76.208.67.185]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MST00EUHO2FLN00@smtpauth2.wiscmail.wisc.edu>; Sun, 08 Sep 2013 14:42:16 -0500 (CDT) Message-id: <522CD317.1090605@freebsd.org> Date: Sun, 08 Sep 2013 14:42:15 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130810 Thunderbird/17.0.8 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= Subject: Re: svn commit: r255385 - in head/etc: . etc.amd64 References: <201309080946.r889kNSX050568@svn.freebsd.org> <86wqmrfx1l.fsf@nine.des.no> In-reply-to: <86wqmrfx1l.fsf@nine.des.no> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@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 19:42:18 -0000 On 09/08/13 05:05, Dag-Erling Smørgrav wrote: > 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=foo64 buildworld > % sudo mkdir /foo64 > % sudo make TARGET=foo64 installworld DESTDIR=/foo64 > % sudo make TARGET=foo64 -C etc distribution DESTDIR=/foo64 > % make TARGET=foo32 buildworld > % sudo mkdir /foo64/32 > % sudo make TARGET=foo32 installworld DESTDIR=/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 That works perfectly well on my powerpc64 box -- the binary's libraries and the executable runs flawlessly. Why is your stock libmap32.conf stuck in etc.amd64? It should be MI for all 64-bit platforms that support 32-bit binaries. -Nathan