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

Jason Papadopoulos jasonp at boo.net
Sam 28 Mai 13:55:22 CEST 2011


>  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




More information about the Ecm-discuss mailing list