From nobody@FreeBSD.ORG  Tue Jul 18 18:24:04 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 521C437B6E6; Tue, 18 Jul 2000 18:24:04 -0700 (PDT)
Message-Id: <20000719012404.521C437B6E6@hub.freebsd.org>
Date: Tue, 18 Jul 2000 18:24:04 -0700 (PDT)
From: key@purdue.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: 4.0-STABLE kernel compile dies
X-Send-Pr-Version: www-1.0

>Number:         20021
>Category:       kern
>Synopsis:       4.0-STABLE kernel compile dies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 18:30:00 PDT 2000
>Closed-Date:    Tue Jul 18 19:46:21 PDT 2000
>Last-Modified:  Tue Jul 18 19:50:01 PDT 2000
>Originator:     Kent Yoder
>Release:        4.0-STABLE
>Organization:
>Environment:
FreeBSD zarathustra 4.0-STABLE FreeBSD 4.0-STABLE #3: Sun Jun 18 17:05:16 GMT 2000     root@zarathustra:/usr/src/sys/compile/HERR_NIETZSCHE  i386

>Description:
4.0-STABLE kernel compile dies.  I have updated the stable source using
cvsup immediately before the compile, but to no avail.  Here is the 
relevant output from the kernel compile:

--------------------
su-2.03# make
[many files which compiled correctly are omitted]
cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -
fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL
 -include opt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/bioscal
l.s
/tmp/ccEc7898.s: Assembler messages:
/tmp/ccEc7898.s:773: Error: operands given don't match any known 386 instruction
/tmp/ccEc7898.s:838: Error: operands given don't match any known 386 instruction
*** Error code 1

Stop in /usr/src/sys/compile/HERR_NIETZSCHE.
su-2.03#
--------------------

The problem is not with my kernel config file, since it compiled correctly
on June 18.

>How-To-Repeat:
* cvsup the 4.0 stable source (RELENG_4) (I did it from cvsup3.freebsd.org)
* create your kernel config file
* cd ../../compile/KERNEL_NAME
* make clean
* make depend
* make
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Tue Jul 18 19:46:21 PDT 2000 
State-Changed-Why:  
Originator needs to install new Binutils first, and read 
src/UPDATING occassoinally I suppose.  :) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20021 

From: Will Andrews <andrews@technologist.com>
To: key@purdue.edu
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/20021: 4.0-STABLE kernel compile dies
Date: Tue, 18 Jul 2000 22:43:14 -0400

 On Tue, Jul 18, 2000 at 06:24:04PM -0700, key@purdue.edu wrote:
 > >Synopsis:       4.0-STABLE kernel compile dies
 
 Actually, 4.1-RC now.  :)
 
 > su-2.03# make
 > [many files which compiled correctly are omitted]
 > cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs 
 > -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -
 > fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL
 >  -include opt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/bioscal
 > l.s
 > /tmp/ccEc7898.s: Assembler messages:
 > /tmp/ccEc7898.s:773: Error: operands given don't match any known 386 instruction
 > /tmp/ccEc7898.s:838: Error: operands given don't match any known 386 instruction
 > *** Error code 1
 
 We over at PHYS encountered the same problem trying to upgrade one of
 our RELENG_4 systems.  The problem is caused by not having the new
 Binutils 2.10.0, which supports those 386 instructions, installed
 beforehand.  Simple solution is to run ``make install'' in /usr/src/gnu
 before trying a kernel build.  This is normally covered by an
 installworld.
 
 Take care,
 
 -- 
 Will Andrews <andrewsw@purdue.edu> <will@FreeBSD.org>
 GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
 ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
 G++>+++ e->++++ h! r-->+++ y?
 
>Unformatted:
