This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Attempt to compile abinit-6.6.3 using gcc45 causes "no such instruction" errors


Anna Ceguerra <anna.ceguerra@sydney.edu.au> writes:

> I am trying to compile abinit-6.6.3 using gcc45 installed using macports. I
> am on Mac OS X Lion.
>
> I am getting the following error message:
> /var/folders/bl/8wb0ry9x00g8k6v3l9z293r80000gp/T//ccmJW8V4.s:94:no such
> instruction: `vmovsd LC2(%rip), %xmm5'
>
> And it goes on for many lines, with different instructions.
>
> Would anyone happen to know what is causing this error?

Your assembler does not recognize the vmovsd instruction.  vmovsd is an
AVX instruction.  The AVX instructions were added relatively recently:
http://en.wikipedia.org/wiki/Advanced_Vector_Extensions.

Most likely you need a newer assembler.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]