From owner-freebsd-amd64@FreeBSD.ORG Mon Aug 13 21:00:34 2007 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E2C316A41B for ; Mon, 13 Aug 2007 21:00:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 3362813C48A for ; Mon, 13 Aug 2007 21:00:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8k) with ESMTP id 203155193-1834499 for multiple; Mon, 13 Aug 2007 16:53:04 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l7DKhCPd016648; Mon, 13 Aug 2007 16:43:12 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Mon, 13 Aug 2007 16:35:05 -0400 User-Agent: KMail/1.9.6 References: <20070625191118.U24808@fw.reifenberger.com> <20070729181507.GA85534@rot26.obsecurity.org> In-Reply-To: <20070729181507.GA85534@rot26.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708131635.05514.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 13 Aug 2007 16:43:12 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3947/Mon Aug 13 11:25:28 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Kris Kennaway Subject: Re: i386-RELENG_6 jail under amd64-current? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 21:00:34 -0000 On Sunday 29 July 2007 02:15:07 pm Kris Kennaway wrote: > On Mon, Jun 25, 2007 at 07:24:50PM +0200, Michael Reifenberger wrote: > > Hi, > > has anybody managed to set up an jail under amd64-current (64bit) > > which runs i386-RELENG_6 (32bit) binaries. > > > > My intention would be to compile 32bit ports on the bigger 64bit box too. > > > > When trying I get messages about missing shared libs... > > Either just symlink lib32 where the linker is looking for them, or set > the LD_32_LIBRARY_PATH or similar. It would be nice if the rtld > recognized it was living in an i386 world automatically. You could try copying an i386 /libexec/ld-elf.so.1 to /libexec/ld-elf32.so.1 inside the chroot. -- John Baldwin