Psyco 1.0 seems to compile/run fine on Sparc64, but Psyco 1.2 fails. Reproducible: Always Steps to Reproduce: 1. Add Psycho 1.2 to /etc/portage/packages.mask 2. Try to emerge it. 3. Watch it fail Actual Results: It fails. Expected Results: Let me install Psycho 1.0 instead of 1.2 ;-) Gentoo Base System version 1.5.1 Portage 2.0.50-r9 (default-sparc64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6) =============================================================== == System uname: 2.6.6 sparc64 sun4u Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="sparc x86 ~sparc ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=ultrasparc" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/ config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/ config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=ultrasparc" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox" GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://mirror.iawnet.sandia. gov/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X arts avi berkdb crypt cups encode esd fbcon foomaticdb gdbm gif gnome gtk guile imlib jpeg libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python readline sdl slang sparc spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
I think this is a request for a ~sparc keyword on dev-python/psyco-1.0. However, on my systems at least, all the psyco-1.0 tests fail with a Bus error, and psyco-1.2 will not build at all because: c/ivm/iencoding.h:6:2: #error "ivm is still buggy -- sorry, Psyco requires a PC at the moment." If you have better information, or if you want something else, please respond. For example, if you have actually been able to build a running psyco, please provide that information. Otherwise, in a day or so I am going to change the status to CANTFIX, because it looks to me like psyco will not run on sparc (Note this from the README file:) ====================== Psyco accelerates the execution of Python code. It requires Python 2.1 or 2.2 and a 386-compatible processor. It should be OS-independant, although it has only be tested on Linux and Windows. Problems have been reported on FreeBSD. ====================== And, in fact, a cursory reading of the code suggests that psyco converts python into intel machine code. If I am mistaken, please let me know. Otherwise, we can't do it for sparc. I am (temporarily, at least) assigning this to myself in preparation of closing it as undoable. You say that 1.0 seems to compile/run on sparc64. It does build and install, but for me it does not run, and as I mentioned, I don't see how it could. If you can run, say, bpnn.py in the test suite, please so indicate: For me, with psyco included, I get the Bus error, but without psyco it runs its neural net fine. Regards, Ferris
I was mistaken, I'd assumed that since it _built_ and seemed to run that it was semi-working.
Thanks. Regards,