From owner-freebsd-stable@freebsd.org Mon Jan 25 22:20:53 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4199A46277 for ; Mon, 25 Jan 2016 22:20:53 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AEEC891 for ; Mon, 25 Jan 2016 22:20:53 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id u0PMKqR8052173 for ; Mon, 25 Jan 2016 17:20:52 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Mon, 25 Jan 2016 17:20:52 -0500 (EST) Date: Mon, 25 Jan 2016 17:20:51 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: freebsd-stable@freebsd.org Subject: Re: Cross buildworld on amd64 for i386 errors In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2016 22:20:53 -0000 On Mon, 25 Jan 2016, Daniel Eischen wrote: > > I'm trying to build an i386 buildworld on an amd64 system. > I'm at r294370. I just updated to r294737 and tried again without the -j8. > This is what I've tried so far: > > make TARGET_ARCH=i386 MAKEOBJDIRPREFIX=/opt/foo/obj.x86 -j8 buildworld > make TARGET=i386 MAKEOBJDIRPREFIX=/opt/foo/obj.x86 -j8 buildworld > > Neither of which work. They both result in the error below. What > is the standard procedure for cross-building i386 from amd64? This is where it stops now: MAKEOBJDIRPREFIX=/opt/foo/10-stable/src/rescue/rescue make -f rescue.mk exe cc -O2 -pipe -c /opt/foo/10-stable/src/bin/cp/utils.c -o /opt/foo/10-stable/src/bin/cp/utils.o /opt/foo/10-stable/src/bin/cp/utils.c:514:14: error: member reference base type 'void' is not a structure or union aclp = &acl->ats_acl; ~~~^ ~~~~~~~ /opt/foo/10-stable/src/bin/cp/utils.c:515:11: error: incomplete definition of type 'struct acl' if (aclp->acl_cnt != 0 && aclsetf(dest_dir, ~~~~^ /opt/foo/10-stable/src/bin/cp/utils.c:465:9: note: forward declaration of 'struct acl' struct acl *aclp; ^ 2 errors generated. *** Error code 1 Stop. make[5]: stopped in /opt/foo/10-stable/src/rescue/rescue *** Error code 1 Stop. make[4]: stopped in /opt/foo/10-stable/src/rescue/rescue *** Error code 1 Stop. make[3]: stopped in /opt/foo/10-stable/src/rescue *** Error code 1 Stop. make[2]: stopped in /opt/foo/10-stable/src *** Error code 1 About to rm -rf the obj directory and try again. -- DE