[openssl-dev] [openssl.org #4170] Illegal instruction in sha1-586.asm when building for win32 using Visual Studio 2015

Andy Polyakov via RT rt at openssl.org
Mon Dec 7 12:59:24 UTC 2015


> When building openss-1.0.2e for win32 using Visual Studio 2015 I get error 
> in the assembler code:
> 
>  ml /nologo /Cp /coff /c /Cx /Zi /Fotmp32dll\sha1-586.obj 
> tmp32dll\sha1-586.asm
>  Assembling: tmp32dll\sha1-586.asm
> tmp32dll\sha1-586.asm(1432) : error A2070:invalid instruction operands
> tmp32dll\sha1-586.asm(1576) : error A2070:invalid instruction operands
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
> Studio 14.0\VC\BIN\ml.EXE"' : return code
>  '0x1'
> Stop.
> 
> When building for win64 it builds without any errors.

Quoting INSTALL.W32:

- you need ...

- Netwide Assembler, a.k.a. NASM, available from
http://nasm.sourceforge.net/
  is required if you intend to utilize assembler modules. Note that NASM
  is now the only supported assembler.




More information about the openssl-dev mailing list