Date: Mon, 25 Jan 2016 18:05:34 -0500 (EST) From: Daniel Eischen <deischen@freebsd.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: Cross buildworld on amd64 for i386 errors Message-ID: <Pine.GSO.4.64.1601251758550.7996@sea.ntplx.net> In-Reply-To: <CAG=rPVdcLt0Pdg-fn9E4NT=TtOF9iWrzUeWHW-Kcf64uLRFRaA@mail.gmail.com> References: <Pine.GSO.4.64.1601251646420.7996@sea.ntplx.net> <CAG=rPVdcLt0Pdg-fn9E4NT=TtOF9iWrzUeWHW-Kcf64uLRFRaA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Jan 2016, Craig Rodrigues wrote: > On Mon, Jan 25, 2016 at 1:55 PM, Daniel Eischen <deischen@freebsd.org> > 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=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? >> > > 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 performed > on an amd64 host. Currently, I'm just trying to test out the cross-build, but the final result is that I want to use nanobsd to create embedded images, all from amd64. Multiple people here want to be able to do that. I don't really want to have to setup a jail (with LDAP logins, cause that's what we use) or even an x86 box to do that. I thought even ARM and MIPS cross-builds worked, I didn't expect amd64->i386 problems. I think I will ask on -current, as that is also an option for us. -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1601251758550.7996>