Summary: | =dev-db/mongodb-1.8.2 fails to build by gcc-4.5.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mu Qiao (RETIRED) <qiaomuf> |
Component: | New packages | Assignee: | Lance Albertson (RETIRED) <ramereth> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | ultrabug |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
the build log |
Created attachment 278321 [details]
the build log
The build log contains information before I typed control-c
Hi, Your MAKEOPTS="-j24" seems a bit too much and could cause this (I don't have your problem with 4GB RAM and -j4 using gcc-4.5.2 aswell) Could you try with MAKEOPTS="-j1" please and report back ? Thanks Yes I think it's the problem. I have eight cores with hyper-threading and -j16 has the memory problem too. I figured one gcc process may eat up 300+MB at most. Then -j8 works fine for me. Close it now. Thanks. |
Created attachment 278319 [details] emerge --info My 4G memory is eaten up while building.