On Sun, Oct 20, 2013 at 05:18:49PM -0500, [email protected] wrote: > Has anyone compiled PyPy on BLFS 7.4? I compiled Python and libffi > using --with-pydebug and --enable-debug respectively and attempted to > compile from pypy/goal with: > > python ../../rpython/bin/rpython --opt=mem targetpypystandalone.py > python ../../rpython/bin/rpython --opt=jit targetpypystandalone.py > > Both attempts seemed to be compiling, with characters walking across the > screen. I received no errors, but neither finished. The documentation > mentions compiling is quite long, with 45 minutes on a fast machine. My > machine isn't fast, but I gave both attempts many multiples of 45 > minutes (six and nine hours respectively). Both attempts were > unattended but were happily churning away when I returned. > Unfortunately, I was far from happy as neither had finished and the jit > attempt was mercilessly pounding the hard drive. > Is the required 4G of memory perhaps the problem ?
Original paragraph, now out of date but left as a comment - I don't have debug versions of python and libffi, and the build is poorly documented. Arch (usually fairly reliable, except for testsuites) show that it needs a binary pypy installed - normal for many languages which bootstrap - and the files pypy offers for x86_64 are for ubuntu-12.04 - no idea what symlinks would be needed, nor if my own glibc has an old enough '--enable-kernel='. FWIW, the 32-bit binary is targetted at ubuntu-10.04. Then I realised you had provided a recipe. OK, I'm running the first line for python2 at the moment (AMD phenom, seems to run flat-out [3400MHz] on the cores it is using for this) and it was obviously written by someone who thinks that using multiple colours to create random patterns is a clever thing to do ;-) Perhaps the various "+%#* ." symbols in the pattern mean different things - I do note that the pattern appears to be adapted to the terminal width [ I'm on 100x40 for this ], but my overall impression is that it's a toy. I'm also unimpressed by red text for the error messages - very hard to read on my black background. Will leave it running for a while, I'm still up (sorting out what fits where in my make-4.0 testing) so it can have an hour or two. Most recent white message was [rtyper] specializing: 8700 / 172911 blocks (5%) If it doesn't complete by the time I'm done, I'll leave the box up and reply with timings if it completes. This machine has 8GB and I'm barely doing anything else, so I _should_ have enough memory without swapping ;-) ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
