kern/118121: RELENG_7 kernel compile fails with -Os

Bruce Evans brde at
Mon Nov 19 22:15:23 PST 2007

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.


More information about the freebsd-bugs mailing list