From owner-freebsd-current@FreeBSD.ORG Thu Dec 6 19:07:26 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 CFA3B16A41B for ; Thu, 6 Dec 2007 19:07:26 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 4D92C13C461 for ; Thu, 6 Dec 2007 19:07:26 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 173DFEB4EFA; Thu, 6 Dec 2007 21:07:25 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id F1B8615921C; Thu, 6 Dec 2007 21:07:24 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dcRjv2uWFod; Thu, 6 Dec 2007 21:07:24 +0200 (EET) Received: from ace.netcins.ceid.upatras.gr (vfppp079167010191.dsl.hol.gr [79.167.10.191]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 9127B159203; Thu, 6 Dec 2007 21:07:24 +0200 (EET) Received: by ace.netcins.ceid.upatras.gr (Postfix, from userid 1001) id A4C073F40F; Thu, 6 Dec 2007 21:07:22 +0200 (EET) Date: Thu, 6 Dec 2007 21:07:22 +0200 From: Nikos Ntarmos To: Jan Lentfer Message-ID: <20071206190722.GB55193@ace.netcins.ceid.upatras.gr> Mail-Followup-To: Jan Lentfer , freebsd-current@freebsd.org References: <4756BAD3.4060905@web.de> <20071206020033.GB83604@ace.netcins.ceid.upatras.gr> <47579348.3090709@web.de> <20071206065911.GA55397@ace.netcins.ceid.upatras.gr> <20071206161725.1wrnizqd0gcg44sk@neslonek.homeunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20071206161725.1wrnizqd0gcg44sk@neslonek.homeunix.org> Organization: NetCInS Lab., C.E.I.D., U. of Patras, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A Office-Phone: +30-2610-996919 Office-Fax: +30-2610-969011 GPS-Info: 38.31N, 21.82E User-Agent: mutt-ng/devel-r804 (FreeBSD) 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: Thu, 06 Dec 2007 19:07:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Dec 06, 2007 at 04:17:25PM +0100, Jan Lentfer wrote: > Hi Nikos, > > Zitat von Nikos Ntarmos : > >[...] > >1 1 0 623384 174992 43861 0 0 0 92 0 0 0 1299 138 347 43 57 0 > >>>>>Compilation break > >0 0 0 70200 711396 2515 0 0 0 136608 0 9 0 1257 453 281 9 91 0 > > ^^^^^^ ^^^^^^ > > > >Funny how 'avm' and 'fre' are lower/higher by almost the same amout your > >max dataseg is after the compilation break... Do you have a swap > >partition? If you do, perhaps you should try bumping kern.maxdsiz and > >kern.maxssiz in /boot/loader.conf and see what happens... (e.g. try with > >kern.maxdsiz="896M" and kern.maxssiz="256M" with 1G RAM and another 1G > >swap). Also, what is the value of kern.maxusers? > > > With your suggested settings it works now - thank you very much. > Compilation hasn't totally finished yet, but I got far past the point > where it broke off before. Still I find this quite strange behavior, > but this seems to be rather a gcc thing than a FBSD problem, right? gcc is quite the memory hog with higher optimization levels and the default data segment size limit is 512M, which proved to be inadequate for compiling gcc -Os. I wouldn't call this a bug of gcc or FBSD though; it's rather a system tuning thing... \n\n -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Nikos Ntarmos iD8DBQFHWEhqm6J1ac+VFgoRAo1QAJ0a97C0W2ymMyMB49Mw+B+1JYyzugCcCZP8 ocrSS1Jb+4ojMCS2Lpn+yVI= =+FI6 -----END PGP SIGNATURE-----