[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] nss build failure on arm32



Just a note, I'm getting build failures with the nss module on Fedora 23 arm
32bit:

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]