From owner-freebsd-questions@FreeBSD.ORG Wed Aug 8 00:04:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBF8B106566C for ; Wed, 8 Aug 2012 00:04:54 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 58BD78FC08 for ; Wed, 8 Aug 2012 00:04:54 +0000 (UTC) Received: by wibhm11 with SMTP id hm11so2613543wib.13 for ; Tue, 07 Aug 2012 17:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=3fW7yO6yNPcoGX8aRTgFObQNlm3HPst4uvAbTBJfffo=; b=DKlE1BDJOiwGhg7/ctOY3csvWH85TzIew7Sdo58EJvR3E07th7y8rXMOUDbVUmb/Jf bCsZo5P97KbqHUw7u0KyqV/LJPdoxhfs5OjxwIcAJTzKgs1n5syIFZ82nO4SQEx793Bx 7E1UVsmoRi+0M/hCNS1JnAIaH4kA6/MBLBHwHUELeaTqoqvbKhl8LOJHfXyRVgpcjxaZ 6zfVpOTZglx8kv5ZRRSTSpSn5kPHK4pknPFfzqgyCaXbtYb/0N3OKiT7BuFG4JdCxqrt cWSfjWdOcIQ5W4FhTyiUnIIq4a/70Ol381BaMEqy28YhUHdljMaKBMqfHAVGXPev/3JJ WCgQ== Received: by 10.180.105.163 with SMTP id gn3mr1047500wib.2.1344384293130; Tue, 07 Aug 2012 17:04:53 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id bc2sm3058082wib.0.2012.08.07.17.04.51 (version=SSLv3 cipher=OTHER); Tue, 07 Aug 2012 17:04:52 -0700 (PDT) Date: Wed, 8 Aug 2012 01:04:49 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120808010449.269b4e8b@gumby.homeunix.com> In-Reply-To: <20120807232633.9ca51ca6.freebsd@edvax.de> References: <201208071914.q77JEUKq022088@mail.r-bonomi.com> <20120807232633.9ca51ca6.freebsd@edvax.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Why can't I set my cpu type in kernel config ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2012 00:04:54 -0000 On Tue, 7 Aug 2012 23:26:33 +0200 Polytropon wrote: > On Tue, 7 Aug 2012 14:14:30 -0500 (CDT), Robert Bonomi wrote: > > > From owner-freebsd-questions@freebsd.org Tue Aug 7 02:44:36 2012 > > > Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) > > > From: Wojciech Puchar > > > To: Chris Hill > > > Cc: RW , freebsd-questions@freebsd.org > > > Subject: Re: Why can't I set my cpu type in kernel config ? > > > > > > >> That's the amd64 (64-bit) GENERIC > > > > > > > > Jason: It looks like you may have installed the 64-bit > > > > distribution on your > > > > > > nonsense. 64-bit distribution doesn't run on 32-bit computer. > > > > *PRECISELY* why the OP is having problems. He _is_ trying to > > build amd64 kernel on 34-bit only processor. > > > > Unlike "Wojciech the infallible" people _do_ get things wrong on > > occasion. > > That's why the statement "you may have installed the 64-bit > distribution" Wojciech refered to as "nonsense": On a 32 bit > system, the 64 bis OS version should not run. So the OP seems > to be using the (correct!) 32 bit OS version, but trying to > compile the 64 bit kernel (from /sys/amd64/conf instead of > from /sys/i386/conf). Therefore, it's a matter of having > chosen the wrong kernel config, not the wrong OS version. :-) The architecture isn't defined in GENERIC, it defaults to what's already installed. You have to explicitly set it to cross-build, and I find it hard to believe that someone would set TARGET/TARGET_ARCH to amd64 by mistake I think it's likely that it is a 64-bit installation.