From owner-freebsd-current@FreeBSD.ORG Wed Dec 5 16:37:52 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 27A2A16A418 for ; Wed, 5 Dec 2007 16:37:52 +0000 (UTC) (envelope-from Jan.Lentfer@web.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id AD3ED13C459 for ; Wed, 5 Dec 2007 16:37:51 +0000 (UTC) (envelope-from Jan.Lentfer@web.de) Received: from [195.4.92.11] (helo=1.mx.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1IzxFt-0003HG-Cq; Wed, 05 Dec 2007 17:37:49 +0100 Received: from p54b0ec1b.dip.t-dialin.net ([84.176.236.27]:63438 helo=epia.lan.net) by 1.mx.freenet.de with esmtpa (ID jan.lentfer@freenet.de) (port 25) (Exim 4.68 #1) id 1IzxFt-0001OQ-90; Wed, 05 Dec 2007 17:37:49 +0100 Received: from localhost (localhost [127.0.0.1]) by epia.lan.net (Postfix) with ESMTP id 258FF8B4FC; Wed, 5 Dec 2007 17:37:48 +0100 (CET) X-Virus-Scanned: amavisd-new at lan.net Received: from epia.lan.net ([127.0.0.1]) by localhost (mail.lan.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B87AS5taxg7H; Wed, 5 Dec 2007 17:37:37 +0100 (CET) Received: from [10.93.75.6] (unknown [10.93.75.6]) by epia.lan.net (Postfix) with ESMTP id 961748A02D; Wed, 5 Dec 2007 17:37:36 +0100 (CET) Message-ID: <4756D3CF.1020206@web.de> Date: Wed, 05 Dec 2007 17:37:35 +0100 From: Jan Lentfer User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Boris Samorodov References: <4756BAD3.4060905@web.de> <95938867@bb.ipt.ru> In-Reply-To: <95938867@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 05 Dec 2007 17:12:24 +0000 Cc: 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: Wed, 05 Dec 2007 16:37:52 -0000 Boris Samorodov wrote: > "Os" is not supported/tested/etc. From /usr/share/examples/etc/make.conf: > ----- > # CFLAGS controls the compiler settings used when compiling C code. > # Note that optimization settings other than -O and -O2 are not recommended > # or supported for compiling the world or the kernel - please revert any > # nonstandard optimization settings to "-O" or "-O2 -fno-strict-aliasing" > # before submitting bug reports without patches to the developers. > ----- > > > WBR > Hi Boris, yes I know, but "-O2 -fno-strict-aliasing" should be supported, if I understand correctly. According to gcc manual -Os is the same as -O2 but without the optimizations known to produce large memory footprint. I also tested -Os -fno-strict-aliasing and it shows the same behavior. I am also happy with just using -O(1), just wanted to let someone know that 7.0 works different for me than 6.2 Kind Regards, Jan