Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 16:28:57 +0200
From:      Guido van Rooij <guido@gvr.org>
To:        freebsd-hackers@freebsd.org
Subject:   make buildworld not selfcontained?
Message-ID:  <20011022162857.A43242@gvr.gvr.org>

next in thread | raw e-mail | index | archive | help

I have a system that is built with CPUTYPE=p2
When I set CPUTYPE to pentium and do a buildworld, I cannot use the
obj tree to do an installworld on a pentium system. The reason being that
the tools in usr/obj/usr/src/i386 are apparently built with libraries
from the p2 system.
I think that is broken.

The reason seems to be that xinstall is built in the bootstrap-tools:
target.  But because it is used later on in installworld, it seems
that it should be rebuild later.  

There does not seem to be a real solution for this problem..
I am not sure if xinstall is needed druing a make buildworld, but if not,
the most easy would be to make it only in the installworld phase. But
that would break installing from readonly mounts.
Adding an explicit bootstrap-tools target to Makefile might also
solve it..

-Guido

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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