From owner-freebsd-stable Tue Mar 20 11:56:37 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mgate11.so-net.ne.jp (mgate11.so-net.ne.jp [210.139.254.158]) by hub.freebsd.org (Postfix) with ESMTP id 6995A37B71D for ; Tue, 20 Mar 2001 11:56:33 -0800 (PST) (envelope-from ipfw@ya3.so-net.ne.jp) Received: from mail.ya3.so-net.ne.jp (mspool11.so-net.ne.jp [210.139.248.11]) by mgate11.so-net.ne.jp (8.9.3/3.7W01031514) with ESMTP id EAA20914 for ; Wed, 21 Mar 2001 04:56:32 +0900 (JST) Received: from localhost (pd5cee2.kngwnt01.ap.so-net.ne.jp [202.213.206.226]) by mail.ya3.so-net.ne.jp (8.9.3/3.7W01022316) with ESMTP id EAA14497 for ; Wed, 21 Mar 2001 04:56:31 +0900 (JST) To: freebsd-stable@FreeBSD.org Subject: CPUTYPE flag of 4.3-BETA From: Yoshihiro Koya X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010321050330K.koya@pluto.math.yokohama-cu.ac.jp> Date: Wed, 21 Mar 2001 05:03:30 +0900 X-Dispatcher: imput version 990905(IM130) Lines: 55 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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