Subject: Re: GCC4 breaks i386 kernels compiled with -Os?
To: None <current-users@NetBSD.org>
From: Jonathan A. Kollasch <email@example.com>
Date: 06/14/2006 02:28:56
Content-Type: text/plain; charset=us-ascii
On Mon, Jun 05, 2006 at 10:12:27PM -0500, Jonathan A. Kollasch wrote:
> I'm inclined to believe, based on my previous experience with GCC's
> optimizer, and that INSTALL kernels are compiled with -Os, that GCC
> is not doing the right thing when told to optimize for size.
> Or, am I, as usual, doing something wrong?
Nope, almost certainly gcc.
I got around this with:
uild.sh -U -u -m i386 kernel=3DINSTALL
after setting up an override $MAKECONF with "COPTS+=3D -O2" in addition
to the stuff that was in the $MAKECONF that the original ./build.sh
release was run with.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
-----END PGP SIGNATURE-----