From owner-freebsd-amd64@FreeBSD.ORG Thu Dec 9 15:37:25 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E33D516A4CE for ; Thu, 9 Dec 2004 15:37:25 +0000 (GMT) Received: from enggate.uwi.tt (enggate.uwi.tt [196.3.139.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id F387E43D2F for ; Thu, 9 Dec 2004 15:37:24 +0000 (GMT) (envelope-from feisal@uwi.tt) Received: from localhost (localhost [127.0.0.1]) by enggate.uwi.tt (Postfix) with ESMTP id 1B44C1044B for ; Thu, 9 Dec 2004 11:35:33 -0400 (AST) Received: from enggate.uwi.tt ([127.0.0.1]) by localhost (bsd.eng.uwi.tt [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 88931-07 for ; Thu, 9 Dec 2004 11:35:32 -0400 (AST) Received: from ldc.eng.uwi.tt (ldc.eng.uwi.tt [192.168.20.31]) by enggate.uwi.tt (Postfix) with ESMTP id 85DD910452 for ; Thu, 9 Dec 2004 11:35:32 -0400 (AST) Received: from router.eng.uwi.tt (router.eng.uwi.tt [192.168.20.195]) by ldc.eng.uwi.tt (8.9.1/8.9.1) with SMTP id LAA11513 for ; Thu, 9 Dec 2004 11:16:48 +0400 (GMT) Date: Thu, 9 Dec 2004 11:37:48 -0400 From: Feisal Mohammed To: freebsd-amd64@freebsd.org Message-Id: <20041209113748.0fdff2c5.feisal@uwi.tt> In-Reply-To: <200412081631.57451.peter@wemm.org> References: <41B7901E.9050908@cisnet.com> <200412081631.57451.peter@wemm.org> Organization: University of the West Indies X-Mailer: Sylpheed version 1.0.0beta4 (GTK+ 1.2.10; amd64-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at uwi.tt Subject: Re: 32 bit compatability X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 15:37:26 -0000 On Wed, 8 Dec 2004 16:31:57 -0800 Peter Wemm wrote: > On Wednesday 08 December 2004 03:37 pm, Ken Lowther wrote: > > I have been reading the archives on this issue and am getting some > > info bit by bit. > > > > I am running 5.3 Release amd64 > > > > I have edited /etc/make.conf and added: > > WITH_LIB32=YES > > > > I have edited my version of MYKERNEL to include : > > options SMP > > options QUOTA > > options COMPAT_IA32 # Compatible with i386 > > binaries (last one in by default) > > > > Did make depend, make, and make insall. > > > > Rebooted. Kernel looks like it installed because quotas now work: > > > > hostserv1# quota -v > > Disk quotas for user root (uid 0): > > Filesystem usage quota limit grace files quota > > limit grace > > /home 130108 0 0 3660 0 > > 0 /usr 1054978 0 0 67161 0 0 > > /var 6580 0 0 1031 0 0 > > > > I gather this means the kernel suports the 32 bit compat mode from > > the posts I have seen so far: > > > > hostserv1# sysctl kern.elf32 > > kern.elf32.fallback_brand: -1 > > hostserv1# > > > > After this I seem to be lost. I have seen references to various > > things, but bottom line, where do I go from here. The script under > > tools is obsolete now? install32.sh? I get the impression that this > > stuff was supposed to compile with the kernel but Google doesn't help > > me find any one place that is a step by step walk through. > > The 32 bit libraries are built as part of buildworld/installworld. > However, if you still have a fresh world laying around, you might be > able to build just the libraries part like this: > cd /usr/src; > make build32 > make install32 > > If you have any trouble, then do a full buildworld etc and they will be > included with it. > > -- > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com > "All of this is for nothing if we don't go to the stars" - JMS/B5 I've just installed 5.3 and cvsupped to stable, make build32 says don't know how to make build32. make.conf has WITH_LIB32=yes and the kernel has IA32 support. What can I be doing wrong? -Feisal