Re: nss build failure on arm32

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

 



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

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]