On Apr 29, 9:23 pm, Volker Braun <vbraun.n...@gmail.com> wrote:
> Its pretty clear that this version does not support SSE4.

... and, frankly speaking, one shouldn't be surprised that Sage
doesn't support ancient Linux distros, at least not out-of-the-box.

There are a couple of ways to fix / work around this, e.g.:

 - Update 'gas' (the GNU assembler), or your whole binutils.

 - Build Sage [5.x] with SAGE_INSTALL_GCC=no.

 - Use your system compiler to build the spkg:
   $ env CC=/usr/bin/gcc ./sage -i ...

 - Set CFLAGS such that the GCC shipped with Sage will produce code
for a more generic architecture / CPU family (whose instruction set
your assembler knows):
   $ env CFLAGS="-march=... ..." ./sage -i ...


-leif


> On Sunday, April 29, 2012 2:07:53 PM UTC-4, Rajeev wrote:
>
> > Hi,
>
> > Here's the assembler's info -
>
> > $ as --version
> > GNU assembler 2.16.91.0.5 20051219 (SUSE Linux)
> > Copyright 2005 Free Software Foundation, Inc.
> > This program is free software; you may redistribute it under the terms of
> > the GNU General Public License.  This program has absolutely no warranty.
> > This assembler was configured for a target of `x86_64-suse-linux'.
>
> > Rajeev
>
> > On Sun, Apr 29, 2012 at 11:12 PM, Volker Braun <vbraun.n...@gmail.com>
> > wrote:
> > > Seems like you have outdated binutils, the assembler doesn't understand
> > the
> > > gcc output. What is the output of "as --version"?
>
> > > On Sunday, April 29, 2012 12:58:48 PM UTC-4, Rajeev wrote:
>
> > >> Hi,
>
> > >> I get the same error. I used the following commands -
>
> > >> $ pwd
> > >> /home/rajeev/bin/sage-5.0.beta14
> > >> $ ./sage -f
> > >>http://boxen.math.washington.edu/home/leif/Sage/spkgs/ecm-6.3.p7.spkg
>
> > >> Rajeev
>
> > >> On Sun, Apr 29, 2012 at 10:22 PM, Volker Braun <vbraun.n...@gmail.com>
> > >> wrote:
> > >> > Can you try this version:
>
> > >> >http://trac.sagemath.org/sage_trac/ticket/12830
>
> > >> > On Sunday, April 29, 2012 12:41:06 PM UTC-4, Rajeev wrote:
>
> > >> >> Hi,
>
> > >> >> I got the following error while compiling sage-5.0.beta14. I had got
> > >> >> the same error with sage-5.0.beta13 which I reported earlier.
>
> > >> >> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./x86_64
> > >> >> -I/home/rajeev/bin/sage-5.0.beta14/local/include
> > >> >> -I/home/rajeev/bin/sage-5.0.beta14/local/include -march=native -g
> > -O3
> > >> >> -fPIC -MT libecm_la-mul_fft.lo -MD -MP -MF
> > .deps/libecm_la-mul_fft.Tpo
> > >> >> -c mul_fft.c -o libecm_la-mul_fft.o
> > >> >> : Assembler messages:
> > >> >> :16797: Error: no such instruction: `pmulld %xmm2,%xmm0'
> > >> >> :1023: Error: no such instruction: `pmulld %xmm2,%xmm0'
> > >> >> :608: Error: no such instruction: `pmulld %xmm2,%xmm0'
> > >> >> make[4]: *** [libecm_la-mul_fft.lo] Error 1
>
> > >> >> Some relevant information -
>
> > >> >> SUSE Linux Enterprise Server 10 (x86_64)
> > >> >> VERSION = 10
> > >> >> PATCHLEVEL = 2
>
> > >> >> gcc version 4.1.2 20070115 (SUSE Linux)
>
> > >> >> I have a working copy of sage-4.8 on this machine.
>
> > >> >> Rajeev

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to