From owner-freebsd-current@FreeBSD.ORG Sat Jun 16 22:28:50 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFBB816A400 for ; Sat, 16 Jun 2007 22:28:50 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 99C0D13C44B for ; Sat, 16 Jun 2007 22:28:50 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so1700087waf for ; Sat, 16 Jun 2007 15:28:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=apENjS13+APCQvQ6zN+3lRWlcwD+VajAL1OheRIKCMh8YAy9sz7wyCzVI0IhMrE2Mm1h+2TImFxV3Sy8Ba3AUSrs5V79xDy/LDBQ75b3VBXpT4zTFF8PTjoiqd9Cqnf49+Lk3zwZKWyOGiFxyrjZqLivr4n/IDqT0wV8rsvej7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jQj5ikAdo/Ax3RGb9IGkcOaajwchFBzNmgOUIxd5Hrri2n/ZMsKTpWE+f6xT0hPFfCTJOry4DsWbYKF6LpIah/YF1FnyTqBPb4cs29SOmLud7+uola8RTMguqW1+ZBj0DdrvheBSTjJBNU9Jc75+Gt1k6d/RpUwVfPfkAh2FTCQ= Received: by 10.115.110.6 with SMTP id n6mr4553507wam.1182032930538; Sat, 16 Jun 2007 15:28:50 -0700 (PDT) Received: by 10.114.200.3 with HTTP; Sat, 16 Jun 2007 15:28:50 -0700 (PDT) Message-ID: Date: Sun, 17 Jun 2007 00:28:50 +0200 From: "Claus Guttesen" To: "Gaspar Chilingarov" In-Reply-To: <46745631.7000708@web.am> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46745631.7000708@web.am> Cc: freebsd-current@freebsd.org Subject: Re: [AMD64] X.org build eats all the memory when compiled with GCC 4.2 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: Sat, 16 Jun 2007 22:28:50 -0000 > I recompiled X.org yesterday and hit the following problem > (1 week old -current, yesterdays packages, AMD64) -- when compiling > files in > /usr/ports/x11-servers/xorg-server/work/xorg-server-1.2.0/hw/xfree86/scanpci > directory, there are huge .h files - about 4mb. when compiler uses -O2 > or -O option it eats all available memory and then gets killed by the > system. > Without -O/O2 option compile works just as expected. > > Now -- should I file a PR or it's known bug? No, but you should read the archives. Requires more than 1 GB of swap. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare