Problem compiling xorg-server{-snap} on recent -CURRENT

Garrett Cooper youshi10 at u.washington.edu
Mon May 21 15:15:45 UTC 2007


Dag-Erling Smørgrav wrote:
> Michiel Boland <michiel at boland.org> writes:
>> My build of xorg-server died. The box ran out of swap space. I have
>> 512M RAM + 1G swap. Someone please tell me this is a glitch in the new
>> gcc. I don't want to add ram just to be able to compile a simple
>> program. :)
> 
> The quick fix is to build at a lower optimization level.  Advanced
> optimizations can be very memory-consuming, especially when compiling
> unusually large source files, or source files which contain unusually
> large functions.
> 
> DES

That isn't good. Are you running X at the same time as the compile, with 
what programs going in the background?

Also, what do your CFLAGS look like?

-Garrett


More information about the freebsd-current mailing list