Problems Building 7.0-Beta3 with -Os
Boris Samorodov
bsam at ipt.ru
Wed Dec 5 23:13:38 PST 2007
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
More information about the freebsd-current
mailing list