[AMD64] X.org build eats all the memory when compiled with GCC
deischen at freebsd.org
Mon Jun 18 12:40:38 UTC 2007
On Mon, 18 Jun 2007, Michiel Boland wrote:
> On Sat, 16 Jun 2007, Garrett Cooper wrote:
>> Claus Guttesen wrote:
>>>> I recompiled X.org yesterday and hit the following problem
>>>> (1 week old -current, yesterdays packages, AMD64) -- when compiling
>>>> files in
>>>> 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
>>>> 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.
>> It's a known bug that isn't going to be fixed until gcc 4.2.1.
> Well, until then, is it not possible to at least put the following patch in
[ ... ]
> That would make a lot of people very happy. In particular those running
Yes, it happens on i386 too. I think requiring more than 1GB of swap
is ridiculous. Please patch gcc or the port.
More information about the freebsd-current