Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 16:04:38 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andy Farkas <andyf@speednet.com.au>
Cc:        current@FreeBSD.ORG, phk@phk.freebsd.dk
Subject:   Re: Volunteer with genuine i386 cpu & lots of time wanted.
Message-ID:  <XFMail.20030227160438.jhb@FreeBSD.org>
In-Reply-To: <20030228060819.K33634-100000@hewey.af.speednet.com.au>

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

On 27-Feb-2003 Andy Farkas wrote:
> On Thu, 27 Feb 2003 phk@phk.freebsd.dk wrote:
> 
>> You need to compile a kernel with this
>>      "cpu I386_CPU"
>> in your config file.
>>
> 
> Seems you can't build a "cpu I386_CPU" only kernel! ie:
> 
># grep CPU GENERIC
> cpu             I386_CPU
>#cpu            I486_CPU
>#cpu            I586_CPU
>#cpu            I686_CPU
> 
># make buildkernel KERNCONF=GENERIC
> ...
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. -I/usr/src/sys
> -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica
> -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h
> -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2
> -ffreestanding -Werror  /usr/src/sys/i386/i386/identcpu.c
> cc1: warnings being treated as errors
> /usr/src/sys/i386/i386/identcpu.c: In function `printcpuinfo':
> /usr/src/sys/i386/i386/identcpu.c:145: warning: unused variable `brand'
> machine/specialreg.h: At top level:
> /usr/src/sys/i386/i386/identcpu.c:99: warning: `cpu_brand' defined but not used
> /usr/src/sys/i386/i386/identcpu.c:103: warning: `cpu_brandtable' defined but not used
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
>:(

Fixed.  Apparently people don't compile kernels for 80386's very often.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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