LINK(target) out/Debug/chrome
collect2: ld terminated with signal 9 [Killed]
This turns out to be a known issue with linking Chrome on systems with only 2G of RAM. I did install the "gold" linker which uses less memory than the standard linker, but even with it you need a bit more than 2G of RAM.
Apparently there are a couple of different work-arounds for this:
- Build using shared libraries instead of a huge pre-linked executable (which slows down Chrome at launch as it then needs to load the shared libraries).
- Add some swap space to increase virtual memory.
I actually tried #1 - building with shared libraries, and ended up with the same failure. I'll give it another try, and then move on to approach #2. Or maybe it's time to just buy a new machine with 6 or 8 Gig of RAM.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.