[openssl-dev] [openssl.org #4378] Multiple warnings under OpenBSD 5.7/64-bit

noloader@gmail.com via RT rt at openssl.org
Sat Mar 5 02:21:06 UTC 2016


OpenBSD uses GCC 4.2.1

$ egrep -B 1 'warning|error' openssl-log.txt
ecp_nistz256.c: In function 'ecp_nistz256_points_mul':
ecp_nistz256.c:1131: warning: ignoring alignment for stack allocated 't'
ecp_nistz256.c:1131: warning: ignoring alignment for stack allocated 'p'
--
b_addr.c: In function 'BIO_lookup':
b_addr.c:728: warning: dereferencing type-punned pointer will break
strict-aliasing rules
--
x509_vpm.c: In function 'X509_VERIFY_PARAM_set1_ip':
x509_vpm.c:476: warning: dereferencing type-punned pointer will break
strict-aliasing rules
--
ts_rsp_sign.c: In function 'TS_RESP_CTX_add_md':
ts_rsp_sign.c:275: warning: passing argument 2 of 'sk_EVP_MD_push'
discards qualifiers from pointer target type
--
cc -I.. -I../.. -I../modes -I../include -I../../include  -DDSO_DLFCN
-DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE
-DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM
-DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\""
-DENGINESDIR="\"/usr/local/lib/engines\"" -DL_ENDIAN -Wall -O3
-pthread -D_THREAD_SAFE -D_REENTRANT  -Wa,--noexecstack -fPIC  -c
srp_lib.c
srp_lib.c:324: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:324: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:325: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:325: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:326: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:326: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:327: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:327: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:328: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:328: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:329: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:329: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:330: warning: type-punning to incomplete type might break
strict-aliasing rules
srp_lib.c:330: warning: type-punning to incomplete type might break
strict-aliasing rules
--
cm_pmeth.c: In function 'pkey_cmac_ctrl_str':
cm_pmeth.c:165: warning: passing argument 4 of 'pkey_cmac_ctrl'
discards qualifiers from pointer target type
--
                 from async.c:62:
arch/async_posix.h:67:24: error: ucontext.h: No such file or directory
--
arch/async_posix.h: In function 'async_fibre_swapcontext':
arch/async_posix.h:85: warning: implicit declaration of function 'setcontext'

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4378
Please log in as guest with password guest if prompted

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbsd-log.tar.gz
Type: application/x-gzip
Size: 8778 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160305/c7573a35/attachment-0001.bin>


More information about the openssl-dev mailing list