Date: Tue, 20 Nov 2007 17:14:49 +1100 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Heikki Suonsivu <hsu@bbnetworks.net> Cc: freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/118121: RELENG_7 kernel compile fails with -Os Message-ID: <20071120171444.U820@besplex.bde.org> In-Reply-To: <200711190511.lAJ5BFdh020851@joutseno.wlansystems.com> References: <200711190511.lAJ5BFdh020851@joutseno.wlansystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Nov 2007, Heikki Suonsivu wrote: >> Description: > > When compiling kernel with -Os, gcc apparently finds some new > possible warnings (possible uninitialized variables, etc). This exits > kernel compile. -O2 does not trigger these. > > scsi_sa and scsi_ses were among the offending files, but there > may be more. -Os is also a large negative optimization (it increases size by about 50%) in RELENG_7 (or probably just with gcc-4), due to bogus inlining flags. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071120171444.U820>