Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 12:07:44 +0200
From:      "Niclas Zeising" <niclas.zeising@gmail.com>
To:        zen <zen@tk-pttuntex.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: make buildworld error on am64
Message-ID:  <bc292860704040307sb127bd7mc08024414e135f57@mail.gmail.com>
In-Reply-To: <46137729.1050007@tk-pttuntex.com>
References:  <46137104.70207@tk-pttuntex.com> <bc292860704040242j51d23cfer8ee4ec86d7507a28@mail.gmail.com> <46137729.1050007@tk-pttuntex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/4/07, zen <zen@tk-pttuntex.com> wrote:
> Niclas Zeising wrote:
>
> > On 4/4/07, zen <zen@tk-pttuntex.com> wrote:
> >
> >> hi ,
> >> sorry to bother you again,
> >> i'm trying updating my machine to 6.2STABLE,
> >
> >
> > [snip error log]
> >
> >>
> >> the box was fresh install from 6.2RELEASE, and was build on am64 arch.
> >> it has 4Gigs RAM and amd64 X2 AM2 socket.
> >>
> >> could you  tell me how to resolve this problem?
> >>
> >>
> >> TIA
> >> Zen
> >
> >
> > What's in your /etc/make.conf? It seems to me you have set cputype to
> > a faulty value...
> > HTH!
> > //Niclas
> >
> this is my /etc/make.conf
>
> CFLAGS= -O -pipe
> NOPROFILE= true
> USA_RESIDENT= yes
> CPUTYPE=amd64
> NO_PROFILE=yes
>
> TIA
>
> Zen
>

That explains why the build blowes up. Valid options for CPUTYPE are:
#   AMD64 architecture: opteron, athlon64, nocona, prescott, core2
Depending on your CPU.

Also, be aware that it's best to add cputype as CPUTYPE?=, so
makefiles can change the cpu-type if need be.
Have a look at src/share/examples/etc/make.conf and make.conf(5) for
further explanations and options to put in your make.conf.
HTH!
//Niclas
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc292860704040307sb127bd7mc08024414e135f57>