From owner-freebsd-current Sun Mar 31 19:39:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id EB41937B400 for ; Sun, 31 Mar 2002 19:39:34 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020401033934.DPIQ1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Mon, 1 Apr 2002 03:39:34 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g313dXA12002; Sun, 31 Mar 2002 19:39:33 -0800 (PST) (envelope-from cjc) Date: Sun, 31 Mar 2002 19:39:33 -0800 From: "Crist J. Clark" To: Marcel Moolenaar Cc: current@FreeBSD.ORG Subject: Re: Installing Cross Builds Message-ID: <20020331193932.K99214@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020329131017.W97841@blossom.cjclark.org> <20020401015731.GA43494@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020401015731.GA43494@athlon.pn.xcllnt.net>; from marcel@xcllnt.net on Sun, Mar 31, 2002 at 05:57:31PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 05:57:31PM -0800, Marcel Moolenaar wrote: > On Fri, Mar 29, 2002 at 01:10:17PM -0800, Crist J. Clark wrote: > > After reviewing the world Makefiles, it sure looks like FreeBSD does > > not support 'installworld' of a cross build? > > Running installworld on machine X, when you did a cross-build for > machine X on machine Y is broken. All other cases should work, > AFACT. > > The brokenness is directly caused by inconsistent setting of OBJTREE. > This is indirectly caused make release, for make release expects the > object tree to be under /usr/obj and not /usr/obj/${TARGET_ARCH}. Well, the more direct reason for the breakage is caused by the fact that the PATH during install is, ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games:${INSTALLTMP} Which is usually ${OBJTREE}${.CURDIR}/${MACHINE_ARCH}. But that directory doesn't exist. (Or is that what you are saying?) If you fix that, there is the same issue with ${OBJFORMAT_PATH}. Once you fix that, you have shared lib problems. (I've never quite figured out what ${INSTALLTMP} is even there for.) -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message