Cross buildworld on amd64 for i386 errors
Daniel Eischen
deischen at freebsd.org
Mon Jan 25 22:20:53 UTC 2016
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
More information about the freebsd-stable
mailing list