Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 14:31:01 +0500
From:      Gaspar Chilingarov <casper@web.am>
To:        Claus Guttesen <kometen@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [AMD64] X.org build eats all the memory when compiled with GCC 4.2
Message-ID:  <4674FF55.4040203@web.am>
In-Reply-To: <b41c75520706161528q650364dp85700b86353d28b7@mail.gmail.com>
References:  <46745631.7000708@web.am> <b41c75520706161528q650364dp85700b86353d28b7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Claus Guttesen wrote:
>> 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.
> 

Thanks ;) It was easier to just turn off optimization for that directory 
-- it that case gcc will use only ~100mb of memory.

-- 
Gaspar Chilingarov

System Administrator,
Network security consulting

t +37493 419763 (mob)
i 63174784
e nm@web.am
w http://zanazan.am/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4674FF55.4040203>