Subject: Error during build of system; possible PR#18271
To: None <netbsd-users@netbsd.org>
From: Ian Thomas <ipthomas@mac.com>
List: netbsd-users
Date: 06/18/2003 11:35:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	After updating my 1.6.1 sources using CVS to include any new security 
or bug fixes

cvs update -dP

  I went ahead and attempted to build the system doing the following

./build.sh -d -O /usr/src/obj -D /usr/src/dest -R /usr/src/release

	I woke up to this error message,

/usr/src/sys/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 /usr/src/obj/sys/arch/i386/compile
GENERIC
*** Error code 1

	I found this using Google

http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=18271

	I have a Pentium 233 and I have cpuflags installed.  I take it that 
this means -march=pentium is being used during the build.  The PR18271 
mentions a pentiumpro, but it seems that my experience would mirror 
this PR.  In order to include -O as a compiler directive, should I put 
something like

COPTS+=-O

	in /etc/mk.conf?  The PR mentions adding this flag in order to get the 
specific part of the GENERIC kernel to compile.

Ian Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+8Ias2h8cNYpdcuoRAvKxAJ9btmnaDfOlG3zqmFWZ3KvlvAcwrgCcChuV
O+ClkT4gqz4ievV1moHF/tU=
=Vad4
-----END PGP SIGNATURE-----