Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514960 - MAKEOPTS=-j65 does not work with 2 processors and 2 gigabytes RAM
Summary: MAKEOPTS=-j65 does not work with 2 processors and 2 gigabytes RAM
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-24 20:40 UTC by tharvik
Modified: 2014-06-24 21:50 UTC (History)
0 users

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


Attachments
emerge --info (boost.info,15.93 KB, text/plain)
2014-06-24 20:41 UTC, tharvik
Details
emerge -pqv (boost.pqv,172 bytes, text/plain)
2014-06-24 20:41 UTC, tharvik
Details
build log (boost.log,2.80 KB, text/x-log)
2014-06-24 20:41 UTC, tharvik
Details
build.log -- better (boost.log,3.16 KB, text/x-log)
2014-06-24 21:50 UTC, tharvik
Details
emerge --info -- better (boost.info,5.83 KB, application/x-info)
2014-06-24 21:50 UTC, tharvik
Details
emerge -pqv -- better (boost.pqv,171 bytes, text/plain)
2014-06-24 21:50 UTC, tharvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tharvik 2014-06-24 20:40:21 UTC
dev-libs/boost-1.52.0-r6 fail with MAKEOPTS=-jN with N > 64. 64 was choose based on trials and errors, and is given as a lower bound.

Reproducible: Always

Steps to Reproduce:
1. MAKEOPTS=-j65 emerge '=dev-libs/boost-1.52.0-r6'
Actual Results:  
/var/tmp/portage/dev-libs/boost-1.52.0-r6/temp/environment: line 1015: 24967 Segmentation fault      b2 "$@"

Expected Results:  
Emerge correctly.

As it may not be a common situation, it easily happend if you have a MAKEOPTS base on load as MAKEOPTS="-j -l4".
Comment 1 tharvik 2014-06-24 20:41:11 UTC
Created attachment 379620 [details]
emerge --info
Comment 2 tharvik 2014-06-24 20:41:27 UTC
Created attachment 379622 [details]
emerge -pqv
Comment 3 tharvik 2014-06-24 20:41:43 UTC
Created attachment 379624 [details]
build log
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-24 21:13:55 UTC
You have two gigabytes of memory and what looks like two processors, and no distcc, and you are surprised you ran out of RAM?
Comment 5 tharvik 2014-06-24 21:48:15 UTC
Nope, not resolved, tested on 4 cpu and 4G (and max memory usage ~100MB).
Comment 6 tharvik 2014-06-24 21:50:14 UTC
Created attachment 379628 [details]
build.log -- better
Comment 7 tharvik 2014-06-24 21:50:27 UTC
Created attachment 379630 [details]
emerge --info -- better
Comment 8 tharvik 2014-06-24 21:50:45 UTC
Created attachment 379632 [details]
emerge -pqv -- better