Subject: Re: -current kernel build fails
To: Ossi Herrala <oherrala@ees2.oulu.fi>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: current-users
Date: 02/21/2003 16:30:08
--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
On Fri, Feb 21, 2003 at 05:24:40PM +0200, Ossi Herrala wrote:
>=20
> I get this while building todays -current kernel on i386:
>=20
> /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=3D32 -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:1769: internal error--unrecognizable insn:
> (insn 644 643 646 (set (reg:SI 170)
> (unspec:SI[=20
> (const_int 512 [0x200])
> ] 5)) -1 (nil)
> (nil))
> cpp0: output pipe has been closed
> *** [if_pcn.o] Error code 1
> 1 error
this should be a FAQ :). you are missing -O2 in your CFLAGS. you need
to add it along with -pipe to your /etc/mk.conf, otherwise you override
the system default setting.
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+VkX/iwjDDlS8cmMRAsLNAJwNaLE9L0vNpaVVj1Fy3fNKe8NY5QCeOpFe
wLKM6mkJKXAT87tqiDgSbMc=
=3cDw
-----END PGP SIGNATURE-----
--vtzGhvizbBRQ85DL--