Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 03:40:13 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        current@FreeBSD.ORG, alpha@FreeBSD.ORG, Ruslan Ermilov <ru@FreeBSD.ORG>
Subject:   Re: cvs commit: src Makefile.inc1
Message-ID:  <XFMail.011025034013.jhb@FreeBSD.org>
In-Reply-To: <15320.21894.897857.606505@grasshopper.cs.duke.edu>

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

On 25-Oct-01 Andrew Gallatin wrote:
> 
> Ruslan Ermilov writes:
>  > +.if ${MACHINE_ARCH} == i386
>  > +.if exists(${.OBJDIR}/../../sys/boot/${MACHINE}/boot0/boot0)
>  > +BOOT0=    ${.OBJDIR}/../../sys/boot/${MACHINE}/boot0/boot0
>  > +.else
>  > +BOOT0=    /boot/boot0
>  > +.endif
> 
> But its failing at the depends stage.  At this stage, boot0 will not
> have been built yet:
> 
>>>> elf make world started on Thu Oct 25 13:26:14 EDT 2001
>>>> Rebuilding the temporary build tree
>>>> stage 1: bootstrap tools
>>>> stage 2: cleaning up the object tree
>>>> stage 2: rebuilding the object tree
>>>> stage 2: build tools
>>>> stage 3: cross tools
>>>> stage 4: populating
>>>> /usr/obj/i386/home/gallatin/current/src/alpha/usr/include
>>>> stage 4: building libraries
>>>> stage 4: make dependencies
> <kaboom!>
> 
> To confirm, I tried it with your patch & it still failed.
> 
> You should be able to duplicate this on your x86 by just mv'ing
> /boot/boot0 out of the way while you try a buildworld.

Yeah, this is a bit of a tricky problem.  Probably what should really happen,
is that sysinstall should read these files from /boot on the existing
filesystem, and then we just guarantee that they are present in the MFS root in
the boot floppies.  That is probably the best solution to the problem.

> Drew

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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