From owner-freebsd-arch Fri Oct 15 14:43: 7 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 699B214A26 for ; Fri, 15 Oct 1999 14:43:04 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id XAA07431 for ; Fri, 15 Oct 1999 23:43:02 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id XAA51226 for freebsd-arch@freebsd.org; Fri, 15 Oct 1999 23:43:01 +0200 (MET DST) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (Postfix) with ESMTP id 34FFD14A26 for ; Fri, 15 Oct 1999 14:42:49 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.3/8.9.1) id HAA78075; Sat, 16 Oct 1999 07:46:07 +1000 (EST) (envelope-from jb) Date: Sat, 16 Oct 1999 07:46:06 +1000 From: John Birrell To: "David O'Brien" Cc: arch@freebsd.org Subject: Re: make world issues Message-ID: <19991016074606.C67481@freebsd1.cimlogic.com.au> References: <380716A4.20961526@scc.nl> <19991015082059.C9753@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <19991015082059.C9753@dragon.nuxi.com>; from David O'Brien on Fri, Oct 15, 1999 at 08:20:59AM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Oct 15, 1999 at 08:20:59AM -0700, David O'Brien wrote: > > Known issues/problems: > > P1. the upgrade path is broken. > > P2. aout to elf seems to be broken too. > > P3. no cross compilation. > > P4. buildworld must be performed as root. > > P5. sys.mk pollution. > > P10. the compiler isn't built properly. The intergral libgcc needs half > of it build buy the compiler you are compiling the new compiler with, and > the second half by the compiler you just built. It is very hard to get > proper access to both compilers at the right places. IFAIK, this would > also affect cross compliation. I've found that cross-compiling is the easy bit. I build the cross-compilers as part of a host make world during which they never get executed. To build a cross-world, I just set MACHINE and MACHINE_ARCH and let sys.mk (more pollution 8-) check to see if these differ from what the kernel knows. If they differ, sys.mk sets CC etc to my cross-compiler and HOST_CC to cc. Then the make world uses NOTOOLS and DESTDIR. The few places in our tree where we build host tools in the obj tree during make world and execute them from there need simple makefile changes to use HOST_CC instead of CC. I don't think that cross-compilation helps solve the bootstrap/upgrade problem caused by the signal changes. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ john.birrell@opendirectory.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message