Subject: Re: Current build.sh release fail
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 07/07/2005 13:19:55
In article <bc8ff1fd0507070343170b4ea@mail.gmail.com>,
	Chavdar Ivanov <ci4ic4@gmail.com> writes:
> I wonder if this is to do with the gcc options in my /etc/mk.conf file
> (if that is at all consulted during the build - I don't know) -

Yes, it has, and yes they are used.

> .sinclude "/usr/pkg/share/mk/cpuflags.mk"

Enabling optimizations for a certain CPU variants is known to increase
the code size and therefore break the build of the boot floppies. And
the release will also not work on all the system types which
normally would be supported.

I recomment not to use such options for release builds but only for
builds of kernel and binaries used on the local machine.

> COPTS+=-pipe
> CFLAGS+=-pipe

IIRC this is known to work buggy.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/