1 |
On 7/30/06, Randy Barlow <randy@×××××××××××××××××.com> wrote: |
2 |
> Richard Fish wrote: |
3 |
> > Can you retry with: |
4 |
> > |
5 |
> > CFLAGS="-O2 -march=pentium3 -pipe" |
6 |
> |
7 |
> Awesome, this seems to have done the trick - thanks! |
8 |
|
9 |
BTW, -O3 uses *a lot* more ram to compile compared to -O2. Indeed, |
10 |
gcc will sometimes take 200-500MB of RAM to compile a single C++ |
11 |
module. So combined with MAKEOPTS=-j2, and only 512MB of RAM total, |
12 |
yeah, I think you ran out of memory. |
13 |
|
14 |
In fact, you may want to drop to MAKEOPTS=-j1 permanently. Swapping |
15 |
is simply not something you want to do when compiling...it is too damn |
16 |
slow. If you run so many jobs that some get pushed to swap, it would |
17 |
be far faster to run one job at a time without swapping! |
18 |
|
19 |
-Richard |
20 |
-- |
21 |
gentoo-user@g.o mailing list |