Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2010 18:47:09 +0200
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        Rob Farmer <rfarmer@predatorlabs.net>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: libxul compilation problem
Message-ID:  <AANLkTinRndjZwXLcu1w_8droN0jd7r7VYhVWiOUZG7em@mail.gmail.com>
In-Reply-To: <AANLkTim8SjtWG5XYp_PtFbPnG3zLbxsfvynHVswjC167@mail.gmail.com>
References:  <AANLkTikzAUJSSTC9bDzSaWgUiM6TJjHgq4%2BaNOqXrSDP@mail.gmail.com> <AANLkTik9kcWU4PWfSsZmObOTp_z8-mgb60z3EtFBrm7j@mail.gmail.com> <AANLkTikdutVjbVA6iOJzm3Q%2BNOLjsZmskyfyNzVfDhxi@mail.gmail.com> <AANLkTim8SjtWG5XYp_PtFbPnG3zLbxsfvynHVswjC167@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/10/16 Rob Farmer <rfarmer@predatorlabs.net>:
> 2010/10/16 Fernando Apestegu=EDa <fernando.apesteguia@gmail.com>:
>> I didn't run X or whatsoever. That's why I think I should have enough me=
mory.
>> In fact after getting that error, I rebooted so I could update the
>> ports from a "fresh"
>> running system (nothing cached or so). But even in that case, I'm gettin=
g the
>> same error.
>>
>> Any VM tuning I can try?
>
> I'm not really knowledgeable about that kind of thing.
>
> However, the port is marked MAKE_JOBS_SAFE which means that it will
> try to run multiple compiler instances in parallel, to speed things up
> if you have multiple CPUs/cores. You can try running with "make
> -DDISABLE_MAKE_JOBS" to just run one at a time - maybe you have enough
> memory for that but not multiple jobs at once?

Hi Rob,

The machine has one single core cpu. Finally I was able to compile the
thing, compiling
the offending file by hand (nsHtml5ElementName.cpp) without the -O2
optimization flag.
With this flag, cc1plus eats up all the memory of my system in a few
seconds. Without
the flag, the file is compiled without any problems and quite fast.

Should this issue be a candidate for filing a PR?

Cheers.

>
> --
> Rob Farmer
>



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