Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 13:27:15 -0600
From:      "Donald J. O'Neill" <donaldj1066@fastmail.fm>
To:        Gert Cuykens <gert.cuykens@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make buildworld error
Message-ID:  <200501291327.16151.donaldj1066@fastmail.fm>
In-Reply-To: <ef60af0905012905557dfbe0ab@mail.gmail.com>
References:  <ef60af0905012900564bbadc55@mail.gmail.com> <ef60af0905012905512ef5583d@mail.gmail.com> <ef60af0905012905557dfbe0ab@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Saturday 29 January 2005 07:55 am, Gert Cuykens wrote:
> On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen 
<pharmsen@horizon.nl> 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.


help

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