Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2007 10:11:57 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        obrien@freebsd.org
Cc:        Jan Lentfer <Jan.Lentfer@web.de>, freebsd-current@freebsd.org
Subject:   Re: Problems Building 7.0-Beta3 with -Os
Message-ID:  <29845810@bb.ipt.ru>
In-Reply-To: <20071205231628.GA15765@dragon.NUXI.org> (David O'Brien's message of "Wed\, 5 Dec 2007 15\:16\:28 -0800")
References:  <4756BAD3.4060905@web.de> <95938867@bb.ipt.ru> <20071205231628.GA15765@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29845810>