From owner-freebsd-questions@FreeBSD.ORG Sat Jan 29 19:33:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB2A316A4CE for ; Sat, 29 Jan 2005 19:33:17 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E54043D46 for ; Sat, 29 Jan 2005 19:33:17 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id f1so631024rne for ; Sat, 29 Jan 2005 11:33:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Rt7XL1s9MnQjfLiQGfCcNxZi5FU9JgbBBZS1/nUljyS195pFc4atp93zaeppzrQUm1h4RaV1fhq169KGU9ZUZ8AyIbAwnqEhdTqoZ4oSEN0POpb3zpMmK1YhO6rm3if1qXVsdmPDwYwk1u5sEoiYp4hb5XnStuxHiY8Vgd+zRLU= Received: by 10.38.207.3 with SMTP id e3mr6610rng; Sat, 29 Jan 2005 11:33:12 -0800 (PST) Received: by 10.38.74.6 with HTTP; Sat, 29 Jan 2005 11:33:12 -0800 (PST) Message-ID: Date: Sat, 29 Jan 2005 20:33:12 +0100 From: Gert Cuykens To: "Donald J. O'Neill" In-Reply-To: <200501291327.16151.donaldj1066@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200501291327.16151.donaldj1066@fastmail.fm> cc: freebsd-questions@freebsd.org Subject: Re: make buildworld error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 19:33:18 -0000 On Sat, 29 Jan 2005 13:27:15 -0600, Donald J. O'Neill wrote: > On Saturday 29 January 2005 07:55 am, Gert Cuykens wrote: > > On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen > wrote: > > > Seems to me you specified amd64 in /etc/makeconf. > > > If i remember correctly from some posts ago this is obsolete. > > > You can however switch to 32-bit mode by specifying athlon-xp. > > > Otherwise everything should be auto detected by gcc. > > > > why is this obsolete it always worked that way ? > > Gert, > > I had not seen this post until now, and I'm not sure about the question > your asking about. > > It seems to me, he is saying that using "CPUTYPE=?amd64" in your > make.conf is obsolete. > > Your error message would seem to confirm ths > > cc -O -pipe -march=amd64 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR > -finhibit-size-directive -fno-inline-functions -fno-exceptions > -fno-zero-initialized-in-bss -fno-omit-frame-pointer > -fno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config > -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. > -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools -g0 -DCRT_BEGIN -c > -o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c > /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad > value (amd64) for -march= switch > /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad > value (amd64) for -mtune= switch > *** Error code 1 > > You see the bottom 4 lines? I see a "bad value (amd64) for -march= > switch" and a "bad (amd64) for -mtune= switch" . Try changing you > make.conf file to use "CPUTYPE=?hammer", if that works go on to the > next step. If it fails, see if you've got a similar error message. > > Try removing "CPUTYPE=?< whaterver you now > from your make.conf file. > This is probably the way that will work. > > Please, send me this information, I need to know! > What is the supfile you're using? > Have you done a recent cvsup? > Did you dump the refuse file? Please do so if you haven't already, it > takes care of a lot of cvsup problems. > Have you ever done a successful buildworld sequence on the computer? > > Don > > -- > Donald J. O'Neill > donaldj1066@fastmail.fm > > I'm not totally useless, > I can be used as a bad example. > yep i did it a few times before i could build world and kernel without any troubles. the world i am now using is done that way 7rxI# uname -a FreeBSD 7rxI 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Nov 30 11:49:43 CET 2004 root@7rxI:/usr/obj/usr/src/sys/gert amd64 7rxI#