Subject: Re: Error during build of system; possible PR#18271
To: Ian Thomas <ipthomas@mac.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-users
Date: 06/18/2003 16:42:33
On Wed, Jun 18, 2003 at 11:35:02AM -0400, Ian Thomas wrote:
> ./build.sh -d -O /usr/src/obj -D /usr/src/dest -R /usr/src/release
> /usr/src/sys/dev/pci/if_pcn.c:1768: internal error--unrecognizable insn:
> 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.
From memory, I thought the bug went away with -O2 - will any -O do the trick?
(I have COPTS+=-pipe -O2 in my /etc/mk.conf)
Cheers,
Patrick