From owner-freebsd-questions Thu Apr 17 15:17:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA10030 for questions-outgoing; Thu, 17 Apr 1997 15:17:53 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA10022 for ; Thu, 17 Apr 1997 15:17:48 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id PAA12639; Thu, 17 Apr 1997 15:17:43 -0700 (PDT) Date: Thu, 17 Apr 1997 15:17:43 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "Brad G. Parks" cc: questions@freebsd.org Subject: Re: Compiling 2.2.1 kernel on 2.1.5 system In-Reply-To: <9704171506.AA02265@turing> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 17 Apr 1997, Brad G. Parks wrote: > > I installed the 2.1.5 system from CD months ago and would > now like to build a 2.2.1 kernel. When I run `make` from > /usr/src/sys/compile/GENERIC I get the following result: > > cc -c -x assembler-with-cpp -DLOCORE -nostdinc -I- -I. -I../.. > -I../../../include -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DCD9660 > -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../i386/i386/locore.s > ../../i386/i386/locore.s: Assembler messages: > ../../i386/i386/locore.s:705: Error: bad register name ('%cr4') > ../../i386/i386/locore.s:707: Error: bad register name ('%cr4') > *** Error code 1 > > What am I missing? Where did I screw up? What processor(s) did you mark in config? You will probably need to update the assembler, gas, before you can compile. Note that 2.2.1 comes with 2.7.2.1 of gcc, and I'm guessing the code is expecting you to have that. I would highly suggest upgrading your box to 2.2.1 before trying to build 2.2.1 kernels on it. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major