[SERVER-13829] Build failure: scons - argument list too long Created: 05/May/14 Updated: 10/Dec/14 Resolved: 06/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 2.6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Johan Bergström | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Without pasting full build log here (its long), I run into issues while linking mongod since arguments passed to scons are super long. Here's how I build: `scons -j5 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-boost --usev8 --ssl all` Full log is available for 30 more days at: https://paste.lugons.org/raw/5612/ |
| Comments |
| Comment by Eric Milkie [ 06/May/14 ] | |
|
This ticket will probably serve as sufficient documentation, so I'll resolve it here. | |
| Comment by Johan Bergström [ 05/May/14 ] | |
|
Good catch, thanks. Not sure if this should be documented or otherwise acted upon - but feel free to close/act as you see fit. If you want a patch for docs/similar, let me know. | |
| Comment by Eric Milkie [ 05/May/14 ] | |
|
Try adding this build parameter to your scons invocation:
It will shorten the path to all the build products, which should significantly shorten the argument list to the linker. |