[openssl-dev] [openssl.org #4369] OS X 10.5, 32-bit PPC, and "passing argument 2 of 'cmov' discards qualifiers from pointer target type"

noloader@gmail.com via RT rt at openssl.org
Wed Mar 2 16:16:37 UTC 2016


Compiling on OS X 10.5/32-bit PowerPC. This is Apple's GCC 4.0.1, and
not Clang in disguise.

$ KERNEL_BITS=32 ./config
...

$ make depend && make clean && make
<Fix compile error with chacha-ppc.s>
...

cc -I.. -I../.. -I../modes -I../include -I../../include  -DDSO_DLFCN
-DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE
-DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DAES_ASM -DVPAES_ASM -DPOLY1305_ASM
-DOPENSSLDIR="\"/usr/local/ssl\""
-DENGINESDIR="\"/usr/local/lib/engines\""  -D_REENTRANT -arch ppc
-DB_ENDIAN -Wa,-force_cpusubtype_ALL -O3 -fPIC -fno-common   -c -o
curve25519.o curve25519.c
curve25519.c: In function 'table_select':
curve25519.c:3323: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type
curve25519.c:3324: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type
curve25519.c:3325: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type
curve25519.c:3326: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type
curve25519.c:3327: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type
curve25519.c:3328: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type
curve25519.c:3329: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type
curve25519.c:3330: warning: passing argument 2 of 'cmov' discards
qualifiers from pointer target type


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



More information about the openssl-dev mailing list