Subject: Re: Superoptimizer!
To: Todd Vierling <tv@pobox.com>
From: Simon Burge <simonb@netbsd.org>
List: tech-pkg
Date: 05/11/1999 10:08:31
Todd Vierling wrote:

> Compiling the mysql-server pkg with CFLAGS+=-O3 -pipe in /etc/mk.conf, I
> see:
> 
> cc -O2 -O3 -pipe -Dunix -O3 -pipe -O3 -pipe -O3 -pipe -Dunix -O3 -pipe -O3
> -pipe ...
> 
> Wow.  Does that mean it's -O20?  ;)
> 
> Seriously speaking, as harmless as this is in practice, it seems that we
> aren't cleansing the make enviroment properly (...and that recursive makes
> should be *overriding* sub-makes' values for some variables).  And I had
> thought that this didn't happen a long time ago....

On a similar note, I've got a "make -k package" running from
pkgsrc/sysutils and when I did a "ps aux" I noticed that one
line has _8192_ "-k"s on it.  I'd guess it's doubling at each
make level.  Seems to be the same problem...

Simon.