Subject: Re: Current build.sh release fail
To: None <current-users@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 07/07/2005 13:19:55
In article <firstname.lastname@example.org>,
Chavdar Ivanov <email@example.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.
IIRC this is known to work buggy.
Matthias Scheler http://scheler.de/~matthias/