From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 09:39:15 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9B7F106566B; Tue, 16 Nov 2010 09:39:15 +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 751688FC19; Tue, 16 Nov 2010 09:39:15 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 6D8311FFC34; Tue, 16 Nov 2010 09:39:14 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 42E438452D; Tue, 16 Nov 2010 10:39:14 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Julian Elischer References: <4CA4C63F.4070503@icyb.net.ua> <20101116.022422.921.1@DEV> <4CE22182.7090008@freebsd.org> Date: Tue, 16 Nov 2010 10:39:14 +0100 In-Reply-To: <4CE22182.7090008@freebsd.org> (Julian Elischer's message of "Mon, 15 Nov 2010 22:15:30 -0800") Message-ID: <86sjz18v5p.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: rank1seeker@gmail.com, freebsd-hackers@freebsd.org, Garrett Cooper Subject: Re: Unhappy with cross-worlding X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 09:39:15 -0000 Julian Elischer writes: > Garrett Cooper > > But yes, building amd64 on i386 probably won't work too well :)... > It's supposed to but hasn't for years. Umm, what do you mean? You can cross-build world and kernel with TARGET=3Damd64 (this is what the tinderbox and 'make universe' do), then install the kernel, reboot into single-user mode, and install world. Some things won't work properly until you've built and installed world a second time, but nothing important AFAIK. You may have to copy /libexec/ld-elf.so.1 to /libexec/ld-elf32.so.1 before you reboot - it used to be necessary, but ISTR someone hacked around it to make it easier to run 32-bit chroots on amd64. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no