You are not logged in.
Pages: 1
I have ghc installed (current version is 7.0.2, I use Arch).
I'm trying to compile ghc from source, and I still get the same result: segmentation fault, after long, long compilation time.
Can it be caused by insufficient amount of RAM memory? My machine is just 1GB. I can have access to 2GB machine, but before I buy more memory, I'd like to be sure, that this is the problem...
Why do I suspect that the amount of RAM can be the problem? Because once I tried to compile Gambit Scheme, and it failed with the same message (segmentation fault). In Gambit's readme I read, that compilation consumes a lot of memory, so I was sure that this was the problem.
Offline
Is the segmentation fault SIGSEGV (signal 11)? If so, you might have a hardware issue as described in the Sig11 FAQ.
http://www.bitwizard.nl/sig11/
Offline
moving to Kernel & Hardware
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I might be wrong but I think a lack of memory under Linux can only lead to the kernel killing some application (and not the application crashing.) You could still try adding some swap to see if it helps...
Offline
It took me a (long) while to investigate things further... I was also busy with other things. But now I have access to a better machine (2GB RAM), and no problems with ghc compilation. So I think that the cause of all errors was insufficient amount of RAM.
It's time to close the topic. Thatk you all for your help!
Offline
Pages: 1