From owner-freebsd-current@FreeBSD.ORG Thu Dec 6 07:13:37 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E61DC16A417 for ; Thu, 6 Dec 2007 07:13:37 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 9D34113C44B for ; Thu, 6 Dec 2007 07:13:37 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1J0AvP-000Dev-Sl; Thu, 06 Dec 2007 10:13:35 +0300 To: obrien@freebsd.org References: <4756BAD3.4060905@web.de> <95938867@bb.ipt.ru> <20071205231628.GA15765@dragon.NUXI.org> From: Boris Samorodov Date: Thu, 06 Dec 2007 10:11:57 +0300 In-Reply-To: <20071205231628.GA15765@dragon.NUXI.org> (David O'Brien's message of "Wed\, 5 Dec 2007 15\:16\:28 -0800") Message-ID: <29845810@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Lentfer , freebsd-current@freebsd.org Subject: Re: Problems Building 7.0-Beta3 with -Os X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 07:13:38 -0000 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