From owner-freebsd-questions@FreeBSD.ORG Sat Jan 29 19:27:45 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 37BE316A4CE for ; Sat, 29 Jan 2005 19:27:45 +0000 (GMT) Received: from smtp809.mail.sc5.yahoo.com (smtp809.mail.sc5.yahoo.com [66.163.168.188]) by mx1.FreeBSD.org (Postfix) with SMTP id E182D43D46 for ; Sat, 29 Jan 2005 19:27:43 +0000 (GMT) (envelope-from donaldj1066@fastmail.fm) Received: from unknown (HELO pres7000.mylan.net) (donaldj@ameritech.net@69.212.18.245 with plain) by smtp809.mail.sc5.yahoo.com with SMTP; 29 Jan 2005 19:27:43 -0000 From: "Donald J. O'Neill" To: Gert Cuykens Date: Sat, 29 Jan 2005 13:27:15 -0600 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 19:27:45 -0000 On Saturday 29 January 2005 07:55 am, Gert Cuykens wrote: > On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen=20 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=20 your asking about.=20 It seems to me, he is saying that using "CPUTYPE=3D?amd64" in your=20 make.conf is obsolete. Your error message would seem to confirm ths cc -O -pipe -march=3Damd64 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR =2Dfinhibit-size-directive -fno-inline-functions =A0-fno-exceptions =2Dfno-zero-initialized-in-bss =A0-fno-omit-frame-pointer =2Dfno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config =2DI/usr/src/gnu/lib/csu/../../../contrib/gcc -I.=20 =2DI/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools =A0-g0 -DCRT_BEGIN =A0-c =2Do 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=3D switch /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad value (amd64) for -mtune=3D switch *** Error code 1 You see the bottom 4 lines? I see a "bad value (amd64) for -march=3D=20 switch" and a "bad (amd64) for -mtune=3D switch" . Try changing you=20 make.conf file to use "CPUTYPE=3D?hammer", if that works go on to the=20 next step. If it fails, see if you've got a similar error message. Try removing "CPUTYPE=3D?< whaterver you now > from your make.conf file.=20 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=20 takes care of a lot of cvsup problems. Have you ever done a successful buildworld sequence on the computer? Don =2D-=20 Donald J. O'Neill donaldj1066@fastmail.fm I'm not totally useless, I can be used as a bad example.