Subject: Re: -current kernel build fails
To: Ossi Herrala <oherrala@ees2.oulu.fi>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 02/21/2003 15:30:19
On Fri, Feb 21, 2003 at 05:24:40PM +0200, Ossi Herrala wrote:
> Hii
> 
> I get this while building todays -current kernel on i386:
> 
> /usr/tools/bin/i386--netbsdelf-gcc  -pipe -ffreestanding  -pipe -Werror -Wall -W
> no-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-pr
> ototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I/usr/src/sys/arch -
> I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/sr
> c/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:1769: 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
> *** [if_pcn.o] Error code 1
> 1 error

and mysteriously it will succeeded if you don't use -pipe. It also doesn't
matter whether you use PIPE_SOCKETPAIR or not.

Cheers,

Patrick