-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Segmentation fault when attempting to build 2.1.1 on Debian Jessie 64-bit #14677
Comments
GCC version? Make sure you have 4 Gb RAM at least. |
@vitallium wrote:
Does building PhantomJS really need 4GB RAM, even with |
@sampablokuper the compilation process doesn't need 4 Gb RAM, but linking does need.
Unfortunately, no. |
@vitallium wrote:
Pity. That is a severe usability problem :-( |
I created an additional 8GB swap file per this recipe. However, that did not help:
|
@sampablokuper I don't think swap will work. The large memory is IIRC necessary to link all WebKit object files. We may be at an impasse here, since not everything is within our control. |
@ariya, fair enough :) I haven't had a chance to try building 2.1.1 on Debian Jessie 64-bit on a machine with more 4GB RAM or more, and won't get a chance for the foreseeable future, sorry. Feel free to close this as WONTFIX on the assumption that your diagnosis is correct (i.e. that my lack of RAM was the cause of the segfault). It can always be re-opened, per the message below, if that diagnosis later turns out to have been incorrect. Message to anyone who encounters this segfault on a machine with 4GB+ of RAM, running 64-bit Debian Jessie (or a GNU/Linux distro of similar age): please re-open this issue with a message listing the steps you took that resulted in the segfault. Thanks :) |
@sampablokuper Could you quickly spawn a simple DigitalOcean/Linode/AWS EC2/GCE instance to give it a try? It should cost very little if you just want to experiment with it. In all cases, I will close this for now as I used to be able to build from source on wheezy without any problem (given enough disk space and RAM). Feel free to reopen it if you have new data points. Thank you very much! |
Which version of PhantomJS are you using? Tip: run
phantomjs --version
.N/A
What steps will reproduce the problem?
Which operating system are you using?
Debian Jessie 64-bit.
Did you use binary PhantomJS or did you compile it from source?
Attempted to compile it from source.
Please provide any additional information below.
The commands above resulted in this:
I looked this up, and saw the advice here to try using
--jobs 1
(i.e.-j 1
), so tried that, but it still failed:The text was updated successfully, but these errors were encountered: