Received: from eggs.gnu.org ([2001:4830:134:3::10]:41025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ageUe-0002fV-GV for qemu-devel@nongnu.org; Thu, 17 Mar 2016 16:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ageUZ-0000GG-Fw for qemu-devel@nongnu.org; Thu, 17 Mar 2016 16:26:04 -0400 Received: from smtp.andrew.cmu.edu ([128.2.157.39]:36616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ageUZ-0000G6-B6 for qemu-devel@nongnu.org; Thu, 17 Mar 2016 16:25:59 -0400 Date: Thu, 17 Mar 2016 16:25:56 -0400 From: "Gabriel L. Somlo" Message-ID: <20160317202556.GD8489@HEDWIG.INI.CMU.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] commit 084a85e breaks build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Daniel, I get the error below when I try to build QEMU, and bisect claims it started with commit 084a85e (crypto: add support for the cast5-128 cipher algorithm). Sorry if this is already a known issue. Let me know if there's anything you'd like me to test. My command line is: ~/KVM-OSX/SCRATCH/qemu/configure --prefix=3D/home/somlo/KVM-OSX/SCRATCH -= -audio-drv-list=3Dpa --target-list=3Dx86_64-softmmu,i386-softmmu,aarch64-= softmmu,arm-softmmu; make install Thanks, --Gabriel ... CC crypto/cipher.o In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153:0: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c: In function =E2=80=98qcrypto_cipher_new=E2=80=99: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:229:13: error: implicit declaration of function =E2=80=98cast5_set_key=E2=80=99 [-Werror=3Dimplicit-function-declaration] cast5_set_key(ctx->ctx, nkey, key); ^ /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:229:13: error: nested extern declaration of =E2=80=98cast5_set_key=E2=80=99 [-Werror=3Dn= ested-externs] In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153:0: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c: In function =E2=80=98qcrypto_cipher_encrypt=E2=80=99: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:344:21: error: passing argument 3 of =E2=80=98xts_encrypt=E2=80=99 from incompatible poi= nter type [-Werror=3Dincompatible-pointer-types] ctx->alg_encrypt, ctx->alg_encrypt, ^ In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:22:0, from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153: /home/somlo/KVM-OSX/SCRATCH/qemu/include/crypto/xts.h:76:6: note: expected =E2=80=98void (*)(const void *, size_t, uint8_t *, const uint8_= t *) {aka void (*)(const void *, long unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 but argument is of type =E2=80=98void (*)(void= *, unsigned int, uint8_t *, const uint8_t *) {aka void (*)(void *, unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 void xts_encrypt(const void *datactx, ^ In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153:0: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:344:39: error: passing argument 4 of =E2=80=98xts_encrypt=E2=80=99 from incompatible poi= nter type [-Werror=3Dincompatible-pointer-types] ctx->alg_encrypt, ctx->alg_encrypt, ^ In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:22:0, from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153: /home/somlo/KVM-OSX/SCRATCH/qemu/include/crypto/xts.h:76:6: note: expected =E2=80=98void (*)(const void *, size_t, uint8_t *, const uint8_= t *) {aka void (*)(const void *, long unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 but argument is of type =E2=80=98void (*)(void= *, unsigned int, uint8_t *, const uint8_t *) {aka void (*)(void *, unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 void xts_encrypt(const void *datactx, ^ In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153:0: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c: In function =E2=80=98qcrypto_cipher_decrypt=E2=80=99: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:389:21: error: passing argument 3 of =E2=80=98xts_decrypt=E2=80=99 from incompatible poi= nter type [-Werror=3Dincompatible-pointer-types] ctx->alg_encrypt, ctx->alg_decrypt, ^ In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:22:0, from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153: /home/somlo/KVM-OSX/SCRATCH/qemu/include/crypto/xts.h:54:6: note: expected =E2=80=98void (*)(const void *, size_t, uint8_t *, const uint8_= t *) {aka void (*)(const void *, long unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 but argument is of type =E2=80=98void (*)(void= *, unsigned int, uint8_t *, const uint8_t *) {aka void (*)(void *, unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 void xts_decrypt(const void *datactx, ^ In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153:0: /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:389:39: error: passing argument 4 of =E2=80=98xts_decrypt=E2=80=99 from incompatible poi= nter type [-Werror=3Dincompatible-pointer-types] ctx->alg_encrypt, ctx->alg_decrypt, ^ In file included from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher-nettle.c:22:0, from /home/somlo/KVM-OSX/SCRATCH/qemu/crypto/cipher.c:153: /home/somlo/KVM-OSX/SCRATCH/qemu/include/crypto/xts.h:54:6: note: expected =E2=80=98void (*)(const void *, size_t, uint8_t *, const uint8_= t *) {aka void (*)(const void *, long unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 but argument is of type =E2=80=98void (*)(void= *, unsigned int, uint8_t *, const uint8_t *) {aka void (*)(void *, unsigned int, unsigned char *, const unsigned char *)}=E2=80=99 void xts_decrypt(const void *datactx, ^ cc1: all warnings being treated as errors /home/somlo/KVM-OSX/SCRATCH/qemu/rules.mak:57: recipe for target 'crypto/cipher.o' failed make: *** [crypto/cipher.o] Error 1