Date: Tue, 26 Jan 2016 10:08:48 +0100 From: "Herbert J. Skuhra" <h.skuhra@gmail.com> To: Daniel Eischen <deischen@freebsd.org> Cc: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: Cross buildworld on amd64 for i386 errors Message-ID: <86twm0vhb3.wl-h.skuhra@gmail.com> In-Reply-To: <Pine.GSO.4.64.1601251818400.7996@sea.ntplx.net> References: <Pine.GSO.4.64.1601251646420.7996@sea.ntplx.net> <CAG=rPVdcLt0Pdg-fn9E4NT=TtOF9iWrzUeWHW-Kcf64uLRFRaA@mail.gmail.com> <Pine.GSO.4.64.1601251818400.7996@sea.ntplx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Jan 2016 00:20:18 +0100, Daniel Eischen <deischen@freebsd.org> wrote: > = > On Mon, 25 Jan 2016, Craig Rodrigues wrote: > = > > On Mon, Jan 25, 2016 at 1:55 PM, Daniel Eischen <deischen@freebsd.o= rg> > > wrote: > > = > >> = > >> I'm trying to build an i386 buildworld on an amd64 system. > >> I'm at r294370. > >> = > >> This is what I've tried so far: > >> = > >> make TARGET_ARCH=3Di386 MAKEOBJDIRPREFIX=3D/opt/foo/obj.x86 -j8 = buildworld > >> make TARGET=3Di386 MAKEOBJDIRPREFIX=3D/opt/foo/obj.x86 -j8 build= world > >> = > >> Neither of which work. They both result in the error below. What= > >> is the standard procedure for cross-building i386 from amd64? > >> = > > = > > It looks like you are not alone in encountering these problems. > > For this build set up by Li-Wen Hsu: > > https://jenkins.freebsd.org/job/FreeBSD_HEAD_i386 > > = > > he downloads this image > > http://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/10.2-RELEASE/= base.txz > > and then extracts that to create an i386 jail, where the build is p= erformed > > on an amd64 host. > = > I guess there was a real compilation bug in the version of > -stable that I first used. After updating from r294370 to > r294747, the problem seems to have been fixed. FYI, the > following worked: > = > make TARGET_ARCH=3Di386 -j4 buildworld From=20make.conf(5): CAVEATS Note, that MAKEOBJDIRPREFIX and MAKEOBJDIR are environment variabl= es and should not be set in make.conf or as command line arguments to mak= e(1), but in make's environment. -- Herbert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86twm0vhb3.wl-h.skuhra>