From owner-freebsd-current@freebsd.org Thu Mar 5 19:51:40 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99FFE24A2A7 for ; Thu, 5 Mar 2020 19:51:40 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48YLwp65y8z4WPs for ; Thu, 5 Mar 2020 19:51:38 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id A4CAE3476E for ; Thu, 5 Mar 2020 14:51:35 -0500 (EST) Subject: Fwd: SVN r358655 breaks i386 buildworld :-( References: <4f6bf95a-bb1b-24bc-b135-69013cfc0b9e@protected-networks.net> To: freebsd-current From: Michael Butler X-Forwarded-Message-Id: <4f6bf95a-bb1b-24bc-b135-69013cfc0b9e@protected-networks.net> Message-ID: <52e9a204-b72c-3a1a-5d83-a3220a145867@protected-networks.net> Date: Thu, 5 Mar 2020 14:51:35 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <4f6bf95a-bb1b-24bc-b135-69013cfc0b9e@protected-networks.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48YLwp65y8z4WPs X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.14 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; NEURAL_HAM_MEDIUM(-0.59)[-0.592,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[protected-networks.net:+]; DMARC_POLICY_ALLOW(-0.50)[protected-networks.net,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-3.55)[ip: (-9.47), ipnet: 2001:470::/32(-4.65), asn: 6939(-3.59), country: US(-0.05)]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2020 19:51:40 -0000 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 To: Gleb Smirnoff 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) @@ -11,6 +11,8 @@ UMNTALL= ${SRCTOP}/usr.sbin/rpc.umntall CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL} +NO_WCAST_ALIGN= yes + .PATH: ${MOUNT} ${UMNTALL} .include