Subject: Re: Problem building 1.6.2 kernel
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: GuRU <guru@beastie.nscl.msu.edu>
List: port-i386
Date: 04/15/2004 13:04:36
Out of da blue Lubomir Sedlacik aka (salo@Xtrmntr.org) said:
> hi,
> 
> On Thu, Apr 15, 2004 at 12:17:40PM -0400, GuRU wrote:
> > I've been encountering a problem building a 1.6.2 kernel on P200.  I
> > keep getting the following error while building the kernel:
> > 
> > /usr/tools/bin/i386--netbsdelf-gcc  -pipe -ffreestanding -g -pipe -Werror
> > -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> > -Wstrict-prototypes -Wno-uninitialized  -Di386 -I.  -I../../../../arch
> > -I../../../.. -nostdinc -DLKM -DIPSEC_DEBUG -DMAXUSERS=64 -D_KERNEL
> > -D_KERNEL_OPT   -c ../../../../dev/pci/if_pcn.c
> > ../../../../dev/pci/if_pcn.c: In function `pcn_init':
> > ../../../../dev/pci/if_pcn.c:1768: internal error--unrecognizable insn:
> > (insn 643 642 645 (set (reg:SI 170)
> >         (unspec:SI[ 
> >                 (const_int 512 [0x200])
> >             ]  5)) -1 (nil)
> >     (nil))
> > *** Error code 1
> > 
> > Stop.
> > nbmake: stopped in /sys/arch/i386/compile/WOYAYA
> 
> this is really a FAQ.  search archives for duplicates.
Oops!  =:)

> 
> it's a bug in gcc2 optimizer, you shot yourself in the foot with
> improper use of CFLAGS/COPTS in /etc/mk.conf.
Oki.  I'll fix my mk.conf.  Thanks for the pointer.

> 
> 
> regards,
> 
> -- 
> -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --


#:D
-- 
guru <guru@beastie.nscl.msu.edu>       (,.)
http://www.msu.edu/~ikhala           \\\00 )
Driven by NetBSD                       \= )
                                       cc_|\_,^