Subject: dev/pci/if_pcn.c won't compile
To: None <current-users@netbsd.org>
From: Brian Stark <bpstark@pacbell.net>
List: current-users
Date: 10/19/2002 18:24:07
Hi,

I have NetBSD-current sources from yesterday (oct. 18) and building
a release is failing.

The commands I'm running are:

   cd /usr/src
   ./build.sh -R /usr/local/release

The error is:

/usr/src/tools/obj.i386/tools.NetBSD-1.6G-i386/bin/i386--netbsdelf-gcc
-ffreest
anding  -march=pentium -pipe -Werror -Wall -Wno-main
-Wno-format-zero-length -Wp
ointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized
-Di386
 -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32
-D_KERNEL
 -D_KERNEL_OPT   -c /usr/src/sys/dev/pci/if_pcn.c
/usr/src/sys/dev/pci/if_pcn.c: In function `pcn_init':
/usr/src/sys/dev/pci/if_pcn.c:1767: internal error--unrecognizable insn:
(insn 644 643 646 (set (reg:SI 170)
        (unspec:SI[
                (const_int 512 [0x200])
            ]  5)) -1 (nil)
    (nil))
cpp0: output pipe has been closed
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/i386/compile/GENERIC
*** Error code 1

Stop.
nbmake: stopped in /usr/src/etc
*** Error code 1

Stop.
nbmake: stopped in /usr/src
rainforest:{root}#


My version of if_pcn.c is 1.14, which is the latest as I write this.
Anyone else seeing this? Could I be doing something wrong?

My system is:

rainforest:{root}# uname -a
NetBSD rainforest.private.net 1.6G NetBSD 1.6G (CALLISTO) #0: Thu Sep  5
22:39:59 PDT 2002
bstark@rainforest.private.net:/usr/src/sys/arch/i386/compile/CALLISTO i386
rainforest:{root}#

thanks,

Brian Stark
bpstark at pacbell dot net