Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2016 17:20:51 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Cross buildworld on amd64 for i386 errors
Message-ID:  <Pine.GSO.4.64.1601251717330.7996@sea.ntplx.net>
In-Reply-To: <Pine.GSO.4.64.1601251646420.7996@sea.ntplx.net>
References:  <Pine.GSO.4.64.1601251646420.7996@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1601251717330.7996>