From owner-freebsd-current@FreeBSD.ORG Wed Dec 5 23:16:30 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 C69B816A41B for ; Wed, 5 Dec 2007 23:16:30 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id AAC7013C455 for ; Wed, 5 Dec 2007 23:16:30 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id lB5NGTo2016043; Wed, 5 Dec 2007 15:16:29 -0800 (PST) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.1/8.14.1/Submit) id lB5NGSsR016042; Wed, 5 Dec 2007 15:16:28 -0800 (PST) (envelope-from obrien) Date: Wed, 5 Dec 2007 15:16:28 -0800 From: "David O'Brien" To: Boris Samorodov Message-ID: <20071205231628.GA15765@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Boris Samorodov , Jan Lentfer , freebsd-current@freebsd.org References: <4756BAD3.4060905@web.de> <95938867@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <95938867@bb.ipt.ru> X-Operating-System: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) 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 Reply-To: obrien@freebsd.org 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 23:16:30 -0000 On Wed, Dec 05, 2007 at 07:06:52PM +0300, Boris Samorodov wrote: > On Wed, 05 Dec 2007 15:50:59 +0100 Jan Lentfer wrote: > > I am having problems compiling 7.0-Beta3 on my VIA C7 system with 1 > > GIG of RAM. > > The problem seems to be the memory consumption so I turned off all > > larger processes. This is what happens: What does swapinfo say? Run top (1sec) or 'systat -vm 1' and see if that gives some indication. > > ===> gnu/usr.bin/cc/libdecnumber (all) > > ===> gnu/usr.bin/cc/cc_int (all) > > cc -Os -pipe -DIN_GCC -DHAVE_CONFIG_H > > "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 This is to warn against -O3 or -O0 (no opt). -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. -- -- David (obrien@FreeBSD.org)