Re: Problems Building 7.0-Beta3 with -Os

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Thu, 06 Dec 2007 10:11:57 +0300
On Wed, 5 Dec 2007 15:16:28 -0800 David O'Brien wrote:

> > "Os" is not supported/tested/etc. From /usr/share/examples/etc/make.conf:

> While true..

> > -----
> > # CFLAGS controls the compiler settings used when compiling C code.
> > # Note that optimization settings other than -O and -O2 are not recommended

Hm, I've always have read that as other than "-O and -O2" are not
recommended. ;-)

> This is to warn against -O3 or -O0 (no opt).

If that's true than that note should be changed.

>  -Os is a collection of
> optimizations that is between -O1 and -O2.  That is -Os includes
> everything that -O1 does, and -O2 includes everything that -Os does.
> In otherwords:  -O1 < -Os < -O2   (properly)

> The reporter is having trouble with both -O2 and -Os, so that should not
> happen.

Yep, but at this case if I were a reporter I'd post an error log with
"-O2" option. ;-)


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Received on Thu Dec 06 2007 - 06:13:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC