[libvirt] nss build failure on arm32
Martin Kletzander
mkletzan at redhat.com
Mon Mar 21 16:40:30 UTC 2016
On Mon, Mar 21, 2016 at 11:52:00AM -0400, Cole Robinson wrote:
>Just a note, I'm getting build failures with the nss module on Fedora 23 arm
>32bit:
>
This should be fixed by now with my series about alignment.
>nss/libvirt_nss.c: In function '_nss_libvirt_gethostbyname3_r':
>nss/libvirt_nss.c:325:17: error: cast increases required alignment of target
>type [-Werror=cast-align]
> r_aliases = (char **) buffer + idx;
> ^
>nss/libvirt_nss.c:336:19: error: cast increases required alignment of target
>type [-Werror=cast-align]
> r_addr_list = (char **) buffer + idx;
> ^
>nss/libvirt_nss.c: In function '_nss_libvirt_gethostbyname4_r':
>nss/libvirt_nss.c:427:21: error: cast increases required alignment of target
>type [-Werror=cast-align]
> r_tuple_first = (struct gaih_addrtuple*) (buffer + idx);
> ^
>nss/libvirt_nss.c:431:19: error: cast increases required alignment of target
>type [-Werror=cast-align]
> r_tuple = (struct gaih_addrtuple*) (buffer + idx);
> ^
>nss/libvirt_nss.c:435:29: error: cast increases required alignment of target
>type [-Werror=cast-align]
> r_tuple->next = (struct gaih_addrtuple*) ((char*) r_tuple +
>ALIGN(sizeof(struct gaih_addrtuple)));
>
>- Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160321/1113b9a4/attachment-0001.sig>
More information about the libvir-list
mailing list