Subject: Re: kern/21311: Generic kernel doesnt compile in 1.6.1_STABLE
To: None <mipam@ibb.net>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 04/24/2003 23:41:51
hi,
On Thu, Apr 24, 2003 at 11:35:50PM +0200, mipam@ibb.net wrote:
>
> GENERIC kernel doesnt compile. I renamed GENERIC to Mipam.GENERIC
>
> /usr/src/tools/obj/tools.NetBSD-1.6.1_STABLE-i386/bin/i386--netbsdelf-gcc
> -ffreestanding -pipe -Werror -Wall -Wno-main -Wno-format-zero-length
> -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
> -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../..
> -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
> /sys/arch/i386/compile/Mipam.GENERIC/../../../../dev/pci/if_pcn.c
> /sys/arch/i386/compile/Mipam.GENERIC/../../../../dev/pci/if_pcn.c: In
> function `pcn_init':
> /sys/arch/i386/compile/Mipam.GENERIC/../../../../dev/pci/if_pcn.c:1768:
> internal error--unrecognizable insn:
> (insn 644 643 646 (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/Mipam.GENERIC
this is a known gcc bug. you changed COPTS or CFLAGS in your mk.conf
and forgot to add -O2.
regards,
--
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --