On Thu, 28 Oct 1999, Marcel Moolenaar wrote:
> Peter Jeremy wrote:
> >
> > >(/me wonders how many MORE times we are going to have to say this because
> > >of the signal changes...)
> >
> > A very large number I suspect.
> >
> > IMHO, the correct solution is to for the entire make world process to
> > be re-worked.
>
> That's what I'm currently doing. If I have a stripped down make process
> ready for public viewing, I'll let you all know. A thread on the subject
> can be found in the -arch archives.
>
As an interim hack, would the following patch, which verifies
kern.osreldate >= 400011, suffice?
Index: Makefile.inc0
===================================================================
RCS file: /home/ncvs/src/Makefile.inc0,v
retrieving revision 1.18
diff -u -r1.18 Makefile.inc0
--- Makefile.inc0 1999/08/28 01:35:58 1.18
+++ Makefile.inc0 1999/10/29 12:41:18
@@ -15,6 +15,11 @@
MAKEOBJDIRPREFIX?=/usr/obj
#
+# Check kern.osreldate to ensure kernel will support building world
+#
+OSRELDATE= `/sbin/sysctl -a | grep osreldate | awk '{ print $$2; }'`
+
+#
# Variables passed to make work better if they are set as environment
# variables instead of command line options.
#
@@ -106,6 +111,13 @@
# support if the current object format is elf on i386.
#
buildworld :
+ @if [ ${OSRELDATE} -lt "400011" ]; then \
+ echo; \
+ echo "The current kernel does not support building world. Please
+read"; \
+ echo "the 19990929 entry in ${.CURDIR}/UPDATING for more
+information."; \
+ echo; \
+ exit 1; \
+ fi
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message