Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 10:10:03 GMT
From:      Bruce Evans <brde@optusnet.com.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/118121: RELENG_7 kernel compile fails with -Os
Message-ID:  <200711201010.lAKAA321015160@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/118121; it has been noted by GNATS.

From: Bruce Evans <brde@optusnet.com.au>
To: Heikki Suonsivu <hsu@bbnetworks.net>
Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org
Subject: Re: kern/118121: RELENG_7 kernel compile fails with -Os
Date: Tue, 20 Nov 2007 17:14:49 +1100 (EST)

 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?200711201010.lAKAA321015160>