[openssl-users] OpenSSL 1.1.1pre2 alpha build error: MS Windows 32 bit

Andy Polyakov appro at openssl.org
Thu Mar 1 12:27:17 UTC 2018


On 03/01/18 01:46, Norm Green wrote:
> It looks like 32 bit builds set the -WX flag (treat warnings as errors)
> while the 64 bit builds don't.
> 
> 
>         cl  -W3 -wd4090 -Gs0 -GF -Gy -nologo /MDd /Od -WX /Zi
> /Fdossl_static /I "." /I "crypto\include" /I "include" /I
> "crypto\ec\curve448\arch_32" /I "crypto\ec\curve448" -DDSO_WIN32
> -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
> -D_CRT_SECURE_NO_DEPRECATE -D_WINSOCK_DEPRECATED_NO_WARNINGS -DUNICODE
> -D_UNICODE -DDEBUG -D_DEBUG -DOPENSSL_USE_APPLINK
> -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ
> -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
> -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM
> -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
> -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM
> "-DOPENSSLDIR=\"C:\\Program Files (x86)\\Common Files\\SSL\""
> "-DENGINESDIR=\"C:\\checkouts\\install11\\lib\\engines-1_1\"" -c
> /Focrypto\ec\curve448\f_generic.obj @C:\cygwin64\tmp\nmA13D.tmp
> f_generic.c
> crypto\ec\curve448\f_generic.c(125) : error C2220: warning treated as
> error - no 'object' file generated
> crypto\ec\curve448\f_generic.c(125) : warning C4244: 'function' :
> conversion from 'dsword_t' to 'uint32_t', possible loss of data
> crypto\ec\curve448\f_generic.c(125) : warning C4244: 'function' :
> conversion from 'dsword_t' to 'uint32_t', possible loss of data
> crypto\ec\curve448\f_generic.c(138) : warning C4244: 'function' :
> conversion from 'dword_t' to 'uint32_t', possible loss of data
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 10.0\VC\bin\cl.EXE"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 10.0\VC\bin\nmake.exe"' : return code '0x2'
> Stop.

Hmmm... Appveyor CI doesn't have problems with it, but of course it
ought to be newer version. Newer than 10.0 that is, judging from
reference C:\Program Files (x86)\Microsoft Visual Studio 10.0\ above.
And I can't reproduce it with 10.0... Oh wait! It's actually specific to
--debug build! I mean it might happen that it's not version-specific...


More information about the openssl-users mailing list