Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 05:03:30 +0900
From:      Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
To:        freebsd-stable@FreeBSD.org
Subject:   CPUTYPE flag of 4.3-BETA
Message-ID:  <20010321050330K.koya@pluto.math.yokohama-cu.ac.jp>

next in thread | raw e-mail | index | archive | help
Hello, 

I have a question about CPUTYPE of 4.3-BETA.
My environment is

FreeBSD presario.my.domain 4.3-BETA FreeBSD 4.3-BETA #0: \
Thu Mar 15 13:09:40 JST 2001     \
root@presario.my.domain:/usr/obj/usr/src/sys/presario  i386

I cvsup'd at Tue Mar 20 10:14:12 UTC 2001. 
I also set CPUTYPE flag as CPUTYPE=k6-2 in my /etc/make.conf.
And I did make world and make buildkernel.
Usual commands like cc or csh were compiled with the flag:
For example, I had
 
===> cc1
cc -O -pipe -march=k6 -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\"/usr/obj/usr/src/i386/usr\" 
-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I.
-I/usr/obj/usr/src/i386/usr/include 
-c /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lang.c

However, in the case which I did make buildkernel, I had 
something like:

cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I- -I.
-I/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL
-include opt_global.h -elf  -mpreferred-stack-boundary=2 
/usr/src/sys/kern/kern_descrip.c

Please note that there is no -march=6k in that session.
On the other hand, when I made kernel modules, I obtained again
as follows:

===> wi
cc -O -pipe -march=k6  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions
-ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I@/../include 
-mpreferred-stack-boundary=2 -c /usr/src/sys/modules/wi/../../i386/isa/if_wi.c

Is it correct behavior of the standard make world/buildkernel on 4.3-BETA?
Or, does something go wrong?

I also set the same flag as CPUTYPE=k6-2 for -current box
(the box is actually dual boot one).
When I make world/buildkernel for -current, I always see
-march=k6 flag, however.

koya

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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