Subject: Re: Using -O2 to build NetBSD/vax.
To: Todd Whitesel <toddpw@best.com>
From: Anders Magnusson <ragge@ludd.luth.se>
List: port-vax
Date: 02/12/2000 12:13:17
> I noticed that vax uses -O to build userland and not -O2.
> 
> The _reason_ I noticed is because with 1.4.2_ALPHA of 20000120,
> dist/ipf/ipmon.c compiles with -O2 but fails with -O .
> It gets a hideously large unrecognized insn in main().
> 
> Does vax get built with -O because -O2 takes too long to compile,
> or because other files don't get compiled right?
> 
The vax code must be built with -O2, exactly as you discovered :-)
Looking at the sys.mk file shows that it should use -O2 by default
since 1999/11/15, when Matt added it :-)

-- Ragge