Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 17:52:59 -0800 (PST)
From:      "Jeffrey Bouquet" <jbtakk@iherebuywisely.com>
To:        "Benjamin Kaduk" <kaduk@mit.edu>
Cc:        "current" <current@freebsd.org>
Subject:   Re: ISO image: where is the CLANG compiler?
Message-ID:  <E1cV7L1-0001Cr-3p@rmm6prod02.runbox.com>
In-Reply-To: <20170121224756.GT8460@kduck.kaduk.org>

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



On Sat, 21 Jan 2017 16:47:56 -0600, Benjamin Kaduk <kaduk@mit.edu> wrote:

> On Thu, Jan 19, 2017 at 07:38:30PM +0000, Glen Barber wrote:
> > 
> > Random thought:
> > 
> > Brought up out-of-band, can you try this from a memstick.img and your
> > already-built userland/kernel to do what you had originally tried to
> > install the system?
> > 
> >  # make -C /usr/src WITHOUT_SYSTEM_COMPILER=1 DESTDIR=/wherever installworld
> > 
> > I think this is why cc(1)/clang(1) is not being used from /usr/obj, and
> > you don't have a compiler to compile the compiler.
> 
> Sorry for jumping in late, and thanks for bringing this up -- I was surprised
> that we had gone so long without someone making the claim that a compiler
> should not be necessary for installworld/installkernel (as was my understanding).
> If indeed a compiler is necessary for those (perhaps only under certain
> circumstances such as those experienced by Oliver) it would be good to understand
> why.
> 
> -Ben
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


That may be a reason to develop the not-specific (sorry...) idea that installworld
should install to a small duplicate of  where it Does, and  complete, before the Actual
installworld so that if the latter cannot complete, a small rescue shell with rsync
embedded or an equivalent can copy the bare-minimum set of files over the 
mixture of new and old... which I have had to several times do more or less
piecemeal, and more often than not sufficed to bring the system back whole. 


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1cV7L1-0001Cr-3p>