In case anyone else is seeing this .. -------- Forwarded Message -------- Subject: Re: SVN r358655 breaks i386 buildworld :-( Date: Thu, 5 Mar 2020 09:49:01 -0500 From: Michael Butler <imb_at_protected-networks.net> To: Gleb Smirnoff <glebius_at_FreeBSD.org> On 3/4/20 10:00 PM, Michael Butler wrote: > On i386, I get this .. > > Building > /usr/obj/usr/src/i386.i386/rescue/rescue/usr/src/sbin/mount_nfs/mount_nfs.o > /usr/src/sbin/mount_nfs/mount_nfs.c:549:10: error: cast from 'char *' to > 'struct if_msghdr *' increases required alignment from 1 to 4 > [-Werror,-Wcast-align] > ifm = (struct if_msghdr *)buf; > ^~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. Not sure if it's the correct solution but I noted sbin/dhclient has a Makefile fix which disables this warning. Applying this works around the problem .. Index: sbin/mount_nfs/Makefile =================================================================== --- sbin/mount_nfs/Makefile (revision 358670) +++ sbin/mount_nfs/Makefile (working copy) _at__at_ -11,6 +11,8 _at__at_ UMNTALL= ${SRCTOP}/usr.sbin/rpc.umntall CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL} +NO_WCAST_ALIGN= yes + .PATH: ${MOUNT} ${UMNTALL} .include <bsd.prog.mk>Received on Thu Mar 05 2020 - 18:51:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC