From owner-freebsd-current@FreeBSD.ORG Sun Jul 8 20:49:41 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5385016A469; Sun, 8 Jul 2007 20:49:41 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 31A9A13C45E; Sun, 8 Jul 2007 20:49:41 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l68KneGV015534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 8 Jul 2007 13:49:40 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l68KndlK005735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 8 Jul 2007 13:49:40 -0700 Message-ID: <46914DE3.1070901@u.washington.edu> Date: Sun, 08 Jul 2007 13:49:39 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: "Gelsema, P \(Patrick\)" References: <3921.10.202.77.103.1183926641.squirrel@webmail.superhero.nl> In-Reply-To: <3921.10.202.77.103.1183926641.squirrel@webmail.superhero.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.2.304607, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.8.133333 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-questions@freebsd.org, current@freebsd.org Subject: Re: updating from I386 architecture to AMD64 on -Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 20:49:41 -0000 Gelsema, P (Patrick) wrote: > Hi lists, > > I had tp reinstall my AMD box and the only version available was the > -Current snapshot of April architecture I386. Wouldnt be a problem I > thought, just install I386 and rebuild world/kernel for AMD64. > > So I did the following for crossbuilds. > > #chflags -R noschg /usr/obj > #rm -rf /usr/obj > #cd /usr/src > #make cleandir > #make cleandir > #make TARGET=amd64 TARGET_ARCH=amd64 -j8 buildworld > #make TARGET=amd64 TARGET_ARCH=amd64 -j8 buildkernel > > Until that moment everything is looking great. When I try to install the > world/kernel however the 'problem' starts. > > hulk# make TARGET=amd64 TARGET_ARCH=amd64 -j8 installkernel > ERROR: Please set DESTDIR! > *** Error code 1 > 1 error > *** Error code 2 > 1 error > > Can someone point the obvious out for me, cause it seems that I am missing > something really simple... > > Thanks > > Patrick > This has been brought up a few times. It's by far much more difficult to do an in-place upgrade from i386 -> amd64, than it is to just install amd64 from scratch. Scrounge around the questions@ archives (in particular over the last week or so) for more discussion/details. -Garrett