On Sat, Sep 5, 2009 at 9:57 PM, William Stein<wst...@gmail.com> wrote: > > On Sat, Sep 5, 2009 at 12:59 PM, Johann "Myrkraverk" > Oskarsson<joh...@myrkraverk.com> wrote: >> >> Hello all, >> >> I hope this is the right place to ask. My system is: >> >> # uname -a >> Linux xianghua 2.4.21 BrandZ fake linux i686 i686 i386 GNU/Linux >> >> # gcc --version >> gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-59) > > Sage requires GCC 4.x, so you're already out of luck with that GCC version.
Then please change the following in README.txt: SUPPORTED COMPILERS: * Sage builds with GCC >= 3.x and GCC >= 4.1.x. * Sage will not build with GCC 2.9.x. * WARNING: Don't build with GCC 4.0.0, which is very buggy. * Sage has never been built without using GCC compiler. Though I doupt my issue (below) has anything to do with the version of GCC, but the assember, as. Johann >> # as --version >> GNU assembler 2.14.90.0.4 20030523 >> >> # cat /etc/redhat-release >> CentOS release 3.9 (Final) >> >> And sage fails to compile with: >> >> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. >> -DOPERATION_hgcd -m32 -O2 -fomit-frame-pointer -mcpu=pentiumpro >> -march=nocona -c hgcd.c -fPIC -DPIC -o .libs/hgcd.o >> /tmp/ccwTmB2V.s: Assembler messages: >> /tmp/ccwTmB2V.s:56: Error: suffix or operands invalid for `movd' >> /tmp/ccwTmB2V.s:74: Error: suffix or operands invalid for `movd' >> >> The assembler chokes on >> >> movd %xmm1, %xmm0 >> >> movd %xmm1, %xmm0 >> >> respectively. The source file is in >> sage-4.1.1/spkg/build/mpir-1.2.p4/src/mpn. >> >> Is there anything I might be able to do, to fix this? >> >> Yes, I know I'm using an outdated Centos, it's an lx zone on my >> solaris, and it's installed from an image from opensolaris.org. >> Upgrading to a newer linux distro is possible, but 2.6 emulation is >> not complete. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---