[Ecm-discuss] ecm-6.3 error on gcc farm's gcc45

Jason jason at njkfrudils.plus.com
Sam 28 Mai 17:58:15 CEST 2011


On Saturday 28 May 2011 12:55:22 Jason Papadopoulos wrote:
> >  we get this error
> > 
> > spv.c:157: error: unknown register name ‚%xmm7‚ in ‚asm‚
> > spv.c:157: error: unknown register name ‚%xmm6‚ in ‚asm‚
> > spv.c:157: error: unknown register name ‚%xmm5‚ in ‚asm‚
> > spv.c:157: error: unknown register name ‚%xmm3‚ in ‚asm‚
> > spv.c:157: error: unknown register name ‚%xmm2‚ in ‚asm‚
> > spv.c:157: error: unknown register name ‚%xmm1‚ in ‚asm‚
> > spv.c:157: error: unknown register name ‚%xmm0‚ in ‚asm‚
> 
> Apparently modern versions of gnu as require that you specify the
> instruction set that will be allowed in the input assembly language,
> so that gcc needs to be given either '-msse2' when the SSE2 code
> is configured, or -march=X where X is a machine that can execute
> SSE2 instructions.
> 
> I actually don't see any machine or instruction set specifiers in
> the command line; is this with a previous ECM release or with the
> latest CVS?
> 
> jasonp
> 
> 
> _______________________________________________
> Ecm-discuss mailing list
> Ecm-discuss at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/ecm-discuss

using 
./configure CFLAGS=-msse2
worked OK 
and so did
./configure --build=k8-unknown-linux-gnu
which I imagine is a better build (although perhaps k8-pc-linux-gnu should be 
the correct one)
but note config.guess gives us i686-pc-linux-gnu
perhaps you autotools,gnulib is bit old , but I havent looked at your SVN yet

Thanks
Jason



More information about the Ecm-discuss mailing list