buildworld broke in sbin/nvmecontrol; r240620 suspected

David Wolfskill david at catwhisker.org
Tue Sep 18 12:53:05 UTC 2012


This was on:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #681 240597M: Mon Sep 17 15:34:41 PDT 2012     root at d134.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY  i386

using clang as the C compiler:

...
===> sbin/nvmecontrol (all)
clang -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c /usr/src/sbin/nvmecontrol/nvmecontrol.c
/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

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120918/6643772a/attachment.pgp


More information about the freebsd-current mailing list