From owner-freebsd-bugs Fri Jun 30 20:40:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 761A837B84B for ; Fri, 30 Jun 2000 20:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA09198; Fri, 30 Jun 2000 20:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id ABEDA37BF58; Fri, 30 Jun 2000 20:34:48 -0700 (PDT) Message-Id: <20000701033448.ABEDA37BF58@hub.freebsd.org> Date: Fri, 30 Jun 2000 20:34:48 -0700 (PDT) From: patrick@kessen.yi.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/19615: cannot build current kernel (30-june-2000) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19615 >Category: kern >Synopsis: cannot build current kernel (30-june-2000) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 30 20:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Patrick Kessen >Release: 4.0-20000608-stable >Organization: >Environment: FreeBSD kessen.yi.org 4.0-20000608-STABLE FreeBSD 4.0-20000608-STABLE #0: Tue Jun 27 02:51:03 CEST 2000 admin@gateway.kessen.home:/usr/src/sys/compile/GATEWAY i386 >Description: I got the current kernel sourcetree from ftp.freebsd.org (30-june-2000) and I set-up a configfile. after make depend and copying the /usr/src/sys/crypto dir from an older kerneltree (it was missing in the current one and without it the kernel doesn't compile, see earlier reported prob) I started make. I get the following error: cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmis sing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -a nsi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/bios.c cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wst rict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERN EL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/bioscall.s /tmp/cca13049.s: Assembler messages: /tmp/cca13049.s:773: Error: operands given don't match any known 386 instruction /tmp/cca13049.s:838: Error: operands given don't match any known 386 instruction *** Error code 1 Stop in /usr/src/sys/compile/GATEWAY. >How-To-Repeat: get the current kernel sources, copy the crypto/blowfish over from your old /usr/src/sys dir and make a kernel config file and build it. >Fix: I copied the src/sys/i386/i386/bioscall.s file from my original srctree to the current tree. I did a diff check between the current and the 4.0-20000608-stable one that I now use and the output is: root@kessen / > diff bioscall.old bioscall.new 26c26 < * $FreeBSD: src/sys/i386/i386/bioscall.s,v 1.6 1999/08/28 00:43:41 peter Exp $ --- > * $FreeBSD: src/sys/i386/i386/bioscall.s,v 1.7 2000/05/22 17:02:53 obrien Exp $ 68c68 < lcall _bioscall_vector --- > lcall *_bioscall_vector 133c133 < lcall _bioscall_vector /* 16-bit call */ --- > lcall *_bioscall_vector /* 16-bit call */ hmm. I don't see a problem, maybe I used diff wrongly but this solves the problem anyway. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message