Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2012 01:04:49 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Why can't I set my cpu type in kernel config ?
Message-ID:  <20120808010449.269b4e8b@gumby.homeunix.com>
In-Reply-To: <20120807232633.9ca51ca6.freebsd@edvax.de>
References:  <alpine.BSF.2.00.1208070941260.4007@wojtek.tensor.gdynia.pl> <201208071914.q77JEUKq022088@mail.r-bonomi.com> <20120807232633.9ca51ca6.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <wojtek@wojtek.tensor.gdynia.pl>
> > > To: Chris Hill <chris@monochrome.org>
> > > Cc: RW <rwmaillists@googlemail.com>, 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.








Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20120808010449.269b4e8b>