Re: build failure r240669

From: Ryan Stone <rysto32_at_gmail.com>
Date: Tue, 18 Sep 2012 15:43:11 -0400
On Tue, Sep 18, 2012 at 3:17 PM, Kim Culhan <w8hdkim_at_gmail.com> wrote:
> Ah right sorry about that, take 2:
>
> clang -pg  -O2 -pipe  -DTERMIOS -DANSI_SOURCE
> -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/
> usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto
> -I/usr/obj/usr/src/secure/lib/libcrypto -DOPE
> NSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN
> -DOPENSSL_IA32_SSE2 -DAES_ASM -DBSAE
> S_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
> -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_AS
> M -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM
> -I/usr/src/secure/lib/libcrypto/../../../crypto/op
> enssl/crypto/asn1
> -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp
> -I/usr/src/secure/li
> b/libcrypto/../../../crypto/openssl/crypto/modes -DNO_IDEA -std=gnu89
> -Qunused-arguments -fstack-protecto
> r -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
> -Wno-tautological-compare -Wno-unused-value -Wno
> -parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch
> -Wno-switch-enum -Wno-parentheses
> -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/pcy_tree.c
> -o pcy_tree.po
> /usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct
> nvme_controller_data *' to 'uint32
> _t *' (aka 'unsigned int *') increases required alignment from 1 to 4
> [-Werror,-Wcast-align]
>         p = (uint32_t *)cdata;
>             ^~~~~~~~~~~~~~~~~
> 1 error generated.
> *** [nvmecontrol.o] Error code 1
> 1 error
> *** [all] Error code 2
> 1 error
> *** [sbin.all__D] Error code 2

Fixed in r240671.
Received on Tue Sep 18 2012 - 17:43:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC