From owner-freebsd-current@FreeBSD.ORG Wed Dec 5 14:51:24 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 C1D2616A418 for ; Wed, 5 Dec 2007 14:51:24 +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 55E4B13C474 for ; Wed, 5 Dec 2007 14:51:24 +0000 (UTC) (envelope-from Jan.Lentfer@web.de) Received: from [195.4.92.18] (helo=8.mx.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1Izvat-0005vC-DB for freebsd-current@freebsd.org; Wed, 05 Dec 2007 15:51:23 +0100 Received: from p54b0ec1b.dip.t-dialin.net ([84.176.236.27]:63296 helo=epia.lan.net) by 8.mx.freenet.de with esmtpa (ID jan.lentfer@freenet.de) (port 25) (Exim 4.68 #1) id 1Izvat-0004wj-7N for freebsd-current@freebsd.org; Wed, 05 Dec 2007 15:51:23 +0100 Received: from localhost (localhost [127.0.0.1]) by epia.lan.net (Postfix) with ESMTP id 4EACB8ACAE for ; Wed, 5 Dec 2007 15:51:22 +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 FjX80R55Iuwn for ; Wed, 5 Dec 2007 15:51:01 +0100 (CET) Received: from [10.93.75.6] (unknown [10.93.75.6]) by epia.lan.net (Postfix) with ESMTP id 0EAFA8A02D for ; Wed, 5 Dec 2007 15:51:00 +0100 (CET) Message-ID: <4756BAD3.4060905@web.de> Date: Wed, 05 Dec 2007 15:50:59 +0100 From: Jan Lentfer User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 05 Dec 2007 15:08:50 +0000 Subject: 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 14:51:24 -0000 Dear List, 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: ===> gnu/usr.bin/cc/libdecnumber (all) ===> gnu/usr.bin/cc/cc_int (all) cc -Os -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/RELENG_7/src/tmp/usr\" -I/usr/obj/usr/RELENG_7/src/tmp/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber -I/usr/obj/usr/RELENG_7/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c cc1: out of memory allocating 136475392 bytes *** Error code 1 Stop in /usr/RELENG_7/src/gnu/usr.bin/cc/cc_int. *** Error code 1 Stop in /usr/RELENG_7/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/RELENG_7/src. *** Error code 1 Stop in /usr/RELENG_7/src. *** Error code 1 Stop in /usr/RELENG_7/src. Compliation works while only using "-O" optimization level. -O2 and -Os both break with this. It used to work in 6.2, though. This is the output of vmstat 1: procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 da0 in sy cs us sy id 2 1 0 221236 567308 538 0 0 0 0 0 0 0 1271 175 292 95 5 0 1 1 0 221236 567292 4 0 0 0 4 0 8 0 1301 153 359 98 2 0 1 1 0 221236 567276 4 0 0 0 0 0 0 0 1310 135 369 98 2 0 1 1 0 221132 567404 0 0 0 0 32 0 0 0 1283 153 313 98 2 0 1 1 0 221132 567404 0 0 0 0 0 0 5 0 1290 135 320 95 5 0 1 1 0 221132 567404 0 0 0 0 8 0 53 0 1355 135 514 98 2 0 1 1 0 221132 567404 0 0 0 0 0 0 0 0 1303 142 356 98 2 0 2 1 0 221132 567404 0 0 0 0 0 0 0 0 1291 135 325 98 2 0 1 1 0 221708 566972 108 0 0 0 0 0 0 0 1307 142 359 98 2 0 1 1 0 221964 566716 64 0 0 0 0 0 0 0 1288 143 326 98 2 0 1 1 0 222476 566204 128 0 0 0 0 0 1 0 1278 136 305 98 2 0 1 1 0 252300 536584 7456 0 0 0 58 0 0 0 1314 141 378 88 12 0 1 1 0 222804 566108 0 0 0 0 7381 0 0 0 1286 136 302 97 3 0 1 1 0 489972 350200 54007 0 0 0 95 0 0 0 1288 155 320 37 63 0 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 0 0 0 70200 711396 0 0 0 0 3 0 3 0 1296 135 341 0 32 68 0 0 0 70200 711396 0 0 0 0 0 0 0 0 1324 135 397 0 2 98 0 0 0 70200 711396 0 0 0 0 0 0 0 0 1299 142 348 0 2 98 0 0 0 70200 711396 0 0 0 0 0 0 0 0 1300 135 349 0 2 98 0 0 0 70200 711396 0 0 0 0 0 0 0 0 1310 135 367 0 2 98 0 0 0 70200 711396 0 0 0 0 0 0 0 0 1295 142 339 0 2 98 Since I am not subscribed could you please also answer via private mail, thanks a lot in advance. Jan Lentfer