Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373173 - =dev-db/mongodb-1.8.2 fails to build by gcc-4.5.2
Summary: =dev-db/mongodb-1.8.2 fails to build by gcc-4.5.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 07:17 UTC by Mu Qiao (RETIRED)
Modified: 2011-06-27 13:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,14.97 KB, text/plain)
2011-06-27 07:17 UTC, Mu Qiao (RETIRED)
Details
the build log (build.log,13.74 KB, text/plain)
2011-06-27 07:28 UTC, Mu Qiao (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mu Qiao (RETIRED) gentoo-dev 2011-06-27 07:17:09 UTC
Created attachment 278319 [details]
emerge --info

My 4G memory is eaten up while building.
Comment 1 Mu Qiao (RETIRED) gentoo-dev 2011-06-27 07:28:07 UTC
Created attachment 278321 [details]
the build log

The build log contains information before I typed control-c
Comment 2 Ultrabug gentoo-dev 2011-06-27 12:44:57 UTC
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
Comment 3 Mu Qiao (RETIRED) gentoo-dev 2011-06-27 13:39:28 UTC
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.