Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OO Build Failed
Date: Sun, 30 Jul 2006 22:22:27
Message-Id: 7573e9640607301516r3655f0bbk5823534cfc60c5f3@mail.gmail.com
In Reply to: Re: [gentoo-user] OO Build Failed by Randy Barlow
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

Replies

Subject Author
Re: [gentoo-user] OO Build Failed Randy Barlow <randy@×××××××××××××××××.com>