[apologies for the spam, but people seem interested] On Snow Leopard, after adding the -m32 flags recommended by Leonardo, it got all the way to compilation, and then failed. I had tried to do a c-jit compile over the latest trunk using 32bit python.
Here is the full run log: http://paste.pocoo.org/show/151639/ Leo On Wed, Nov 18, 2009 at 7:16 PM, Leonardo wrote: > There is still no backend for x86_64 but you can compile it with the jit in > 32 bit mode. For this you have to make your cpython go to 32bit mode (search > for it on the web, it is different if it is the standard python, the > python.org dmg or the macports one) and apply this patch: > > http://paste.pocoo.org/show/151604/ > > but it is way faster than compiling on a virtual machine. > > I want to work more on this patch and make it force the -m flag (based on > the arch of the python interpreter) to the compiler so it properly works on > snow leopard (that can run both 32 and 64 bit programs independent of kernel > arch). > > If you do please tell me how it went please :) > > On Nov 19, 2009, at 1:01 AM, Leo wrote: > > > I meant to say, is the JIT working in Snow Leopard in 64 bit? > > > > Leo > > > > On Wed, Nov 18, 2009 at 7:00 PM, Leo Trottier <[email protected]> > wrote: > >> Is the working in Snow Leopard in 64 bit? It seemed there were > >> intractable errors in this regard earlier? > >> > >> Leo > >> > >> On Wed, Nov 18, 2009 at 6:40 PM, Leonardo wrote: > >>> Why don't you compile it on osx? most things should be working on osx > now. > >>> > >>> On Nov 18, 2009, at 11:14 PM, Leo wrote: > >>> > >>>> ... perhaps this has been resolved (??) but two compilation attempts > >>>> on the pypy/trunk from earlier today failed with the following error > >>>> message. I'm compiling on a VirtualBox install of Xubuntu on OS-X (2 > >>>> gig allocated, dual-core 1 GHz cpu). > >>>> > >>>> the pypy-dist version compiles fine ... > >>>> > >>>> and/all guidance would be appreciated > >>>> ========================== > >>>> > >>>> [platform:ERROR] make: Entering directory > `/tmp/usession-trunk-1/testing_1' > >>>> [platform:ERROR] gcc -O3 -pthread -fomit-frame-pointer > >>>> -frandom-seed=testing_1.c -o testing_1.s -S testing_1.c > >>>> -I/usr/include/python2.6 -I/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/c -I/usr/include/libffi > >>>> [platform:ERROR] make: Leaving directory > `/tmp/usession-trunk-1/testing_1' > >>>> [Timer] Timings: > >>>> [Timer] annotate --- 623.8 s > >>>> [Timer] rtype_lltype --- 768.0 s > >>>> [Timer] pyjitpl_lltype --- 570.6 s > >>>> [Timer] backendopt_lltype --- 359.7 s > >>>> [Timer] stackcheckinsertion_lltype --- 118.4 s > >>>> [Timer] database_c --- 789.6 s > >>>> [Timer] source_c --- 927.0 s > >>>> [Timer] compile_c --- 2.5 s > >>>> [Timer] =========================================== > >>>> [Timer] Total: --- 4159.4 s > >>>> [translation:ERROR] Error: > >>>> [translation:ERROR] Traceback (most recent call last): > >>>> [translation:ERROR] File "translate.py", line 277, in main > >>>> [translation:ERROR] drv.proceed(goals) > >>>> [translation:ERROR] File "/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/driver.py", line 741, in proceed > >>>> [translation:ERROR] return self._execute(goals, task_skip = > >>>> self._maybe_skip()) > >>>> [translation:ERROR] File "/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/tool/taskengine.py", line 116, in > >>>> _execute > >>>> [translation:ERROR] res = self._do(goal, taskcallable, *args, > **kwds) > >>>> [translation:ERROR] File "/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/driver.py", line 279, in _do > >>>> [translation:ERROR] res = func() > >>>> [translation:ERROR] File "/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/driver.py", line 504, in > >>>> task_compile_c > >>>> [translation:ERROR] cbuilder.compile() > >>>> [translation:ERROR] File "/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/c/genc.py", line 447, in compile > >>>> [translation:ERROR] > >>>> self.translator.platform.execute_makefile(self.targetdir) > >>>> [translation:ERROR] File "/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/platform/posix.py", line 114, in > >>>> execute_makefile > >>>> [translation:ERROR] self._handle_error(returncode, stdout, stderr, > >>>> path.join('make')) > >>>> [translation:ERROR] File "/home/leo/Source > >>>> Code/pypy-trunk/pypy/translator/platform/__init__.py", line 117, in > >>>> _handle_error > >>>> [translation:ERROR] raise CompilationError(stdout, stderr) > >>>> [translation:ERROR] CompilationError: <CompilationError err="make: > >>>> Entering directory `/tmp/usession-trunk-1/testing_1'\ngcc -O3 -pthread > >>>> -fomit-frame-pointer -frandom-seed=testi...e > >>>> Code/pypy-trunk/pypy/translator/c -I/usr/include/libffi\nmake: Leaving > >>>> directory `/tmp/usession-trunk-1/testing_1'\n"> > >>>> _______________________________________________ > >>>> [email protected] > >>>> http://codespeak.net/mailman/listinfo/pypy-dev > >>> > >>> -- > >>> Leonardo > >>> > >>> > >>> > >>> > >> > > -- > Leonardo > > > >
_______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
