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

2018-03-01 Thread Norm Green

SSL version-specific?  SSL 1.1.0 builds clean on the same machine

I'm wondering if the solution is code changes or

On 3/1/18 04:27, Andy Polyakov wrote:

I mean it might happen that it's not version-specific...


--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


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

2018-03-01 Thread Andy Polyakov
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...
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


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

2018-02-28 Thread Norm Green
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.


perl configdata.pm --dump



Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.
Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.
Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.
Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.
Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.
Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.
Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.
Use of uninitialized value $prefix in concatenation (.) or string at 
configdata.pm line 15114.


Command line (with current working directory = .):

    C:\Perl64\bin\perl.exe Configure --prefix=C:\checkouts\install11 
debug-VC-WIN32


Perl information:

    C:\Perl64\bin\perl.exe
    5.24.0 for MSWin32-x64-multi-thread

Enabled features:

    aria
    asm
    async
    autoalginit
    autoerrinit
    bf
    blake2
    camellia
    capieng
    cast
    chacha
    cmac
    cms
    comp
    ct
    deprecated
    des
    dgram
    dh
    dsa
    dso
    dtls
    dynamic-engine
    ec
    ec2m
    ecdh
    ecdsa
    engine
    err
    filenames
    gost
    hw(-.+)?
    idea
    makedepend
    md4
    mdc2
    multiblock
    nextprotoneg
    ocb
    ocsp
    pic
    poly1305
    posix-io
    psk
    rc2
    rc4
    rdrand
    rfc3779
    rmd160
    scrypt
    seed
    shared
    siphash
    sm3
    sm4
    sock
    srp
    srtp
    sse2
    ssl
    static-engine
    stdio
    tests
    threads
    tls
    ts
    ui-console
    whirlpool
    tls1
    tls1-method
    tls1_1
    tls1_1-method
    tls1_2
    tls1_2-method
    tls1_3
    dtls1
    dtls1-method
    dtls1_2
    dtls1_2-method

Disabled features:

    afalgeng    [not-linux]
    asan    [default]   OPENSSL_NO_ASAN
    crypto-mdebug   [default] OPENSSL_NO_CRYPTO_MDEBUG
    crypto-mdebug-backtrace [default] OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
    devcryptoeng    [default] OPENSSL_NO_DEVCRYPTOENG
    ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128
    egd [default]   OPENSSL_NO_EGD
    external-tests  [default] OPENSSL_NO_EXTERNAL_TESTS
    fuzz-libfuzzer  [default] OPENSSL_NO_FUZZ_LIBFUZZER
    fuzz-afl    [default]   OPENSSL_NO_FUZZ_AFL
    heartbeats  [default] OPENSSL_NO_HEARTBEATS
    md2 [default]   OPENSSL_NO_MD2 (skip crypto\md2)
    msan    [default]   OPENSSL_NO_MSAN
    rc5 [default]   OPENSSL_NO_RC5 (skip crypto\rc5)
    sctp    [default]   OPENSSL_NO_SCTP
    ssl-trace   [default] OPENSSL_NO_SSL_TRACE
    tls13downgrade  [default] OPENSSL_NO_TLS13DOWNGRADE
    ubsan   [default]   OPENSSL_NO_UBSAN
    unit-test   [default] OPENSSL_NO_UNIT_TEST
    weak-ssl-ciphers    [default] OPENSSL_NO_WEAK_SSL_CIPHERS
    zlib    [default]
    zlib-dynamic    [default]
    ssl3